19 #ifndef LM_SERIALIZATION__
20 #define LM_SERIALIZATION__
22 #include <yarp/sig/Matrix.h>
23 #include <yarp/sig/Vector.h>
24 #include <yarp/os/Bottle.h>
27 namespace learningmachine {
28 namespace serialization {
88 yarp::os::Bottle&
operator<<(yarp::os::Bottle &
out,
double val);
98 yarp::os::Bottle&
operator<<(yarp::os::Bottle &
out,
const yarp::sig::Vector& v);
108 yarp::os::Bottle&
operator<<(yarp::os::Bottle &
out,
const yarp::sig::Matrix& M);
117 yarp::os::Bottle&
operator>>(yarp::os::Bottle &in,
int& val);
126 yarp::os::Bottle&
operator>>(yarp::os::Bottle &in,
double& val);
136 yarp::os::Bottle&
operator>>(yarp::os::Bottle &in, yarp::sig::Vector& v);
146 yarp::os::Bottle&
operator>>(yarp::os::Bottle &in, yarp::sig::Matrix& M);
yarp::os::Bottle & operator>>(yarp::os::Bottle &in, int &val)
Pops an integer from the end of a Bottle using the extraction operator.
yarp::os::Bottle & operator<<(yarp::os::Bottle &out, int val)
Helper functions for serialization in bottles for use in the learningMachine library.
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.