a Query implementing a set: arguments must one of a set of values More...
#include <SetQuery.h>
Public Types | |
| typedef std::set < MatchFuncArgType > | CONTAINER_TYPE |
Public Member Functions | |
| SetQuery () | |
| void | insert (const MatchFuncArgType what) |
insert an entry into our set | |
| void | clear () |
clears our set | |
| bool | Match (const DataFuncArgType what) const |
| returns whether or not we match the argument | |
| Query< MatchFuncArgType, DataFuncArgType, needsConversion > * | copy () const |
| returns a copy of this Query | |
| CONTAINER_TYPE::const_iterator | beginSet () const |
| CONTAINER_TYPE::const_iterator | endSet () const |
| unsigned int | size () const |
Protected Attributes | |
| CONTAINER_TYPE | d_set |
a Query implementing a set: arguments must one of a set of values
Definition at line 21 of file SetQuery.h.
| typedef std::set<MatchFuncArgType> Queries::SetQuery< MatchFuncArgType, DataFuncArgType, needsConversion >::CONTAINER_TYPE |
Definition at line 25 of file SetQuery.h.
| Queries::SetQuery< MatchFuncArgType, DataFuncArgType, needsConversion >::SetQuery | ( | ) | [inline] |
Definition at line 27 of file SetQuery.h.
| CONTAINER_TYPE::const_iterator Queries::SetQuery< MatchFuncArgType, DataFuncArgType, needsConversion >::beginSet | ( | ) | const [inline] |
Definition at line 63 of file SetQuery.h.
| void Queries::SetQuery< MatchFuncArgType, DataFuncArgType, needsConversion >::clear | ( | ) | [inline] |
clears our set
Definition at line 36 of file SetQuery.h.
| Query<MatchFuncArgType,DataFuncArgType,needsConversion>* Queries::SetQuery< MatchFuncArgType, DataFuncArgType, needsConversion >::copy | ( | ) | const [inline, virtual] |
returns a copy of this Query
Notes:
deleteing the result Reimplemented from Queries::Query< MatchFuncArgType, DataFuncArgType, needsConversion >.
Reimplemented in RDKit::RecursiveStructureQuery.
Definition at line 48 of file SetQuery.h.
| CONTAINER_TYPE::const_iterator Queries::SetQuery< MatchFuncArgType, DataFuncArgType, needsConversion >::endSet | ( | ) | const [inline] |
Definition at line 66 of file SetQuery.h.
| void Queries::SetQuery< MatchFuncArgType, DataFuncArgType, needsConversion >::insert | ( | const MatchFuncArgType | what | ) | [inline] |
insert an entry into our set
Definition at line 30 of file SetQuery.h.
Referenced by Queries::SetQuery< int, Atom const *, true >::copy(), and RDKit::RecursiveStructureQuery::copy().
| bool Queries::SetQuery< MatchFuncArgType, DataFuncArgType, needsConversion >::Match | ( | const DataFuncArgType | arg | ) | const [inline, virtual] |
returns whether or not we match the argument
Reimplemented from Queries::Query< MatchFuncArgType, DataFuncArgType, needsConversion >.
Definition at line 41 of file SetQuery.h.
| unsigned int Queries::SetQuery< MatchFuncArgType, DataFuncArgType, needsConversion >::size | ( | ) | const [inline] |
Definition at line 69 of file SetQuery.h.
CONTAINER_TYPE Queries::SetQuery< MatchFuncArgType, DataFuncArgType, needsConversion >::d_set [protected] |
Definition at line 71 of file SetQuery.h.
Referenced by Queries::SetQuery< int, Atom const *, true >::beginSet(), Queries::SetQuery< int, Atom const *, true >::clear(), Queries::SetQuery< int, Atom const *, true >::copy(), Queries::SetQuery< int, Atom const *, true >::endSet(), Queries::SetQuery< int, Atom const *, true >::insert(), Queries::SetQuery< int, Atom const *, true >::Match(), and Queries::SetQuery< int, Atom const *, true >::size().
1.7.1