OpenDaVINCI  4.15.3
odcore::serialization::Deserializer Class Referenceabstract

#include <Deserializer.h>

Inheritance diagram for odcore::serialization::Deserializer:
Inheritance graph

Public Member Functions

 Deserializer ()
 
virtual ~Deserializer ()
 
virtual void deserializeDataFrom (istream &in)=0
 
virtual uint32_t readValue (istream &i, Serializable &v)=0
 
virtual uint32_t readValue (istream &i, bool &v)=0
 
virtual uint32_t readValue (istream &i, char &v)=0
 
virtual uint32_t readValue (istream &i, unsigned char &v)=0
 
virtual uint32_t readValue (istream &i, int8_t &v)=0
 
virtual uint32_t readValue (istream &i, int16_t &v)=0
 
virtual uint32_t readValue (istream &i, uint16_t &v)=0
 
virtual uint32_t readValue (istream &i, int32_t &v)=0
 
virtual uint32_t readValue (istream &i, uint32_t &v)=0
 
virtual uint32_t readValue (istream &i, int64_t &v)=0
 
virtual uint32_t readValue (istream &i, uint64_t &v)=0
 
virtual uint32_t readValue (istream &i, float &v)=0
 
virtual uint32_t readValue (istream &i, double &v)=0
 
virtual uint32_t readValue (istream &i, string &v)=0
 
virtual uint32_t readValue (istream &i, void *data, const uint32_t &size)=0
 
virtual void read (const uint32_t &id, Serializable &s)=0
 
virtual void read (const uint32_t &id, bool &b)=0
 
virtual void read (const uint32_t &id, char &c)=0
 
virtual void read (const uint32_t &id, unsigned char &uc)=0
 
virtual void read (const uint32_t &id, int8_t &i)=0
 
virtual void read (const uint32_t &id, int16_t &i)=0
 
virtual void read (const uint32_t &id, uint16_t &ui)=0
 
virtual void read (const uint32_t &id, int32_t &i)=0
 
virtual void read (const uint32_t &id, uint32_t &ui)=0
 
virtual void read (const uint32_t &id, int64_t &i)=0
 
virtual void read (const uint32_t &id, uint64_t &ui)=0
 
virtual void read (const uint32_t &id, float &f)=0
 
virtual void read (const uint32_t &id, double &d)=0
 
virtual void read (const uint32_t &id, string &s)=0
 
virtual void read (const uint32_t &id, void *data, const uint32_t &size)=0
 
virtual void read (const uint32_t &id, const string &longName, const string &shortName, Serializable &s)=0
 
virtual void read (const uint32_t &id, const string &longName, const string &shortName, bool &b)=0
 
virtual void read (const uint32_t &id, const string &longName, const string &shortName, char &c)=0
 
virtual void read (const uint32_t &id, const string &longName, const string &shortName, unsigned char &uc)=0
 
virtual void read (const uint32_t &id, const string &longName, const string &shortName, int8_t &i)=0
 
virtual void read (const uint32_t &id, const string &longName, const string &shortName, int16_t &i)=0
 
virtual void read (const uint32_t &id, const string &longName, const string &shortName, uint16_t &ui)=0
 
virtual void read (const uint32_t &id, const string &longName, const string &shortName, int32_t &i)=0
 
virtual void read (const uint32_t &id, const string &longName, const string &shortName, uint32_t &ui)=0
 
virtual void read (const uint32_t &id, const string &longName, const string &shortName, int64_t &i)=0
 
virtual void read (const uint32_t &id, const string &longName, const string &shortName, uint64_t &ui)=0
 
virtual void read (const uint32_t &id, const string &longName, const string &shortName, float &f)=0
 
virtual void read (const uint32_t &id, const string &longName, const string &shortName, double &d)=0
 
virtual void read (const uint32_t &id, const string &longName, const string &shortName, string &s)=0
 
virtual void read (const uint32_t &id, const string &longName, const string &shortName, void *data, const uint32_t &size)=0
 

Static Public Member Functions

static float ntohf (float f)
 
static double ntohd (double d)
 
static uint64_t __ntohll (uint64_t ui)
 
static int64_t __ntohll (int64_t i)
 

Detailed Description

This class is the interface for any deserializer.

Serializable

Constructor & Destructor Documentation

odcore::serialization::Deserializer::Deserializer ( )
odcore::serialization::Deserializer::~Deserializer ( )
virtual

Member Function Documentation

uint64_t odcore::serialization::Deserializer::__ntohll ( uint64_t  ui)
static

This method converts a uint64_t from network byte order to host byte order.

Parameters
uiuint64_t to be converted.
Returns
ui in HBO.

References odcore::wrapper::IS_BIG_ENDIAN.

Referenced by odcore::serialization::LCMDeserializerVisitor::deserializeDataFrom(), and odcore::serialization::QueryableNetstringsDeserializerAACF::readValue().

int64_t odcore::serialization::Deserializer::__ntohll ( int64_t  i)
static

This method converts an int64_t from network byte order to host byte order.

Parameters
iint64_t to be converted.
Returns
i in HBO.

References odcore::wrapper::IS_BIG_ENDIAN.

virtual void odcore::serialization::Deserializer::deserializeDataFrom ( istream &  in)
pure virtual
double odcore::serialization::Deserializer::ntohd ( double  d)
static

This method converts a double from network byte order to host byte order.

Parameters
ddouble to be converted.
Returns
d in HBO.

References odcore::wrapper::IS_BIG_ENDIAN.

Referenced by odcore::serialization::QueryableNetstringsDeserializerAACF::readValue(), and odcore::serialization::QueryableNetstringsDeserializerABCF::readValue().

float odcore::serialization::Deserializer::ntohf ( float  f)
static

This method converts a float from network byte order to host byte order.

Parameters
ffloat to be converted.
Returns
f in HBO.

References odcore::wrapper::IS_BIG_ENDIAN.

Referenced by odcore::serialization::QueryableNetstringsDeserializerAACF::readValue(), and odcore::serialization::QueryableNetstringsDeserializerABCF::readValue().

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
Serializable s 
)
pure virtual
virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
bool &  b 
)
pure virtual

This method deserializes a bool.

Parameters
idIdentifier for the b to be deserialized.
bBool to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
char &  c 
)
pure virtual

This method deserializes a char.

Parameters
idIdentifier for the c to be deserialized.
cChar to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
unsigned char &  uc 
)
pure virtual

This method deserializes an unsigned char.

Parameters
idIdentifier for the uc to be deserialized.
ucUnsigned char to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
int8_t &  i 
)
pure virtual

This method deserializes an int.

Parameters
idIdentifier for the i to be deserialized.
iInt to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
int16_t &  i 
)
pure virtual

This method deserializes an int.

Parameters
idIdentifier for the i to be deserialized.
iInt to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
uint16_t &  ui 
)
pure virtual

This method deserializes an uint32_t.

Parameters
idIdentifier for the ui to be deserialized.
uiUnsigned int32_t to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
int32_t &  i 
)
pure virtual

This method deserializes an int.

Parameters
idIdentifier for the i to be deserialized.
iInt to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
uint32_t &  ui 
)
pure virtual

This method deserializes an uint32_t.

Parameters
idIdentifier for the ui to be deserialized.
uiUnsigned int32_t to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
int64_t &  i 
)
pure virtual

This method deserializes an int.

Parameters
idIdentifier for the i to be deserialized.
iInt to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
uint64_t &  ui 
)
pure virtual

This method deserializes an uint32_t.

Parameters
idIdentifier for the ui to be deserialized.
uiUnsigned int32_t to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
float &  f 
)
pure virtual

This method deserializes a float.

Parameters
idIdentifier for the f to be deserialized.
fFloat to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
double &  d 
)
pure virtual

This method deserializes a double.

Parameters
idIdentifier for the d to be deserialized.
dDouble to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
string &  s 
)
pure virtual

This method deserializes a string.

Parameters
idIdentifier for the s to be deserialized.
sString to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
void *  data,
const uint32_t &  size 
)
pure virtual

This method deserializes undefined data of length size.

Parameters
idIdentifier for the data to be deserialized.
dataData to be deserialized.
sizeLength of the data to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
const string &  longName,
const string &  shortName,
Serializable s 
)
pure virtual

This method deserializes a Serializable.

Parameters
idIdentifier for the value to be deserialized.
longNameLong string name of the field.
shortNameShort string name of the field.
sSerializable to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
const string &  longName,
const string &  shortName,
bool &  b 
)
pure virtual

This method deserializes a bool.

Parameters
idIdentifier for the value to be deserialized.
longNameLong string name of the field.
shortNameShort string name of the field.
bBool to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
const string &  longName,
const string &  shortName,
char &  c 
)
pure virtual

This method deserializes a char.

Parameters
idIdentifier for the value to be deserialized.
longNameLong string name of the field.
shortNameShort string name of the field.
cChar to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
const string &  longName,
const string &  shortName,
unsigned char &  uc 
)
pure virtual

This method deserializes an unsigned char.

Parameters
idIdentifier for the value to be deserialized.
longNameLong string name of the field.
shortNameShort string name of the field.
ucUnsigned char to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
const string &  longName,
const string &  shortName,
int8_t &  i 
)
pure virtual

This method deserializes an int.

Parameters
idIdentifier for the value to be deserialized.
longNameLong string name of the field.
shortNameShort string name of the field.
iInt to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
const string &  longName,
const string &  shortName,
int16_t &  i 
)
pure virtual

This method deserializes an int.

Parameters
idIdentifier for the value to be deserialized.
longNameLong string name of the field.
shortNameShort string name of the field.
iInt to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
const string &  longName,
const string &  shortName,
uint16_t &  ui 
)
pure virtual

This method deserializes an uint32_t.

Parameters
idIdentifier for the value to be deserialized.
longNameLong string name of the field.
shortNameShort string name of the field.
uiUnsigned int32_t to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
const string &  longName,
const string &  shortName,
int32_t &  i 
)
pure virtual

This method deserializes an int.

Parameters
idIdentifier for the value to be deserialized.
longNameLong string name of the field.
shortNameShort string name of the field.
iInt to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
const string &  longName,
const string &  shortName,
uint32_t &  ui 
)
pure virtual

This method deserializes an uint32_t.

Parameters
idIdentifier for the value to be deserialized.
longNameLong string name of the field.
shortNameShort string name of the field.
uiUnsigned int32_t to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
const string &  longName,
const string &  shortName,
int64_t &  i 
)
pure virtual

This method deserializes an int.

Parameters
idIdentifier for the value to be deserialized.
longNameLong string name of the field.
shortNameShort string name of the field.
iInt to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
const string &  longName,
const string &  shortName,
uint64_t &  ui 
)
pure virtual

This method deserializes an uint32_t.

Parameters
idIdentifier for the value to be deserialized.
longNameLong string name of the field.
shortNameShort string name of the field.
uiUnsigned int32_t to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
const string &  longName,
const string &  shortName,
float &  f 
)
pure virtual

This method deserializes a float.

Parameters
idIdentifier for the value to be deserialized.
longNameLong string name of the field.
shortNameShort string name of the field.
fFloat to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
const string &  longName,
const string &  shortName,
double &  d 
)
pure virtual

This method deserializes a double.

Parameters
idIdentifier for the value to be deserialized.
longNameLong string name of the field.
shortNameShort string name of the field.
dDouble to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
const string &  longName,
const string &  shortName,
string &  s 
)
pure virtual

This method deserializes a string.

Parameters
idIdentifier for the value to be deserialized.
longNameLong string name of the field.
shortNameShort string name of the field.
sString to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual void odcore::serialization::Deserializer::read ( const uint32_t &  id,
const string &  longName,
const string &  shortName,
void *  data,
const uint32_t &  size 
)
pure virtual

This method deserializes undefined data of length size.

Parameters
idIdentifier for the value to be deserialized.
longNameLong string name of the field.
shortNameShort string name of the field.
dataData to be deserialized.
sizeLength of the data to be deserialized.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual uint32_t odcore::serialization::Deserializer::readValue ( istream &  i,
Serializable v 
)
pure virtual

This method deserializes the raw value from the stream.

Parameters
iStream to be used for deserializing the value.
vValue to be deserialized.
Returns
Number of bytes read during the deserialization.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

Referenced by odcore::serialization::QueryableNetstringsDeserializer::readValue().

virtual uint32_t odcore::serialization::Deserializer::readValue ( istream &  i,
bool &  v 
)
pure virtual

This method deserializes the raw value from the stream.

Parameters
iStream to be used for deserializing the value.
vValue to be deserialized.
Returns
Number of bytes read during the deserialization.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual uint32_t odcore::serialization::Deserializer::readValue ( istream &  i,
char &  v 
)
pure virtual

This method deserializes the raw value from the stream.

Parameters
iStream to be used for deserializing the value.
vValue to be deserialized.
Returns
Number of bytes read during the deserialization.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual uint32_t odcore::serialization::Deserializer::readValue ( istream &  i,
unsigned char &  v 
)
pure virtual

This method deserializes the raw value from the stream.

Parameters
iStream to be used for deserializing the value.
vValue to be deserialized.
Returns
Number of bytes read during the deserialization.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual uint32_t odcore::serialization::Deserializer::readValue ( istream &  i,
int8_t &  v 
)
pure virtual

This method deserializes the raw value from the stream.

Parameters
iStream to be used for deserializing the value.
vValue to be deserialized.
Returns
Number of bytes read during the deserialization.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual uint32_t odcore::serialization::Deserializer::readValue ( istream &  i,
int16_t &  v 
)
pure virtual

This method deserializes the raw value from the stream.

Parameters
iStream to be used for deserializing the value.
vValue to be deserialized.
Returns
Number of bytes read during the deserialization.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual uint32_t odcore::serialization::Deserializer::readValue ( istream &  i,
uint16_t &  v 
)
pure virtual

This method deserializes the raw value from the stream.

Parameters
iStream to be used for deserializing the value.
vValue to be deserialized.
Returns
Number of bytes read during the deserialization.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual uint32_t odcore::serialization::Deserializer::readValue ( istream &  i,
int32_t &  v 
)
pure virtual

This method deserializes the raw value from the stream.

Parameters
iStream to be used for deserializing the value.
vValue to be deserialized.
Returns
Number of bytes read during the deserialization.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual uint32_t odcore::serialization::Deserializer::readValue ( istream &  i,
uint32_t &  v 
)
pure virtual

This method deserializes the raw value from the stream.

Parameters
iStream to be used for deserializing the value.
vValue to be deserialized.
Returns
Number of bytes read during the deserialization.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual uint32_t odcore::serialization::Deserializer::readValue ( istream &  i,
int64_t &  v 
)
pure virtual

This method deserializes the raw value from the stream.

Parameters
iStream to be used for deserializing the value.
vValue to be deserialized.
Returns
Number of bytes read during the deserialization.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual uint32_t odcore::serialization::Deserializer::readValue ( istream &  i,
uint64_t &  v 
)
pure virtual

This method deserializes the raw value from the stream.

Parameters
iStream to be used for deserializing the value.
vValue to be deserialized.
Returns
Number of bytes read during the deserialization.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual uint32_t odcore::serialization::Deserializer::readValue ( istream &  i,
float &  v 
)
pure virtual

This method deserializes the raw value from the stream.

Parameters
iStream to be used for deserializing the value.
vValue to be deserialized.
Returns
Number of bytes read during the deserialization.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual uint32_t odcore::serialization::Deserializer::readValue ( istream &  i,
double &  v 
)
pure virtual

This method deserializes the raw value from the stream.

Parameters
iStream to be used for deserializing the value.
vValue to be deserialized.
Returns
Number of bytes read during the deserialization.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual uint32_t odcore::serialization::Deserializer::readValue ( istream &  i,
string &  v 
)
pure virtual

This method deserializes the raw value from the stream.

Parameters
iStream to be used for deserializing the value.
vValue to be deserialized.
Returns
Number of bytes read during the deserialization.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.

virtual uint32_t odcore::serialization::Deserializer::readValue ( istream &  i,
void *  data,
const uint32_t &  size 
)
pure virtual

This method deserializes the raw value from the stream.

Parameters
iStream to be used for deserializing the value.
dataData to be deserialized.
sizeLength of the data to be deserialized.
Returns
Number of bytes read during the deserialization.

Implemented in odcore::serialization::ProtoDeserializer, odcore::serialization::QueryableNetstringsDeserializer, odcore::serialization::QueryableNetstringsDeserializerAACF, and odcore::serialization::QueryableNetstringsDeserializerABCF.