![]() |
GridGain C++
|
Binary collection reader. More...
#include <binary_containers.h>
Public Member Functions | |
BinaryCollectionReader (impl::binary::BinaryReaderImpl *impl, int32_t id, const CollectionType::Type type, int32_t size) | |
Constructor. More... | |
bool | HasNext () |
Check whether next element is available for read. More... | |
T | GetNext () |
Read next element. More... | |
CollectionType::Type | GetType () |
Get collection type. More... | |
int32_t | GetSize () |
Get collection size. More... | |
bool | IsNull () |
Check whether collection is NULL. More... | |
Binary collection reader.
Can be used to read collection of values of the specific type one by one.
Use GetNext() method to read array value by value while HasNext() method returns true.
|
inline |
Constructor.
Internal call. Should not be used by user.
impl | Reader implementation. |
id | Identifier. |
type | Collection type. |
size | Collection size. |
|
inline |
|
inline |
Get collection size.
|
inline |
Get collection type.
|
inline |
Check whether next element is available for read.
|
inline |
Check whether collection is NULL.