oos::object_writer Class Referenceabstract

Base class for all object writer. More...

#include <object_atomizer.hpp>

Inherited by oos::generic_object_writer< attribute_counter >, oos::generic_object_writer< attribute_writer< T > >, and oos::generic_object_writer< T >.

Public Member Functions

virtual void write (const char *, char)=0
 Write a single character to the atomizer. More...
 
virtual void write (const char *, float)=0
 Write a float to the atomizer. More...
 
virtual void write (const char *, double)=0
 Write a double to the atomizer. More...
 
virtual void write (const char *, short)=0
 Write a short to the atomizer. More...
 
virtual void write (const char *, int)=0
 Write a int to the atomizer. More...
 
virtual void write (const char *, long)=0
 Write a long to the atomizer. More...
 
virtual void write (const char *, unsigned char)=0
 Write a unsigned char to the atomizer. More...
 
virtual void write (const char *, unsigned short)=0
 Write a unsigned short to the atomizer. More...
 
virtual void write (const char *, unsigned int)=0
 Write a unsigned to the atomizer. More...
 
virtual void write (const char *, unsigned long)=0
 Write a unsigned long to the atomizer. More...
 
virtual void write (const char *, bool)=0
 Write a bool to the atomizer. More...
 
virtual void write (const char *, const char *, int)=0
 Write a const char pointer to the atomizer. More...
 
virtual void write (const char *, const std::string &)=0
 Write a std::string to the atomizer. More...
 
virtual void write (const char *, const varchar_base &)=0
 Write a std::string to the atomizer. More...
 
virtual void write (const char *, const object_base_ptr &)=0
 Write a object_base_ptr to the atomizer. More...
 
virtual void write (const char *, const object_container &)=0
 Write a object_container to the atomizer. More...
 

Detailed Description

Base class for all object writer.

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

Member Function Documentation

void oos::object_writer::write ( const char *  id,
char  x 
)
pure virtual

Write a single character to the atomizer.

Write a single character to the atomizer identified by a unique name.

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

Write a float to the atomizer.

Write a float to the atomizer identified by a unique name.

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

Write a double to the atomizer.

Write a double to the atomizer identified by a unique name.

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

Write a short to the atomizer.

Write a short to the atomizer identified by a unique name.

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

Write a int to the atomizer.

Write a int to the atomizer identified by a unique name.

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

Write a long to the atomizer.

Write a long to the atomizer identified by a unique name.

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

Write a unsigned char to the atomizer.

Write a unsigned char to the atomizer identified by a unique name.

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

Write a unsigned short to the atomizer.

Write a unsigned short to the atomizer identified by a unique name.

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

Write a unsigned to the atomizer.

Write a unsigned int to the atomizer identified by a unique name.

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

Write a unsigned long to the atomizer.

Write a unsigned long to the atomizer identified by a unique name.

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

Write a bool to the atomizer.

Write a bool to the atomizer identified by a unique name.

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

Write a const char pointer to the atomizer.

Write a const char pointer to the atomizer identified by a unique name.

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

Write a std::string to the atomizer.

Write a std::string to the atomizer identified by a unique name.

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

Write a std::string to the atomizer.

Write a varchar to the atomizer identified by a unique name.

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

Write a object_base_ptr to the atomizer.

Write a object_base_ptr to the atomizer identified by a unique name.

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

Write a object_container to the atomizer.

Write a object_container to the atomizer identified by a unique name.

Parameters
idUnique id of the data.
xThe data to read from.

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