Template Struct Serializable
Defined in File serializable.hpp
Inheritance Relationships
Derived Types
public pinocchio::DataTpl< ADScalar, Options >
(Template Struct DataTpl)public pinocchio::ModelTpl< ADScalar, Options >
(Template Struct ModelTpl)public pinocchio::ModelTpl< Scalar, Options, JointCollectionTpl >
(Template Struct ModelTpl)
Struct Documentation
-
template<class Derived>
struct Serializable Subclassed by pinocchio::DataTpl< ADScalar, Options >, pinocchio::ModelTpl< ADScalar, Options >, pinocchio::ModelTpl< Scalar, Options, JointCollectionTpl >
Public Functions
-
inline void loadFromText(const std::string &filename)
Loads a Derived object from a text file.
-
inline void saveToText(const std::string &filename) const
Saves a Derived object as a text file.
-
inline void loadFromStringStream(std::istringstream &is)
Loads a Derived object from a stream string.
-
inline void saveToStringStream(std::stringstream &ss) const
Saves a Derived object to a string stream.
-
inline void loadFromString(const std::string &str)
Loads a Derived object from a string.
-
inline std::string saveToString() const
Saves a Derived object to a string.
-
inline void loadFromXML(const std::string &filename, const std::string &tag_name)
Loads a Derived object from an XML file.
-
inline void saveToXML(const std::string &filename, const std::string &tag_name) const
Saves a Derived object as an XML file.
-
inline void loadFromBinary(const std::string &filename)
Loads a Derived object from an binary file.
-
inline void saveToBinary(const std::string &filename) const
Saves a Derived object as an binary file.
-
inline void loadFromBinary(boost::asio::streambuf &container)
Loads a Derived object from a binary container.
-
inline void saveToBinary(boost::asio::streambuf &container) const
Saves a Derived object as a binary container.
-
inline void loadFromBinary(StaticBuffer &container)
Loads a Derived object from a static binary container.
-
inline void saveToBinary(StaticBuffer &container) const
Saves a Derived object as a static binary container.
-
inline void loadFromText(const std::string &filename)