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

Binary collection reader. More...

#include <binary_containers.h>

Public Member Functions

 BinaryCollectionReader (impl::binary::BinaryReaderImpl *impl, int32_t id, const CollectionType type, int32_t size)
 Constructor. More...
 
bool HasNext ()
 Check whether next element is available for read. More...
 
GetNext ()
 Read next element. More...
 
CollectionType GetType ()
 Get collection type. More...
 
int32_t GetSize ()
 Get collection size. More...
 
bool IsNull ()
 Whether collection is NULL.
 

Detailed Description

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

Binary collection reader.

Constructor & Destructor Documentation

template<typename T>
ignite::binary::BinaryCollectionReader< T >::BinaryCollectionReader ( impl::binary::BinaryReaderImpl *  impl,
int32_t  id,
const CollectionType  type,
int32_t  size 
)
inline

Constructor.

Parameters
implReader.
idIdentifier.
typeCollection type.
sizeCollection size.

Member Function Documentation

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

Read next element.

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

Get collection size.

Returns
Size or -1 if collection is NULL.
template<typename T>
CollectionType ignite::binary::BinaryCollectionReader< T >::GetType ( )
inline

Get collection type.

Returns
Type.
template<typename T>
bool ignite::binary::BinaryCollectionReader< 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: