Represents a query to the db. More...
#include <metadata.h>
Public Types | |
typedef boost::shared_ptr < const Query > | ConstPtr |
typedef boost::shared_ptr< Query > | Ptr |
Public Member Functions | |
virtual void | append (const std::string &name, const std::string &val)=0 |
virtual void | append (const std::string &name, const double val)=0 |
virtual void | append (const std::string &name, const int val)=0 |
virtual void | append (const std::string &name, const bool val)=0 |
virtual void | appendGT (const std::string &name, const double val)=0 |
virtual void | appendGT (const std::string &name, const int val)=0 |
virtual void | appendGTE (const std::string &name, const double val)=0 |
virtual void | appendGTE (const std::string &name, const int val)=0 |
virtual void | appendLT (const std::string &name, const double val)=0 |
virtual void | appendLT (const std::string &name, const int val)=0 |
virtual void | appendLTE (const std::string &name, const double val)=0 |
virtual void | appendLTE (const std::string &name, const int val)=0 |
virtual void | appendRange (const std::string &name, const double lower, const double upper)=0 |
virtual void | appendRange (const std::string &name, const int lower, const int upper)=0 |
virtual void | appendRangeInclusive (const std::string &name, const double lower, const double upper)=0 |
virtual void | appendRangeInclusive (const std::string &name, const int lower, const int upper)=0 |
virtual | ~Query () |
Represents a query to the db.
Usage: q = Query().append("foo", 42).appendLT("bar", 24);
Definition at line 53 of file metadata.h.
typedef boost::shared_ptr<const Query> warehouse_ros::Query::ConstPtr |
Definition at line 57 of file metadata.h.
typedef boost::shared_ptr<Query> warehouse_ros::Query::Ptr |
Definition at line 56 of file metadata.h.
virtual warehouse_ros::Query::~Query | ( | ) | [inline, virtual] |
Definition at line 59 of file metadata.h.
virtual void warehouse_ros::Query::append | ( | const std::string & | name, |
const std::string & | val | ||
) | [pure virtual] |
virtual void warehouse_ros::Query::append | ( | const std::string & | name, |
const double | val | ||
) | [pure virtual] |
virtual void warehouse_ros::Query::append | ( | const std::string & | name, |
const int | val | ||
) | [pure virtual] |
virtual void warehouse_ros::Query::append | ( | const std::string & | name, |
const bool | val | ||
) | [pure virtual] |
virtual void warehouse_ros::Query::appendGT | ( | const std::string & | name, |
const double | val | ||
) | [pure virtual] |
virtual void warehouse_ros::Query::appendGT | ( | const std::string & | name, |
const int | val | ||
) | [pure virtual] |
virtual void warehouse_ros::Query::appendGTE | ( | const std::string & | name, |
const double | val | ||
) | [pure virtual] |
virtual void warehouse_ros::Query::appendGTE | ( | const std::string & | name, |
const int | val | ||
) | [pure virtual] |
virtual void warehouse_ros::Query::appendLT | ( | const std::string & | name, |
const double | val | ||
) | [pure virtual] |
virtual void warehouse_ros::Query::appendLT | ( | const std::string & | name, |
const int | val | ||
) | [pure virtual] |
virtual void warehouse_ros::Query::appendLTE | ( | const std::string & | name, |
const double | val | ||
) | [pure virtual] |
virtual void warehouse_ros::Query::appendLTE | ( | const std::string & | name, |
const int | val | ||
) | [pure virtual] |
virtual void warehouse_ros::Query::appendRange | ( | const std::string & | name, |
const double | lower, | ||
const double | upper | ||
) | [pure virtual] |
virtual void warehouse_ros::Query::appendRange | ( | const std::string & | name, |
const int | lower, | ||
const int | upper | ||
) | [pure virtual] |
virtual void warehouse_ros::Query::appendRangeInclusive | ( | const std::string & | name, |
const double | lower, | ||
const double | upper | ||
) | [pure virtual] |
virtual void warehouse_ros::Query::appendRangeInclusive | ( | const std::string & | name, |
const int | lower, | ||
const int | upper | ||
) | [pure virtual] |