Class sdm::BoostSerializable

template <class SerializableClass>

Class List > sdm > BoostSerializable

  • #include <boost_serializable.hpp>

Public Functions

Type Name
BoostSerializable ()
void load (std::string filename)
Load a value function from a file. The extension of the file will indicate the type of formatage for reading ( .txt = text format, '.xml' = XML format, other = binary format).
void save (std::string filename)
Save a value function into a file. The extension of the file will indicate the type of formatage for recording ( .txt = text format, '.xml' = XML format, other = binary format).

Protected Functions

Type Name
void serialize (Archive & archive, const unsigned int version)

Public Functions Documentation

function BoostSerializable

inline sdm::BoostSerializable::BoostSerializable () 

function load

inline void sdm::BoostSerializable::load (
    std::string filename
) 

Parameters:

  • filename the filename

function save

inline void sdm::BoostSerializable::save (
    std::string filename
) 

Parameters:

  • filename the filename

Protected Functions Documentation

function serialize

template<class Archive class Archive>
inline void sdm::BoostSerializable::serialize (
    Archive & archive,
    const unsigned int version
) 

Friends Documentation

friend access

friend class sdm::BoostSerializable::access () 

The documentation for this class was generated from the following file src/sdm/public/boost_serializable.hpp