Loading...
Searching...
No Matches
ndcurves::serialization::Serializable Struct Reference

#include <ndcurves/serialization/archive.hpp>

Inheritance diagram for ndcurves::serialization::Serializable:

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.
 

Member Function Documentation

◆ loadFromBinary()

template<class Derived >
void ndcurves::serialization::Serializable::loadFromBinary ( const std::string &  filename)
inline

Loads a Derived object from an binary file.

◆ loadFromText()

template<class Derived >
void ndcurves::serialization::Serializable::loadFromText ( const std::string &  filename)
inline

Loads a Derived object from a text file.

◆ loadFromXML()

template<class Derived >
void ndcurves::serialization::Serializable::loadFromXML ( const std::string &  filename,
const std::string &  tag_name 
)
inline

Loads a Derived object from an XML file.

◆ saveAsBinary()

template<class Derived >
void ndcurves::serialization::Serializable::saveAsBinary ( const std::string &  filename) const
inline

Saved a Derived object as an binary file.

◆ saveAsText()

template<class Derived >
void ndcurves::serialization::Serializable::saveAsText ( const std::string &  filename) const
inline

Saved a Derived object as a text file.

◆ saveAsXML()

template<class Derived >
void ndcurves::serialization::Serializable::saveAsXML ( const std::string &  filename,
const std::string &  tag_name 
) const
inline

Saved a Derived object as an XML file.


The documentation for this struct was generated from the following file: