26 #ifndef ODVA_ETHERNETIP_SERIALIZATION_SERIALIZABLE_PRIMITIVE_H 27 #define ODVA_ETHERNETIP_SERIALIZATION_SERIALIZABLE_PRIMITIVE_H 34 namespace serialization {
110 #endif // ODVA_ETHERNETIP_SERIALIZATION_SERIALIZABLE_PRIMITIVE_H
virtual Reader & deserialize(Reader &reader)
virtual size_t getLength() const
virtual Reader & deserialize(Reader &reader, size_t length)
T data
Data as the primitive type to be serialized or deserialized.
SerializablePrimitive(const T &d)
virtual Writer & serialize(Writer &writer) const