|
| OrQuery () |
|
bool | Match (const DataFuncArgType what) const override |
|
Query< MatchFuncArgType, DataFuncArgType, needsConversion > * | copy () const override |
| returns a copy of this Query
|
|
| Query () |
|
virtual | ~Query () |
|
void | setNegation (bool what) |
| sets whether or not we are negated
|
|
bool | getNegation () const |
| returns whether or not we are negated
|
|
void | setDescription (const std::string &descr) |
| sets our text description
|
|
void | setDescription (const char *descr) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const std::string & | getDescription () const |
| returns our text description
|
|
virtual std::string | getFullDescription () const |
| returns a fuller text description
|
|
void | setTypeLabel (const std::string &typ) |
| sets our type label
|
|
void | setTypeLabel (const char *typ) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const std::string & | getTypeLabel () const |
| returns our text label.
|
|
void | setMatchFunc (bool(*what)(MatchFuncArgType)) |
| sets our match function
|
|
void | setDataFunc (MatchFuncArgType(*what)(MatchFuncArgType)) |
| sets our data function
|
|
void | addChild (CHILD_TYPE child) |
| adds a child to our list of children
|
|
CHILD_VECT_CI | beginChildren () const |
| returns an iterator for the beginning of our child vector
|
|
CHILD_VECT_CI | endChildren () const |
| returns an iterator for the end of our child vector
|
|
virtual bool | Match (const MatchFuncArgType arg) const |
| returns whether or not we match the argument
|
|
template<class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType, bool needsConversion = false>
class Queries::OrQuery< MatchFuncArgType, DataFuncArgType, needsConversion >
a Query implementing AND: requires any child to be true
Definition at line 20 of file OrQuery.h.