Namespaces | Functions
archive.hpp File Reference
#include "pinocchio/serialization/fwd.hpp"
#include "pinocchio/serialization/static-buffer.hpp"
#include <fstream>
#include <string>
#include <sstream>
#include <stdexcept>
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/xml_iarchive.hpp>
#include <boost/archive/xml_oarchive.hpp>
#include <boost/archive/binary_iarchive.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/asio/streambuf.hpp>
#include <boost/iostreams/device/array.hpp>
#include <boost/iostreams/stream.hpp>
#include <boost/iostreams/stream_buffer.hpp>
#include <boost/math/special_functions/nonfinite_num_facets.hpp>
Include dependency graph for archive.hpp:

Go to the source code of this file.

Namespaces

 pinocchio
 Main pinocchio namespace.
 
 pinocchio::serialization
 

Functions

template<typename T >
void pinocchio::serialization::loadFromBinary (T &object, const std::string &filename)
 Loads an object from a binary file. More...
 
template<typename T >
void pinocchio::serialization::loadFromBinary (T &object, boost::asio::streambuf &buffer)
 Loads an object from a binary buffer. More...
 
template<typename T >
void pinocchio::serialization::loadFromBinary (T &object, StaticBuffer &buffer)
 Loads an object from a static binary buffer. The buffer should be of a sufficient size. More...
 
template<typename T >
void pinocchio::serialization::loadFromString (T &object, const std::string &str)
 Loads an object from a std::string. More...
 
template<typename T >
void pinocchio::serialization::loadFromStringStream (T &object, std::istringstream &is)
 Loads an object from a std::stringstream. More...
 
template<typename T >
void pinocchio::serialization::loadFromText (T &object, const std::string &filename)
 Loads an object from a TXT file. More...
 
template<typename T >
void pinocchio::serialization::loadFromXML (T &object, const std::string &filename, const std::string &tag_name)
 Loads an object from a XML file. More...
 
template<typename T >
void pinocchio::serialization::saveToBinary (const T &object, const std::string &filename)
 Saves an object inside a binary file. More...
 
template<typename T >
void pinocchio::serialization::saveToBinary (const T &object, boost::asio::streambuf &buffer)
 Saves an object to a binary buffer. More...
 
template<typename T >
void pinocchio::serialization::saveToBinary (const T &object, StaticBuffer &buffer)
 Saves an object to a static binary buffer. The buffer should be of a sufficient size. More...
 
template<typename T >
std::string pinocchio::serialization::saveToString (const T &object)
 Saves an object inside a std::string. More...
 
template<typename T >
void pinocchio::serialization::saveToStringStream (const T &object, std::stringstream &ss)
 Saves an object inside a std::stringstream. More...
 
template<typename T >
void pinocchio::serialization::saveToText (const T &object, const std::string &filename)
 Saves an object inside a TXT file. More...
 
template<typename T >
void pinocchio::serialization::saveToXML (const T &object, const std::string &filename, const std::string &tag_name)
 Saves an object inside a XML file. More...
 


pinocchio
Author(s):
autogenerated on Fri Jun 23 2023 02:38:33