Template Function coal::serialization::saveToText

Function Documentation

template<typename T>
inline void coal::serialization::saveToText(const T &object, const std::string &filename)

Saves an object inside a TXT file.

Template Parameters:

T – Type of the object to deserialize.

Parameters:
  • object[in] Object in which the loaded data are copied.

  • filename[in] Name of the file containing the serialized data.