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 bool val)=0
 
void append (const std::string &name, const char *val)
 
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 std::string &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

◆ ConstPtr

Definition at line 56 of file metadata.h.

◆ Ptr

Definition at line 55 of file metadata.h.

Constructor & Destructor Documentation

◆ ~Query()

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

Definition at line 58 of file metadata.h.

Member Function Documentation

◆ append() [1/5]

virtual void warehouse_ros::Query::append ( const std::string &  name,
const bool  val 
)
pure virtual

◆ append() [2/5]

void warehouse_ros::Query::append ( const std::string &  name,
const char *  val 
)
inline

Definition at line 63 of file metadata.h.

◆ append() [3/5]

virtual void warehouse_ros::Query::append ( const std::string &  name,
const double  val 
)
pure virtual

◆ append() [4/5]

virtual void warehouse_ros::Query::append ( const std::string &  name,
const int  val 
)
pure virtual

◆ append() [5/5]

virtual void warehouse_ros::Query::append ( const std::string &  name,
const std::string &  val 
)
pure virtual

◆ appendGT() [1/2]

virtual void warehouse_ros::Query::appendGT ( const std::string &  name,
const double  val 
)
pure virtual

◆ appendGT() [2/2]

virtual void warehouse_ros::Query::appendGT ( const std::string &  name,
const int  val 
)
pure virtual

◆ appendGTE() [1/2]

virtual void warehouse_ros::Query::appendGTE ( const std::string &  name,
const double  val 
)
pure virtual

◆ appendGTE() [2/2]

virtual void warehouse_ros::Query::appendGTE ( const std::string &  name,
const int  val 
)
pure virtual

◆ appendLT() [1/2]

virtual void warehouse_ros::Query::appendLT ( const std::string &  name,
const double  val 
)
pure virtual

◆ appendLT() [2/2]

virtual void warehouse_ros::Query::appendLT ( const std::string &  name,
const int  val 
)
pure virtual

◆ appendLTE() [1/2]

virtual void warehouse_ros::Query::appendLTE ( const std::string &  name,
const double  val 
)
pure virtual

◆ appendLTE() [2/2]

virtual void warehouse_ros::Query::appendLTE ( const std::string &  name,
const int  val 
)
pure virtual

◆ appendRange() [1/2]

virtual void warehouse_ros::Query::appendRange ( const std::string &  name,
const double  lower,
const double  upper 
)
pure virtual

◆ appendRange() [2/2]

virtual void warehouse_ros::Query::appendRange ( const std::string &  name,
const int  lower,
const int  upper 
)
pure virtual

◆ appendRangeInclusive() [1/2]

virtual void warehouse_ros::Query::appendRangeInclusive ( const std::string &  name,
const double  lower,
const double  upper 
)
pure virtual

◆ appendRangeInclusive() [2/2]

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 Wed Oct 16 2024 02:42:07