|
Red Hat Data Grid HotRod C++ Client
7.2.0
|
#include <BasicMarshaller.h>
Public Member Functions | |
| void | marshall (const T &s, std::vector< char > &b) |
| T * | unmarshall (const std::vector< char > &b) |
Public Member Functions inherited from infinispan::hotrod::Marshaller< T > | |
| virtual | ~Marshaller () |
Additional Inherited Members | |
Static Public Member Functions inherited from infinispan::hotrod::Marshaller< T > | |
| static void | destroy (Marshaller< T > *marshaller) |
A marshaller that works with very simple object types: all the trivially copiable object, plus a specialization for std::string.
|
inlinevirtual |
Given an object of type T populate the vector<char> with the equivalent representation.
| obj | the initial object |
| buff | the vector to be populated |
Implements infinispan::hotrod::Marshaller< T >.
|
inlinevirtual |
Given vector<char> return a new type T object
| buff | the vector representing the object |
Implements infinispan::hotrod::Marshaller< T >.
1.8.11