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>
27namespace learningmachine {
28namespace serialization {
88yarp::os::Bottle&
operator<<(yarp::os::Bottle &
out,
double val);
98yarp::os::Bottle&
operator<<(yarp::os::Bottle &
out,
const yarp::sig::Vector& v);
108yarp::os::Bottle&
operator<<(yarp::os::Bottle &
out,
const yarp::sig::Matrix& M);
117yarp::os::Bottle&
operator>>(yarp::os::Bottle &in,
int& val);
126yarp::os::Bottle&
operator>>(yarp::os::Bottle &in,
double& val);
136yarp::os::Bottle&
operator>>(yarp::os::Bottle &in, yarp::sig::Vector& v);
146yarp::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.