Template Function coal::serialization::loadFromString

Function Documentation

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

Loads an object from a std::string.

Template Parameters:

T – Type of the object to deserialize.

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

  • str[in] string constaining the serialized content of the object.