Public Types | Public Member Functions | List of all members
warehouse_ros::Query Class Referenceabstract

Represents a query to the db. More...

#include <metadata.h>

Public Types

typedef boost::shared_ptr< const QueryConstPtr
 
typedef boost::shared_ptr< QueryPtr
 

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 ()
 

Detailed Description

Represents a query to the db.

Usage: q = Query().append("foo", 42).appendLT("bar", 24);

Definition at line 52 of file metadata.h.

Member Typedef Documentation

Definition at line 56 of file metadata.h.

Definition at line 55 of file metadata.h.

Constructor & Destructor Documentation

virtual warehouse_ros::Query::~Query ( )
inlinevirtual

Definition at line 58 of file metadata.h.

Member Function Documentation

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

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


warehouse_ros
Author(s): Bhaskara Marthi , Connor Brew
autogenerated on Fri Jun 7 2019 21:44:23