Template Function proxsuite::serialization::saveToString

Function Documentation

template<typename T>
inline std::string proxsuite::serialization::saveToString(const T &object)

Saves an object inside a std::string.

Template Parameters:

T – Type of the object to deserialize.

Parameters:

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

Returns:

a string constaining the serialized content of the object.