#include <serializable.hpp>
Public Member Functions | |
void | loadFromBinary (boost::asio::streambuf &container) |
Loads a Derived object from a binary container. More... | |
void | loadFromBinary (const std::string &filename) |
Loads a Derived object from an binary file. More... | |
void | loadFromBinary (StaticBuffer &container) |
Loads a Derived object from a static binary container. More... | |
void | loadFromString (const std::string &str) |
Loads a Derived object from a string. More... | |
void | loadFromStringStream (std::istringstream &is) |
Loads a Derived object from a stream string. More... | |
void | loadFromText (const std::string &filename) |
Loads a Derived object from a text file. More... | |
void | loadFromXML (const std::string &filename, const std::string &tag_name) |
Loads a Derived object from an XML file. More... | |
void | saveToBinary (boost::asio::streambuf &container) const |
Saves a Derived object as a binary container. More... | |
void | saveToBinary (const std::string &filename) const |
Saves a Derived object as an binary file. More... | |
void | saveToBinary (StaticBuffer &container) const |
Saves a Derived object as a static binary container. More... | |
std::string | saveToString () const |
Saves a Derived object to a string. More... | |
void | saveToStringStream (std::stringstream &ss) const |
Saves a Derived object to a string stream. More... | |
void | saveToText (const std::string &filename) const |
Saves a Derived object as a text file. More... | |
void | saveToXML (const std::string &filename, const std::string &tag_name) const |
Saves a Derived object as an XML file. More... | |
Private Member Functions | |
Derived & | derived () |
const Derived & | derived () const |
Definition at line 16 of file serialization/serializable.hpp.
|
inlineprivate |
Definition at line 19 of file serialization/serializable.hpp.
|
inlineprivate |
Definition at line 23 of file serialization/serializable.hpp.
|
inline |
Loads a Derived object from a binary container.
Definition at line 90 of file serialization/serializable.hpp.
|
inline |
Loads a Derived object from an binary file.
Definition at line 78 of file serialization/serializable.hpp.
|
inline |
Loads a Derived object from a static binary container.
Definition at line 102 of file serialization/serializable.hpp.
|
inline |
Loads a Derived object from a string.
Definition at line 54 of file serialization/serializable.hpp.
|
inline |
Loads a Derived object from a stream string.
Definition at line 42 of file serialization/serializable.hpp.
|
inline |
Loads a Derived object from a text file.
Definition at line 30 of file serialization/serializable.hpp.
|
inline |
Loads a Derived object from an XML file.
Definition at line 66 of file serialization/serializable.hpp.
|
inline |
Saves a Derived object as a binary container.
Definition at line 96 of file serialization/serializable.hpp.
|
inline |
Saves a Derived object as an binary file.
Definition at line 84 of file serialization/serializable.hpp.
|
inline |
Saves a Derived object as a static binary container.
Definition at line 108 of file serialization/serializable.hpp.
|
inline |
Saves a Derived object to a string.
Definition at line 60 of file serialization/serializable.hpp.
|
inline |
Saves a Derived object to a string stream.
Definition at line 48 of file serialization/serializable.hpp.
|
inline |
Saves a Derived object as a text file.
Definition at line 36 of file serialization/serializable.hpp.
|
inline |
Saves a Derived object as an XML file.
Definition at line 72 of file serialization/serializable.hpp.