Go to the documentation of this file.
5 #ifndef COAL_SERIALIZATION_SERIALIZER_H
6 #define COAL_SERIALIZATION_SERIALIZER_H
11 namespace serialization {
53 const std::string& tag_name) {
60 const std::string& tag_name) {
84 static void saveToBuffer(
const T&
object, boost::asio::streambuf& container) {
92 #endif // ifndef COAL_SERIALIZATION_SERIALIZER_H
void loadFromBinary(T &object, const std::string &filename)
Loads an object from a binary file.
void loadFromString(T &object, const std::string &str)
Loads an object from a std::string.
static void saveToStringStream(const T &object, std::stringstream &ss)
Saves an object to a string stream.
static void loadFromStringStream(T &object, std::istringstream &is)
Loads an object from a stream string.
static void saveToXML(const T &object, const std::string &filename, const std::string &tag_name)
Saves an object as an XML file.
static void saveToBuffer(const T &object, boost::asio::streambuf &container)
Saves an object as a binary buffer.
static void loadFromBinary(T &object, const std::string &filename)
Loads a Derived object from an binary file.
static void loadFromText(T &object, const std::string &filename)
Loads an object from a text file.
static void loadFromBuffer(T &object, boost::asio::streambuf &container)
Loads an object from a binary buffer.
void loadFromText(T &object, const std::string &filename)
Loads an object from a TXT file.
static void saveToBinary(const T &object, const std::string &filename)
Saves a Derived object as an binary file.
void saveToXML(const T &object, const std::string &filename, const std::string &tag_name)
Saves an object inside a XML file.
static void loadFromXML(T &object, const std::string &filename, const std::string &tag_name)
Loads an object from an XML file.
static void saveToText(const T &object, const std::string &filename)
Saves an object as a text file.
void saveToText(const T &object, const std::string &filename)
Saves an object inside a TXT file.
void saveToStringStream(const T &object, std::stringstream &ss)
Saves an object inside a std::stringstream.
void saveToBinary(const T &object, const std::string &filename)
Saves an object inside a binary file.
void loadFromStringStream(T &object, std::istringstream &is)
Loads an object from a std::stringstream.
std::string saveToString(const T &object)
Saves an object inside a std::string.
void loadFromXML(T &object, const std::string &filename, const std::string &tag_name)
Loads an object from a XML file.
void saveToBuffer(const T &object, boost::asio::streambuf &buffer)
Saves an object to a binary buffer.
static std::string saveToString(const T &object)
Saves a Derived object to a string.
void loadFromBuffer(T &object, boost::asio::streambuf &buffer)
Loads an object from a binary buffer.
static void loadFromString(T &object, const std::string &str)
Loads an object from a string.
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:59