Derecho  0.9
Distributed systems toolkit for RDMA
Public Member Functions | Public Attributes | List of all members
TestSerialization Struct Reference
Inheritance diagram for TestSerialization:
Inheritance graph
[legend]
Collaboration diagram for TestSerialization:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 8 of file serialization-demo.cpp.

Constructor & Destructor Documentation

◆ TestSerialization()

TestSerialization::TestSerialization ( int  a,
long  b 
)
inline

Definition at line 12 of file serialization-demo.cpp.

Member Function Documentation

◆ DEFAULT_SERIALIZATION_SUPPORT()

TestSerialization::DEFAULT_SERIALIZATION_SUPPORT ( TestSerialization  ,
a  ,
b   
)

Member Data Documentation

◆ a

const int TestSerialization::a

Definition at line 9 of file serialization-demo.cpp.

◆ b

const long TestSerialization::b

Definition at line 10 of file serialization-demo.cpp.


The documentation for this struct was generated from the following file: