mace::Serializable Class Reference

#include <Serializable.h>

Inheritance diagram for mace::Serializable:

Inheritance graph
[legend]
Collaboration diagram for mace::Serializable:

Collaboration graph
[legend]

List of all members.


Detailed Description

Objects which know how to serialize themselves.

Definition at line 271 of file Serializable.h.


Public Member Functions

virtual int deserialize (std::istream &in)=0 throw (SerializationException)
 Replace the current object value from the bytes read from in, returning the number of bytes read.
virtual void serialize (std::string &str) const =0
 Encode the current object at the end of str as a bytestring in a compact format (and which doesn't require delimiters to parse).
virtual std::string serializeStr () const
 Encode the current object as a bytestring in a compact, non-delimited format, and return it.
virtual void deserializeStr (const std::string &s) throw (SerializationException)
 Replace the current object value from the serialized object in s.
virtual int deserializeXML_RPC (std::istream &in) throw (SerializationException)
 deserialize this object from XML_RPC format from in
virtual void serializeXML_RPC (std::string &str) const throw (SerializationException)
 serialize this object onto the end of str in XML_RPC format

The documentation for this class was generated from the following files:

Generated on Sat Oct 4 21:30:43 2008 for Mace Library by  doxygen 1.5.5