Red Hat Data Grid HotRod C++ Client
7.2.0
|
#include <Marshaller.h>
Public Member Functions | |
virtual void | marshall (const T &obj, std::vector< char > &buff)=0 |
virtual T * | unmarshall (const std::vector< char > &buff)=0 |
virtual | ~Marshaller () |
Static Public Member Functions | |
static void | destroy (Marshaller< T > *marshaller) |
Marshaller is the interface definition for a generic Marshaller
|
inlinevirtual |
|
inlinestatic |
|
pure virtual |
Given an object of type T populate the vector<char> with the equivalent representation.
obj | the initial object |
buff | the vector to be populated |
Implemented in infinispan::hotrod::BasicMarshaller< T >.
|
pure virtual |
Given vector<char> return a new type T object
buff | the vector representing the object |
Implemented in infinispan::hotrod::BasicMarshaller< T >.