#include <ndcurves/serialization/archive.hpp>
Public Member Functions | |
template<class Derived > | |
void | loadFromText (const std::string &filename) |
Loads a Derived object from a text file. | |
template<class Derived > | |
void | saveAsText (const std::string &filename) const |
Saved a Derived object as a text file. | |
template<class Derived > | |
void | loadFromXML (const std::string &filename, const std::string &tag_name) |
Loads a Derived object from an XML file. | |
template<class Derived > | |
void | saveAsXML (const std::string &filename, const std::string &tag_name) const |
Saved a Derived object as an XML file. | |
template<class Derived > | |
void | loadFromBinary (const std::string &filename) |
Loads a Derived object from an binary file. | |
template<class Derived > | |
void | saveAsBinary (const std::string &filename) const |
Saved a Derived object as an binary file. | |
Loads a Derived object from an binary file.
Loads a Derived object from a text file.
|
inline |
Loads a Derived object from an XML file.
|
inline |
Saved a Derived object as an binary file.
Saved a Derived object as a text file.
|
inline |
Saved a Derived object as an XML file.