Provides a mean of reading portable fields from a binary in form of java primitives arrays of java primitives , nested portable fields and array of portable fields.
More...
#include <PortableReader.h>
Provides a mean of reading portable fields from a binary in form of java primitives arrays of java primitives , nested portable fields and array of portable fields.
void hazelcast::client::serialization::PortableReader::end |
( |
| ) |
|
Internal Api.
Should not be called by end user.
ObjectDataInput & hazelcast::client::serialization::PortableReader::getRawDataInput |
( |
| ) |
|
bool hazelcast::client::serialization::PortableReader::readBoolean |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the boolean value read
- Exceptions
-
byte hazelcast::client::serialization::PortableReader::readByte |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the byte value read
- Exceptions
-
std::auto_ptr< std::vector< byte > > hazelcast::client::serialization::PortableReader::readByteArray |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the byte array value read
- Exceptions
-
char hazelcast::client::serialization::PortableReader::readChar |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the char value read
- Exceptions
-
std::auto_ptr< std::vector< char > > hazelcast::client::serialization::PortableReader::readCharArray |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the char array value read
- Exceptions
-
double hazelcast::client::serialization::PortableReader::readDouble |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the double value read
- Exceptions
-
std::auto_ptr< std::vector< double > > hazelcast::client::serialization::PortableReader::readDoubleArray |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the double array value read
- Exceptions
-
float hazelcast::client::serialization::PortableReader::readFloat |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the float value read
- Exceptions
-
std::auto_ptr< std::vector< float > > hazelcast::client::serialization::PortableReader::readFloatArray |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the float array value read
- Exceptions
-
int hazelcast::client::serialization::PortableReader::readInt |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the int value read
- Exceptions
-
std::auto_ptr< std::vector< int > > hazelcast::client::serialization::PortableReader::readIntArray |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the int array value read
- Exceptions
-
long hazelcast::client::serialization::PortableReader::readLong |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the long value read
- Exceptions
-
std::auto_ptr< std::vector< long > > hazelcast::client::serialization::PortableReader::readLongArray |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the long array value read
- Exceptions
-
template<typename T >
boost::shared_ptr<T> hazelcast::client::serialization::PortableReader::readPortable |
( |
const char * |
fieldName | ) |
|
|
inline |
- Template Parameters
-
type | of the portable class |
- Parameters
-
fieldName | name of the field |
- Returns
- the portable value read
- Exceptions
-
template<typename T >
std::vector<T> hazelcast::client::serialization::PortableReader::readPortableArray |
( |
const char * |
fieldName | ) |
|
|
inline |
- Template Parameters
-
type | of the portable class in array |
- Parameters
-
fieldName | name of the field |
- Returns
- the portable array value read
- Exceptions
-
short hazelcast::client::serialization::PortableReader::readShort |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the short value read
- Exceptions
-
std::auto_ptr< std::vector< short > > hazelcast::client::serialization::PortableReader::readShortArray |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the short array value read
- Exceptions
-
std::auto_ptr< std::string > hazelcast::client::serialization::PortableReader::readUTF |
( |
const char * |
fieldName | ) |
|
- Parameters
-
fieldName | name of the field |
- Returns
- the utf string value read
- Exceptions
-
The documentation for this class was generated from the following files:
- hazelcast/include/hazelcast/client/serialization/PortableReader.h
- hazelcast/src/hazelcast/client/serialization/PortableReader.cpp