#include <Serializable.h>
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 |