Verified Commit 50be6947 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

serialization/serializable: extend methods

parent 3d7e7028
......@@ -34,6 +34,30 @@ namespace pinocchio
/// \brief Loads a Derived object from a stream string.
void loadFromStringStream(std::istringstream & is)
/// \brief Saves a Derived object to a string stream.
void saveToStringStream(std::stringstream & ss) const
/// \brief Loads a Derived object from a string.
void loadFromString(const std::string & str)
/// \brief Saves a Derived object to a string.
std::string saveToString() const
return pinocchio::serialization::saveToString(derived());
/// \brief Loads a Derived object from an XML file.
void loadFromXML(const std::string & filename,
const std::string & tag_name)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment