#include <rw/common/Serializable.hpp>
#include <Eigen/Eigen>
|
| rw |
| Deprecated namespace since 16/4-2020 for this class.
|
|
| rw::math |
| Matrices, vectors, configurations, and more.
|
|
| rw::common |
| Various utilities and definitions of general use.
|
|
| rw::common::serialization |
| provide generic handler interface for serialization purposes. To enable serialization of some class MyClass one could either inherit from Serializable or provide overloaded methods to
|
|
|
using | Vector3Dd = Vector3D< double > |
|
using | Vector3Df = Vector3D< float > |
|
|
template<> |
void | write (const rw::math::Vector3D< double > &sobject, rw::common::OutputArchive &oarchive, const std::string &id) |
|
template<> |
void | write (const rw::math::Vector3D< float > &sobject, rw::common::OutputArchive &oarchive, const std::string &id) |
|
template<> |
void | read (rw::math::Vector3D< double > &sobject, rw::common::InputArchive &iarchive, const std::string &id) |
|
template<> |
void | read (rw::math::Vector3D< float > &sobject, rw::common::InputArchive &iarchive, const std::string &id) |
|
template<class Archive , class T > |
void | serialize (Archive &archive, rw::math::Vector3D< T > &vector, const unsigned int version) |
| Boost serialization. More...
|
|
◆ serialize()
void serialize |
( |
Archive & |
archive, |
|
|
rw::math::Vector3D< T > & |
vector, |
|
|
const unsigned int |
version |
|
) |
| |
Boost serialization.
- Parameters
-
archive | [in] the boost archive to read from or write to. |
vector | [in/out] the vector to read/write. |
version | [in] class version (currently version 0). |