39 #ifndef WAREHOUSE_ROS_METADATA_H 40 #define WAREHOUSE_ROS_METADATA_H 43 #include <boost/shared_ptr.hpp> 61 virtual void append(
const std::string& name,
const std::string& val) = 0;
63 void append(
const std::string& name,
const char* val)
65 append(name, std::string(val));
67 virtual void append(
const std::string& name,
const double val) = 0;
68 virtual void append(
const std::string& name,
const int val) = 0;
69 virtual void append(
const std::string& name,
const bool val) = 0;
70 virtual void appendLT(
const std::string& name,
const double val) = 0;
71 virtual void appendLT(
const std::string& name,
const int val) = 0;
72 virtual void appendLTE(
const std::string& name,
const double val) = 0;
73 virtual void appendLTE(
const std::string& name,
const int val) = 0;
74 virtual void appendGT(
const std::string& name,
const double val) = 0;
75 virtual void appendGT(
const std::string& name,
const int val) = 0;
76 virtual void appendGTE(
const std::string& name,
const double val) = 0;
77 virtual void appendGTE(
const std::string& name,
const int val) = 0;
78 virtual void appendRange(
const std::string& name,
const double lower,
const double upper) = 0;
79 virtual void appendRange(
const std::string& name,
const int lower,
const int upper) = 0;
80 virtual void appendRangeInclusive(
const std::string& name,
const double lower,
const double upper) = 0;
81 virtual void appendRangeInclusive(
const std::string& name,
const int lower,
const int upper) = 0;
97 virtual void append(
const std::string& name,
const std::string& val) = 0;
98 void append(
const std::string& name,
const char* val)
100 append(name, std::string(val));
102 virtual void append(
const std::string& name,
const double val) = 0;
103 virtual void append(
const std::string& name,
const int val) = 0;
104 virtual void append(
const std::string& name,
const bool val) = 0;
105 virtual std::string lookupString(
const std::string& name)
const = 0;
106 virtual double lookupDouble(
const std::string& name)
const = 0;
107 virtual int lookupInt(
const std::string& name)
const = 0;
108 virtual bool lookupBool(
const std::string& name)
const = 0;
109 virtual bool lookupField(
const std::string& name)
const = 0;
110 virtual std::set<std::string> lookupFieldNames()
const = 0;
115 #endif // include guard virtual void appendGTE(const std::string &name, const double val)=0
boost::shared_ptr< Query > Ptr
virtual void appendLTE(const std::string &name, const double val)=0
boost::shared_ptr< const Query > ConstPtr
void append(const std::string &name, const char *val)
virtual void appendLT(const std::string &name, const double val)=0
Represents a query to the db.
virtual void append(const std::string &name, const std::string &val)=0
virtual void appendRange(const std::string &name, const double lower, const double upper)=0
virtual void appendRangeInclusive(const std::string &name, const double lower, const double upper)=0
virtual void appendGT(const std::string &name, const double val)=0