|
| | SetQuery () |
| |
| void | insert (const MatchFuncArgType what) |
| | insert an entry into our set
|
| |
| void | clear () |
| | clears our set
|
| |
| bool | Match (const DataFuncArgType what) const override |
| |
| Query< MatchFuncArgType, DataFuncArgType, needsConversion > * | copy () const override |
| | returns a copy of this Query
|
| |
| CONTAINER_TYPE::const_iterator | beginSet () const |
| |
| CONTAINER_TYPE::const_iterator | endSet () const |
| |
| unsigned int | size () const |
| |
| std::string | getFullDescription () const override |
| | returns a fuller text description
|
| |
| | 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
|
| |
| 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
|
| |
|
| bool(*)(MatchFuncArgType) | getMatchFunc () const |
| | returns our match function:
|
| |
| MatchFuncArgType(*)(MatchFuncArgType) | getDataFunc () const |
| | returns our data function:
|
| |
| MatchFuncArgType(* | d_dataFunc )(MatchFuncArgType) |
| |
| MatchFuncArgType(* | d_dataFuncSameType )(MatchFuncArgType) |
| |
| MatchFuncArgType | TypeConvert (MatchFuncArgType what, Int2Type< false >) const |
| | calls our dataFunc (if it's set) on what and returns the result, otherwise returns what
|
| |
| MatchFuncArgType | TypeConvert (MatchFuncArgType what, Int2Type< true >) const |
| |
template<class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType, bool needsConversion = false>
class Queries::SetQuery< MatchFuncArgType, DataFuncArgType, needsConversion >
a Query implementing a set: arguments must one of a set of values
Definition at line 25 of file SetQuery.h.