Apache Ignite C++
Public Types | Static Public Member Functions | List of all members
ignite::binary::BinaryType< T * > Struct Template Reference

BinaryType template specialization for pointers. More...

#include <binary_type.h>

Public Types

typedef BinaryType< T > BinaryTypeDereferenced
 Actual type.
 

Static Public Member Functions

static int32_t GetTypeId ()
 Get binary object type ID. More...
 
static void GetTypeName (std::string &dst)
 Get binary object type name. More...
 
static int32_t GetFieldId (const char *name)
 Get binary object field ID. More...
 
static void Write (BinaryWriter &writer, T *const &obj)
 Write binary object. More...
 
static void Read (BinaryReader &reader, T *&dst)
 Read binary object. More...
 
static bool IsNull (T *const &obj)
 Check whether passed binary object should be interpreted as NULL. More...
 
static void GetNull (T *&dst)
 Get NULL value for the given binary type. More...
 

Detailed Description

template<typename T>
struct ignite::binary::BinaryType< T * >

BinaryType template specialization for pointers.

Member Function Documentation

◆ GetFieldId()

template<typename T >
static int32_t ignite::binary::BinaryType< T * >::GetFieldId ( const char *  name)
inlinestatic

Get binary object field ID.

Parameters
nameField name.
Returns
Field ID.

◆ GetNull()

template<typename T >
static void ignite::binary::BinaryType< T * >::GetNull ( T *&  dst)
inlinestatic

Get NULL value for the given binary type.

Parameters
dstNULL value for the type.

◆ GetTypeId()

template<typename T >
static int32_t ignite::binary::BinaryType< T * >::GetTypeId ( )
inlinestatic

Get binary object type ID.

Returns
Type ID.

◆ GetTypeName()

template<typename T >
static void ignite::binary::BinaryType< T * >::GetTypeName ( std::string &  dst)
inlinestatic

Get binary object type name.

Parameters
dstOutput type name.

◆ IsNull()

template<typename T >
static bool ignite::binary::BinaryType< T * >::IsNull ( T *const &  obj)
inlinestatic

Check whether passed binary object should be interpreted as NULL.

Parameters
objBinary object to test.
Returns
True if binary object should be interpreted as NULL.

◆ Read()

template<typename T >
static void ignite::binary::BinaryType< T * >::Read ( BinaryReader reader,
T *&  dst 
)
inlinestatic

Read binary object.

Parameters
readerReader.
dstOutput object.

◆ Write()

template<typename T >
static void ignite::binary::BinaryType< T * >::Write ( BinaryWriter writer,
T *const &  obj 
)
inlinestatic

Write binary object.

Parameters
writerWriter.
objObject.

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