Apache Ignite C++
Public Member Functions | List of all members
ignite::binary::BinaryArrayReader< T > Class Template Reference

Binary array reader. More...

#include <binary_containers.h>

Public Member Functions

 BinaryArrayReader (impl::binary::BinaryReaderImpl *impl, int32_t id, int32_t size)
 Constructor. More...
 
bool HasNext ()
 Check whether next element is available for read. More...
 
GetNext ()
 Read next element. More...
 
int32_t GetSize ()
 Get array size. More...
 
bool IsNull ()
 Whether array is NULL.
 

Detailed Description

template<typename T>
class ignite::binary::BinaryArrayReader< T >

Binary array reader.

Constructor & Destructor Documentation

template<typename T>
ignite::binary::BinaryArrayReader< T >::BinaryArrayReader ( impl::binary::BinaryReaderImpl *  impl,
int32_t  id,
int32_t  size 
)
inline

Constructor.

Parameters
implReader.
idIdentifier.
sizeArray size.

Member Function Documentation

template<typename T>
T ignite::binary::BinaryArrayReader< T >::GetNext ( )
inline

Read next element.

Returns
Next element.
template<typename T>
int32_t ignite::binary::BinaryArrayReader< T >::GetSize ( )
inline

Get array size.

Returns
Size or -1 if array is NULL.
template<typename T>
bool ignite::binary::BinaryArrayReader< T >::HasNext ( )
inline

Check whether next element is available for read.

Returns
True if available.

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