iCub-main
Loading...
Searching...
No Matches
Namespaces | Functions
Serialization.h File Reference
#include <yarp/sig/Matrix.h>
#include <yarp/sig/Vector.h>
#include <yarp/os/Bottle.h>
+ Include dependency graph for Serialization.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  iCub
 This file contains the definition of unique IDs for the body parts and the skin parts of the robot.
 
namespace  iCub::learningmachine
 
namespace  iCub::learningmachine::serialization
 

Functions

yarp::os::Bottle & iCub::learningmachine::serialization::operator<< (yarp::os::Bottle &out, int val)
 Helper functions for serialization in bottles for use in the learningMachine library.
 
yarp::os::Bottle & iCub::learningmachine::serialization::operator<< (yarp::os::Bottle &out, double val)
 Pushes a double to the end of a Bottle using the insertion operator.
 
yarp::os::Bottle & iCub::learningmachine::serialization::operator<< (yarp::os::Bottle &out, const yarp::sig::Vector &v)
 Pushes a serialization of a vector to the end of a Bottle using the insertion operator.
 
yarp::os::Bottle & iCub::learningmachine::serialization::operator<< (yarp::os::Bottle &out, const yarp::sig::Matrix &M)
 Pushes a serialization of a matrix to the end of a Bottle using the insertion operator.
 
yarp::os::Bottle & iCub::learningmachine::serialization::operator>> (yarp::os::Bottle &in, int &val)
 Pops an integer from the end of a Bottle using the extraction operator.
 
yarp::os::Bottle & iCub::learningmachine::serialization::operator>> (yarp::os::Bottle &in, double &val)
 Pops a double from the end of a Bottle using the extraction operator.
 
yarp::os::Bottle & iCub::learningmachine::serialization::operator>> (yarp::os::Bottle &in, yarp::sig::Vector &v)
 Pops a deserialization of a vector from the end of a Bottle using the extraction operator.
 
yarp::os::Bottle & iCub::learningmachine::serialization::operator>> (yarp::os::Bottle &in, yarp::sig::Matrix &M)
 Pops a deserialization of a matrix from the end of a Bottle using the extraction operator.