oos::object_reader Class Referenceabstract

Base class for all object reader. More...

#include <object_atomizer.hpp>

Inherited by oos::generic_object_reader< attribute_reader< T > >, and oos::generic_object_reader< T >.

Public Member Functions

virtual void read (const char *, char &)=0
 Read a single character from the atomizer. More...
 
virtual void read (const char *, float &)=0
 Read a float from the atomizer. More...
 
virtual void read (const char *, double &)=0
 Read a double from the atomizer. More...
 
virtual void read (const char *, short &)=0
 Read an short from the atomizer. More...
 
virtual void read (const char *, int &)=0
 Read an integer from the atomizer. More...
 
virtual void read (const char *, long &)=0
 Read a long from the atomizer. More...
 
virtual void read (const char *, unsigned char &)=0
 Read an unsigned char from the atomizer. More...
 
virtual void read (const char *, unsigned short &)=0
 Read an unsigned short from the atomizer. More...
 
virtual void read (const char *, unsigned int &)=0
 Read an unsigned integer from the atomizer. More...
 
virtual void read (const char *, unsigned long &)=0
 Read an unsigned long from the atomizer. More...
 
virtual void read (const char *, bool &)=0
 Read a bool from the atomizer. More...
 
virtual void read (const char *, char *, int)=0
 Read a const char pointer from the atomizer. More...
 
virtual void read (const char *, std::string &)=0
 Read a std::string from the atomizer. More...
 
virtual void read (const char *, varchar_base &)=0
 Read a varchar from the atomizer. More...
 
virtual void read (const char *, object_base_ptr &)=0
 Read an object_base_ptr from the atomizer. More...
 
virtual void read (const char *, object_container &)=0
 Read an object_container from the atomizer. More...
 

Detailed Description

Base class for all object reader.

This class is the base class for all atomizer reader classes. It has interfaces to read data types (builtin and complex) identified by a name.

Member Function Documentation

void oos::object_reader::read ( const char *  id,
char &  x 
)
pure virtual

Read a single character from the atomizer.

Read a single character from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.
void oos::object_reader::read ( const char *  id,
float &  x 
)
pure virtual

Read a float from the atomizer.

Read a float from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.
void oos::object_reader::read ( const char *  id,
double &  x 
)
pure virtual

Read a double from the atomizer.

Read a double from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.
void oos::object_reader::read ( const char *  id,
short &  x 
)
pure virtual

Read an short from the atomizer.

Read an short from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.
void oos::object_reader::read ( const char *  id,
int &  x 
)
pure virtual

Read an integer from the atomizer.

Read an integer from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.
void oos::object_reader::read ( const char *  id,
long &  x 
)
pure virtual

Read a long from the atomizer.

Read a long from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.
void oos::object_reader::read ( const char *  id,
unsigned char &  x 
)
pure virtual

Read an unsigned char from the atomizer.

Read a unsigned char from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.
void oos::object_reader::read ( const char *  id,
unsigned short &  x 
)
pure virtual

Read an unsigned short from the atomizer.

Read a unsigned short from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.
void oos::object_reader::read ( const char *  id,
unsigned int &  x 
)
pure virtual

Read an unsigned integer from the atomizer.

Read a unsigned integer from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.
void oos::object_reader::read ( const char *  id,
unsigned long &  x 
)
pure virtual

Read an unsigned long from the atomizer.

Read a unsigned long from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.
void oos::object_reader::read ( const char *  id,
bool &  x 
)
pure virtual

Read a bool from the atomizer.

Read a bool from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.
void oos::object_reader::read ( const char *  id,
char *  x,
int  max_size 
)
pure virtual

Read a const char pointer from the atomizer.

Read a const char pointer from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.
max_sizeMaximum size of the character array
void oos::object_reader::read ( const char *  id,
std::string &  x 
)
pure virtual

Read a std::string from the atomizer.

Read a std::string from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.
void oos::object_reader::read ( const char *  id,
varchar_base &  x 
)
pure virtual

Read a varchar from the atomizer.

Read a varchar from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.
void oos::object_reader::read ( const char *  id,
object_base_ptr x 
)
pure virtual

Read an object_base_ptr from the atomizer.

Read an object_base_ptr from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.
void oos::object_reader::read ( const char *  id,
object_container &  x 
)
pure virtual

Read an object_container from the atomizer.

Read an object_container from the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to write to.

The documentation for this class was generated from the following file:
  • object/object_atomizer.hpp