iCub-main
|
Functions | |
yarp::os::Bottle & | operator<< (yarp::os::Bottle &out, int val) |
Helper functions for serialization in bottles for use in the learningMachine library. | |
yarp::os::Bottle & | operator<< (yarp::os::Bottle &out, double val) |
Pushes a double to the end of a Bottle using the insertion operator. | |
yarp::os::Bottle & | 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 & | 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 & | 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 &in, double &val) |
Pops a double from the end of a Bottle using the extraction operator. | |
yarp::os::Bottle & | 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 & | 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. | |
yarp::os::Bottle & | operator<< (yarp::os::Bottle &out, size_t val) |
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.
bot | a reference to the bottle |
M | a reference to the matrix |
Definition at line 48 of file Serialization.cpp.
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.
bot | a reference to the bottle |
v | a reference to the vector |
Definition at line 40 of file Serialization.cpp.
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.
bot | a reference to the bottle |
val | the double |
Definition at line 35 of file Serialization.cpp.
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.
v | a reference to the vector |
bot | the bottle Pushes a serialization of a matrix to the end of a Bottle. |
M | a reference to the matrix |
bot | the bottle Pops a deserialization of a vector from the end of a Bottle. |
v | a reference to the vector |
bot | the bottle Pops a deserialization of a matrix from the end of a Bottle. |
M | a reference to the matrix |
bot | the bottle Pushes an integer to the end of a Bottle using the insertion operator. |
bot | a reference to the bottle |
val | the integer |
Definition at line 25 of file Serialization.cpp.
yarp::os::Bottle & iCub::learningmachine::serialization::operator<< | ( | yarp::os::Bottle & | out, |
size_t | val | ||
) |
Definition at line 30 of file Serialization.cpp.
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.
bot | a reference to the bottle |
val | a reference to the double |
Definition at line 63 of file Serialization.cpp.
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.
bot | a reference to the bottle |
val | a reference to the integer |
Definition at line 58 of file Serialization.cpp.
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.
bot | a reference to the bottle |
M | a reference to the matrix |
Definition at line 78 of file Serialization.cpp.
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.
bot | a reference to the bottle |
v | a reference to the vector |
Definition at line 68 of file Serialization.cpp.