Represents a query to the db. More...
#include <metadata.h>

Public Member Functions | |
| void | append (const std::string &name, const std::string &val) |
| void | append (const std::string &name, const double val) |
| void | append (const std::string &name, const int val) |
| void | append (const std::string &name, const bool val) |
| void | appendGT (const std::string &name, const double val) |
| void | appendGT (const std::string &name, const int val) |
| void | appendGTE (const std::string &name, const double val) |
| void | appendGTE (const std::string &name, const int val) |
| void | appendLT (const std::string &name, const double val) |
| void | appendLT (const std::string &name, const int val) |
| void | appendLTE (const std::string &name, const double val) |
| void | appendLTE (const std::string &name, const int val) |
| void | appendRange (const std::string &name, const double lower, const double upper) |
| void | appendRange (const std::string &name, const int lower, const int upper) |
| void | appendRangeInclusive (const std::string &name, const double lower, const double upper) |
| void | appendRangeInclusive (const std::string &name, const int lower, const int upper) |
| MongoQuery () | |
| MongoQuery (const MongoQuery &other) | |
| MongoQuery (const BSONObj &other) | |
Public Member Functions inherited from warehouse_ros_mongo::WrappedBSON | |
| WrappedBSON () | |
| WrappedBSON (const WrappedBSON &other) | |
| WrappedBSON (const BSONObj &other) | |
| WrappedBSON (const std::string &json) | |
Public Member Functions inherited from warehouse_ros::Query | |
| void | append (const std::string &name, const char *val) |
| virtual | ~Query () |
Additional Inherited Members | |
Public Types inherited from warehouse_ros::Query | |
| typedef boost::shared_ptr< const Query > | ConstPtr |
| typedef boost::shared_ptr< Query > | Ptr |
Protected Member Functions inherited from warehouse_ros_mongo::WrappedBSON | |
| void | update () |
Protected Attributes inherited from warehouse_ros_mongo::WrappedBSON | |
| std::shared_ptr< BSONObjBuilder > | builder_ |
Represents a query to the db.
Usage: Query q("foo", 42); Query q2("bar", LT, 24); // bar less than 24 Templated so you can have different types of values
Or: q = Query().append("foo", 42).append("bar", LT, 24);
Definition at line 105 of file metadata.h.
|
inline |
Definition at line 108 of file metadata.h.
|
inline |
Definition at line 112 of file metadata.h.
|
inline |
Definition at line 116 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 120 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 126 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 132 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 138 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 168 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 174 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 180 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 186 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 144 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 150 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 156 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 162 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 192 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 198 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 204 of file metadata.h.
|
inlinevirtual |
Implements warehouse_ros::Query.
Definition at line 210 of file metadata.h.