Template Function coal::serialization::loadFromText

Function Documentation

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

Loads an object from a TXT file.

Template Parameters:

T – Type of the object to deserialize.

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

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