#include <coal/serialization/serializer.h>
|
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 | saveToText (const T &object, const std::string &filename) |
| Saves an object as a text file. 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 | saveToStringStream (const T &object, std::stringstream &ss) |
| Saves an object to a string stream. More...
|
|
template<typename T > |
static void | loadFromString (T &object, const std::string &str) |
| Loads an object from a string. More...
|
|
template<typename T > |
static std::string | saveToString (const T &object) |
| Saves a Derived object to a string. 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 | saveToXML (const T &object, const std::string &filename, const std::string &tag_name) |
| Saves an object as an XML file. More...
|
|
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 | saveToBinary (const T &object, const std::string &filename) |
| Saves a Derived object as 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 | saveToBuffer (const T &object, boost::asio::streambuf &container) |
| Saves an object as a binary buffer. More...
|
|
◆ loadFromBinary()
template<typename T >
static void coal::serialization::Serializer::loadFromBinary |
( |
T & |
object, |
|
|
const std::string & |
filename |
|
) |
| |
|
inlinestatic |
Loads a Derived object from an binary file.
◆ loadFromBuffer()
template<typename T >
static void coal::serialization::Serializer::loadFromBuffer |
( |
T & |
object, |
|
|
boost::asio::streambuf & |
container |
|
) |
| |
|
inlinestatic |
Loads an object from a binary buffer.
◆ loadFromString()
template<typename T >
static void coal::serialization::Serializer::loadFromString |
( |
T & |
object, |
|
|
const std::string & |
str |
|
) |
| |
|
inlinestatic |
Loads an object from a string.
◆ loadFromStringStream()
template<typename T >
static void coal::serialization::Serializer::loadFromStringStream |
( |
T & |
object, |
|
|
std::istringstream & |
is |
|
) |
| |
|
inlinestatic |
Loads an object from a stream string.
◆ loadFromText()
template<typename T >
static void coal::serialization::Serializer::loadFromText |
( |
T & |
object, |
|
|
const std::string & |
filename |
|
) |
| |
|
inlinestatic |
Loads an object from a text file.
◆ loadFromXML()
template<typename T >
static void coal::serialization::Serializer::loadFromXML |
( |
T & |
object, |
|
|
const std::string & |
filename, |
|
|
const std::string & |
tag_name |
|
) |
| |
|
inlinestatic |
Loads an object from an XML file.
◆ saveToBinary()
template<typename T >
static void coal::serialization::Serializer::saveToBinary |
( |
const T & |
object, |
|
|
const std::string & |
filename |
|
) |
| |
|
inlinestatic |
Saves a Derived object as an binary file.
◆ saveToBuffer()
template<typename T >
static void coal::serialization::Serializer::saveToBuffer |
( |
const T & |
object, |
|
|
boost::asio::streambuf & |
container |
|
) |
| |
|
inlinestatic |
Saves an object as a binary buffer.
◆ saveToString()
template<typename T >
static std::string coal::serialization::Serializer::saveToString |
( |
const T & |
object | ) |
|
|
inlinestatic |
Saves a Derived object to a string.
◆ saveToStringStream()
template<typename T >
static void coal::serialization::Serializer::saveToStringStream |
( |
const T & |
object, |
|
|
std::stringstream & |
ss |
|
) |
| |
|
inlinestatic |
Saves an object to a string stream.
◆ saveToText()
template<typename T >
static void coal::serialization::Serializer::saveToText |
( |
const T & |
object, |
|
|
const std::string & |
filename |
|
) |
| |
|
inlinestatic |
Saves an object as a text file.
◆ saveToXML()
template<typename T >
static void coal::serialization::Serializer::saveToXML |
( |
const T & |
object, |
|
|
const std::string & |
filename, |
|
|
const std::string & |
tag_name |
|
) |
| |
|
inlinestatic |
Saves an object as an XML file.
The documentation for this struct was generated from the following file: