#include <serializer.h>
Static Public Member Functions | |
template<typename T > | |
static void | loadFromBinary (T &object, const std::string &filename) |
Loads a Derived object from an binary file. More... | |
template<typename T > | |
static void | loadFromBuffer (T &object, boost::asio::streambuf &container) |
Loads an object from a binary buffer. More... | |
template<typename T > | |
static void | loadFromString (T &object, const std::string &str) |
Loads an object from a string. More... | |
template<typename T > | |
static void | loadFromStringStream (T &object, std::istringstream &is) |
Loads an object from a stream string. More... | |
template<typename T > | |
static void | loadFromText (T &object, const std::string &filename) |
Loads an object from a text file. More... | |
template<typename T > | |
static void | loadFromXML (T &object, const std::string &filename, const std::string &tag_name) |
Loads an object from an XML file. More... | |
template<typename T > | |
static void | saveToBinary (const T &object, const std::string &filename) |
Saves a Derived object as an binary file. More... | |
template<typename T > | |
static void | saveToBuffer (const T &object, boost::asio::streambuf &container) |
Saves an object as a binary buffer. More... | |
template<typename T > | |
static std::string | saveToString (const T &object) |
Saves a Derived object to a string. More... | |
template<typename T > | |
static void | saveToStringStream (const T &object, std::stringstream &ss) |
Saves an object to a string stream. More... | |
template<typename T > | |
static void | saveToText (const T &object, const std::string &filename) |
Saves an object as a text file. More... | |
template<typename T > | |
static void | saveToXML (const T &object, const std::string &filename, const std::string &tag_name) |
Saves an object as an XML file. More... | |
Definition at line 13 of file coal/serialization/serializer.h.
|
inlinestatic |
Loads a Derived object from an binary file.
Definition at line 66 of file coal/serialization/serializer.h.
|
inlinestatic |
Loads an object from a binary buffer.
Definition at line 78 of file coal/serialization/serializer.h.
|
inlinestatic |
Loads an object from a string.
Definition at line 40 of file coal/serialization/serializer.h.
|
inlinestatic |
Loads an object from a stream string.
Definition at line 28 of file coal/serialization/serializer.h.
|
inlinestatic |
Loads an object from a text file.
Definition at line 16 of file coal/serialization/serializer.h.
|
inlinestatic |
Loads an object from an XML file.
Definition at line 52 of file coal/serialization/serializer.h.
|
inlinestatic |
Saves a Derived object as an binary file.
Definition at line 72 of file coal/serialization/serializer.h.
|
inlinestatic |
Saves an object as a binary buffer.
Definition at line 84 of file coal/serialization/serializer.h.
|
inlinestatic |
Saves a Derived object to a string.
Definition at line 46 of file coal/serialization/serializer.h.
|
inlinestatic |
Saves an object to a string stream.
Definition at line 34 of file coal/serialization/serializer.h.
|
inlinestatic |
Saves an object as a text file.
Definition at line 22 of file coal/serialization/serializer.h.
|
inlinestatic |
Saves an object as an XML file.
Definition at line 59 of file coal/serialization/serializer.h.