Public Member Functions
mongo_ros::Query Class Reference

Represents a query to the db. More...

#include <metadata.h>

Inheritance diagram for mongo_ros::Query:
Inheritance graph
[legend]

List of all members.

Public Member Functions

template<class T >
Queryappend (const std::string &name, const T &val)
template<class T , class S >
Queryappend (const std::string &name, const T &rel, const S &val)
 Query ()
 Query (const Query &other)
template<class T >
 Query (const std::string &name, const T &val)
template<class T , class S >
 Query (const std::string &name, const S &rel, const T &val)

Detailed Description

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 107 of file metadata.h.


Constructor & Destructor Documentation

Definition at line 110 of file metadata.h.

mongo_ros::Query::Query ( const Query other) [inline]

Definition at line 113 of file metadata.h.

template<class T >
mongo_ros::Query::Query ( const std::string &  name,
const T &  val 
) [inline]

Definition at line 118 of file metadata.h.

template<class T , class S >
mongo_ros::Query::Query ( const std::string &  name,
const S &  rel,
const T &  val 
) [inline]

Definition at line 125 of file metadata.h.


Member Function Documentation

template<class T >
Query& mongo_ros::Query::append ( const std::string &  name,
const T &  val 
) [inline]

Definition at line 132 of file metadata.h.

template<class T , class S >
Query& mongo_ros::Query::append ( const std::string &  name,
const T &  rel,
const S &  val 
) [inline]

Definition at line 141 of file metadata.h.


The documentation for this class was generated from the following file:


warehouse_ros
Author(s): Bhaskara Marthi
autogenerated on Wed Aug 26 2015 16:44:56