19 #ifndef __ICUBCLIENT_RELATION_H__ 20 #define __ICUBCLIENT_RELATION_H__ 53 std::string
object =
"none",
69 yarp::os::Bottle
asBottle(
bool ignoreID =
false)
const;
85 virtual std::string
toString()
const;
100 std::string
object()
const;
105 std::string
verb()
const;
void fromBottle(const yarp::os::Bottle &b)
Create a Relation from a Bottle.
std::string complement_manner() const
Get the complement of manner of the relation.
yarp::os::Bottle asBottle(bool ignoreID=false) const
Represent any entity that can be stored within the OPC.
int ID() const
Get the opc ID of the relation.
bool operator>(const Relation &b) const
virtual std::string toString() const
Return string representation of this Relation.
std::string subject() const
Get the name of the relation's subject.
std::string complement_time() const
Get the complement of time of the relation.
std::string m_complement_place
std::string complement_place() const
Get the complement of place of the relation.
An OPC client using the datastructures defined within the icub-client library.
std::string object() const
Get the name of the relation's object.
std::string m_complement_manner
bool operator==(const Relation &b) const
std::string verb() const
Get the type of the relation.
bool operator<(const Relation &b) const
Represent a relation between two entities.
yarp::os::Bottle asLightBottle() const
Return the relation as a bottle without the argument to "none".
std::string m_complement_time