tobicore
7.0.0
|
TOBI iC concrete XML serializer. More...
#include <tobiic/ICSerializerRapid.hpp>
Public Member Functions | |
ICSerializerRapid (ICMessage *const message=NULL, const bool indent=false, const bool declaration=false) | |
Constructor. | |
virtual | ~ICSerializerRapid (void) |
Destructor. | |
virtual std::string * | Serialize (std::string *buffer) |
Serializes to std::string. | |
virtual std::string * | Deserialize (std::string *const buffer) |
Deserializes from std::string. | |
Public Member Functions inherited from ICSerializer | |
ICSerializer (void) | |
Constructor. | |
ICSerializer (ICMessage *const message) | |
Constructor. | |
virtual | ~ICSerializer (void) |
Destructor. | |
ICSerializer * | SetMessage (ICMessage *const message) |
Sets the associated ICMessage. | |
virtual std::string | SerializeCp (void) |
Serializes to std::string. | |
virtual void | DeserializeCp (const std::string &buffer) |
Deserializes from std::string. | |
virtual char * | SerializeCh (char *buffer, const unsigned int bsize) |
Serializes to a char array. | |
virtual const char * | DeserializeCh (const char *buffer, const unsigned int bsize) |
Deserializes from a char array. |
Protected Attributes | |
bool | _indent |
Indentation flag. | |
bool | _declaration |
Declaration flag. |
Additional Inherited Members | |
Public Attributes inherited from ICSerializer | |
ICMessage * | message |
Pointer to the associated ICMessage. |
TOBI iC concrete XML serializer.
Serializes an ICMessage to XML using RapidXML.
Definition at line 33 of file ICSerializerRapid.hpp.
ICSerializerRapid::ICSerializerRapid | ( | ICMessage *const | message = NULL , |
const bool | indent = false , |
||
const bool | declaration = false |
||
) |
Constructor.
Definition at line 35 of file ICSerializerRapid.cpp.
|
virtual |
Deserializes from std::string.
Implements ICSerializer.
Definition at line 171 of file ICSerializerRapid.cpp.
|
virtual |
Serializes to std::string.
Implements ICSerializer.
Definition at line 45 of file ICSerializerRapid.cpp.