Public Member Functions | |
TestSerialization (int a, long b) | |
DEFAULT_SERIALIZATION_SUPPORT (TestSerialization, a, b) | |
Public Member Functions inherited from mutils::ByteRepresentable | |
virtual std::size_t | to_bytes (char *v) const =0 |
Write this class's marshalled representation into the array found at v. More... | |
virtual void | post_object (const std::function< void(char const *const, std::size_t)> &) const =0 |
Pass a pointer to a buffer containing this class's marshalled representation into the function f. More... | |
virtual std::size_t | bytes_size () const =0 |
the size of the marshalled representation of this object. More... | |
virtual | ~ByteRepresentable () |
Public Attributes | |
const int | a |
const long | b |
Definition at line 8 of file serialization-demo.cpp.
|
inline |
Definition at line 12 of file serialization-demo.cpp.
TestSerialization::DEFAULT_SERIALIZATION_SUPPORT | ( | TestSerialization | , |
a | , | ||
b | |||
) |
const int TestSerialization::a |
Definition at line 9 of file serialization-demo.cpp.
const long TestSerialization::b |
Definition at line 10 of file serialization-demo.cpp.