serializable.h
Go to the documentation of this file.
1 
26 #ifndef ODVA_ETHERNETIP_SERIALIZATION_SERIALIZABLE_H
27 #define ODVA_ETHERNETIP_SERIALIZATION_SERIALIZABLE_H
28 
31 
32 namespace eip {
33 namespace serialization {
34 
39 {
40 public:
45  virtual size_t getLength() const = 0;
46 
53  virtual Writer& serialize(Writer& writer) const = 0;
54 
62  virtual Reader& deserialize(Reader& reader, size_t length) = 0;
63 
70  virtual Reader& deserialize(Reader& reader) = 0;
71 };
72 
73 } // namespace serialization
74 } // namespace eip
75 #endif // ODVA_ETHERNETIP_SERIALIZATION_SERIALIZABLE_H
virtual Reader & deserialize(Reader &reader, size_t length)=0
Definition: connection.h:41
virtual size_t getLength() const =0
virtual Writer & serialize(Writer &writer) const =0


odva_ethernetip
Author(s): Kareem Shehata
autogenerated on Mon Jun 10 2019 14:00:16