![]() |
GridGain C++
|
Binary object. More...
#include <binary_object.h>
Public Member Functions | |
BinaryObject (const BinaryObject &other) | |
Copy constructor. More... | |
BinaryObject & | operator= (const BinaryObject &other) |
Assignment operator. More... | |
template<typename T > | |
T | Deserialize () const |
Deserialize object. More... | |
template<typename T > | |
T | GetField (const char *name) const |
Get field. More... | |
bool | HasField (const char *name) const |
Check if the binary object has the specified field. More... | |
template<> | |
BinaryObject | GetField (const char *name) const |
Friends | |
class | ignite::impl::binary::BinaryWriterImpl |
Binary object.
This is a thin wrapper over the memory area that contains serialized binary object. Provides method that allows deserialize object.
|
inline |
Copy constructor.
other | Another instance. |
|
inline |
Deserialize object.
IgniteError | if the object can not be deserialized to specified type. |
|
inline |
Get field.
IgniteError | if the there is no specified field or if it is not of the specified type. |
name | Field name. |
|
inline |
Check if the binary object has the specified field.
name | Field name. |
|
inline |
Assignment operator.
other | Another instance. |