1 #ifndef CARMA_DBMS_MULTICOMPONENTFILTER_H
2 #define CARMA_DBMS_MULTICOMPONENTFILTER_H
73 virtual std::string
toString(
const std::string& tableName =
"",
74 const std::string& columnNamePrepender =
"")
83 std::vector<const carma::dbms::Filter *>
getChildren()
const;
98 void getDescendants(std::vector<const carma::dbms::Filter* > *descendants)
109 (std::vector<const carma::dbms::OneComponentFilter* > *descendants)
116 virtual std::string
name()
const;
125 const Filter *child1_;
126 const Filter *child2_;
133 MultiComponentFilter(MultiComponentFilter& rhs);
140 #endif // CARMA_DBMS_MULTICOMPONENTFILTER_H
virtual std::string name() const
get the class name for log messages etc.
virtual std::string toString(const std::string &tableName="", const std::string &columnNamePrepender="") const
string representation of the filter.
std::vector< const carma::dbms::Filter * > getDescendants() const
Return all the descendents of this filter.
abstract base class to represent a simple one component filter
void getOneComponentFilterDescendants(std::vector< const carma::dbms::OneComponentFilter * > *descendants) const
get the OneComponentFilter descendants (leaf nodes) of this filter and put them in the supplied vecto...
abstract base class to represent an SQL query filter (part of a WHERE clause) .
~MultiComponentFilter()
destructor
std::vector< const carma::dbms::Filter * > getChildren() const
get the children of this filter.
Conjunction
describes how to combine two filters
represents an SQL query multi-component filter (part of a WHERE clause)