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;
62 virtual void append(
const std::string& name,
const double val) = 0;
63 virtual void append(
const std::string& name,
const int val) = 0;
64 virtual void append(
const std::string& name,
const bool val) = 0;
65 virtual void appendLT(
const std::string& name,
const double val) = 0;
66 virtual void appendLT(
const std::string& name,
const int val) = 0;
67 virtual void appendLTE(
const std::string& name,
const double val) = 0;
68 virtual void appendLTE(
const std::string& name,
const int val) = 0;
69 virtual void appendGT(
const std::string& name,
const double val) = 0;
70 virtual void appendGT(
const std::string& name,
const int val) = 0;
71 virtual void appendGTE(
const std::string& name,
const double val) = 0;
72 virtual void appendGTE(
const std::string& name,
const int val) = 0;
73 virtual void appendRange(
const std::string& name,
const double lower,
const double upper) = 0;
74 virtual void appendRange(
const std::string& name,
const int lower,
const int upper) = 0;
75 virtual void appendRangeInclusive(
const std::string& name,
const double lower,
const double upper) = 0;
76 virtual void appendRangeInclusive(
const std::string& name,
const int lower,
const int upper) = 0;
92 virtual void append(
const std::string& name,
const std::string& val) = 0;
93 virtual void append(
const std::string& name,
const double val) = 0;
94 virtual void append(
const std::string& name,
const int val) = 0;
95 virtual void append(
const std::string& name,
const bool val) = 0;
96 virtual std::string lookupString(
const std::string& name)
const = 0;
97 virtual double lookupDouble(
const std::string& name)
const = 0;
98 virtual int lookupInt(
const std::string& name)
const = 0;
99 virtual bool lookupBool(
const std::string& name)
const = 0;
100 virtual bool lookupField(
const std::string& name)
const = 0;
101 virtual std::set<std::string> lookupFieldNames()
const = 0;
106 #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
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