Apache Ignite C++
|
Binary type structure. More...
#include <binary_type.h>
Public Member Functions | |
int32_t | GetTypeId () |
Get binary object type ID. More... | |
std::string | GetTypeName () |
Get binary object type name. More... | |
int32_t | GetFieldId (const char *name) |
Get binary object field ID. More... | |
int32_t | GetHashCode (const T &obj) |
Get binary object hash code. More... | |
void | Write (BinaryWriter &writer, const T &obj) |
Write binary object. More... | |
T | Read (BinaryReader &reader) |
Read binary object. More... | |
bool | IsNull (const T &obj) |
Check whether passed binary object should be interpreted as NULL. More... | |
T | GetNull () |
Get NULL value for the given binary type. More... | |
Binary type structure.
Defines a set of functions required for type to be serialized and deserialized.
|
inline |
Get binary object field ID.
name | Field name. |
|
inline |
Get binary object hash code.
obj | Binary object. |
|
inline |
Get NULL value for the given binary type.
|
inline |
Get binary object type ID.
|
inline |
Get binary object type name.
|
inline |
Check whether passed binary object should be interpreted as NULL.
obj | Binary object to test. |
|
inline |
Read binary object.
reader | Reader. |
|
inline |
Write binary object.
writer | Writer. |
obj | Object. |