Template Function proxsuite::serialization::saveToStringStream

Function Documentation

template<typename T>
inline void proxsuite::serialization::saveToStringStream(const T &object, std::stringstream &ss)

Saves an object inside a std::stringstream.

Template Parameters:

T – Type of the object to deserialize.

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

  • ss[out] String stream constaining the serialized content of the object.