#include <serializable.hpp>
Public Member Functions | |
void | loadFromBinary (const std::string &filename) |
Loads a Derived object from an binary file. More... | |
void | loadFromBinary (boost::asio::streambuf &container) |
Loads a Derived object from a binary container. 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 (const std::string &filename) const |
Saves a Derived object as an binary file. More... | |
void | saveToBinary (boost::asio::streambuf &container) const |
Saves a Derived object as a binary container. 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 src/serialization/serializable.hpp.
|
inlineprivate |
Definition at line 20 of file src/serialization/serializable.hpp.
|
inlineprivate |
Definition at line 21 of file src/serialization/serializable.hpp.
|
inline |
Loads a Derived object from an binary file.
Definition at line 76 of file src/serialization/serializable.hpp.
|
inline |
Loads a Derived object from a binary container.
Definition at line 88 of file src/serialization/serializable.hpp.
|
inline |
Loads a Derived object from a static binary container.
Definition at line 100 of file src/serialization/serializable.hpp.
|
inline |
Loads a Derived object from a string.
Definition at line 50 of file src/serialization/serializable.hpp.
|
inline |
Loads a Derived object from a stream string.
Definition at line 38 of file src/serialization/serializable.hpp.
|
inline |
Loads a Derived object from a text file.
Definition at line 26 of file src/serialization/serializable.hpp.
|
inline |
Loads a Derived object from an XML file.
Definition at line 62 of file src/serialization/serializable.hpp.
|
inline |
Saves a Derived object as an binary file.
Definition at line 82 of file src/serialization/serializable.hpp.
|
inline |
Saves a Derived object as a binary container.
Definition at line 94 of file src/serialization/serializable.hpp.
|
inline |
Saves a Derived object as a static binary container.
Definition at line 106 of file src/serialization/serializable.hpp.
|
inline |
Saves a Derived object to a string.
Definition at line 56 of file src/serialization/serializable.hpp.
|
inline |
Saves a Derived object to a string stream.
Definition at line 44 of file src/serialization/serializable.hpp.
|
inline |
Saves a Derived object as a text file.
Definition at line 32 of file src/serialization/serializable.hpp.
|
inline |
Saves a Derived object as an XML file.
Definition at line 69 of file src/serialization/serializable.hpp.