29 #ifndef CDPL_CHEM_ORMATCHEXPRESSIONLIST_HPP
30 #define CDPL_CHEM_ORMATCHEXPRESSIONLIST_HPP
52 template <
typename ObjType1,
typename ObjType2 =
void>
73 bool operator()(
const ObjType1& query_obj1,
const ObjType2& query_obj2,
const ObjType1& target_obj1,
const ObjType2& target_obj2,
89 bool operator()(
const ObjType1& query_obj1,
const ObjType2& query_obj2,
const ObjType1& target_obj1,
const ObjType2& target_obj2,
93 const char* getClassName()
const
95 return "ORMatchExpressionList";
106 template <
typename ObjType>
125 bool operator()(
const ObjType& query_obj,
const ObjType& target_obj,
const Base::Any& aux_data)
const;
142 const char* getClassName()
const
144 return "ORMatchExpressionList";
153 template <
typename ObjType1,
typename ObjType2>
155 const ObjType1& target_obj1,
const ObjType2& target_obj2,
164 if ((*it)(query_obj1, query_obj2, target_obj1, target_obj2, data))
170 template <
typename ObjType1,
typename ObjType2>
172 const ObjType1& target_obj1,
const ObjType2& target_obj2,
181 if ((*it)(query_obj1, query_obj2, target_obj1, target_obj2, mapping, data))
188 template <
typename ObjType>
198 if ((*it)(query_obj, target_obj, data))
204 template <
typename ObjType>
214 if ((*it)(query_obj, target_obj, mapping, data))
Definition of class CDPL::Chem::MatchExpressionList.
Safe, type checked container for arbitrary data of variable type.
Definition: Any.hpp:60
Data structure for the common storage of related atom to atom and bond to bond mappings.
Definition: AtomBondMapping.hpp:55
Container for the storage and evaluation of logical match expression lists.
Definition: MatchExpressionList.hpp:61
std::shared_ptr< ORMatchExpressionList > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated ORMatchExpressionList instances.
Definition: ORMatchExpressionList.hpp:114
Chem::MatchExpressionList specialization that evaluates the stored expressions as a logical disjuncti...
Definition: ORMatchExpressionList.hpp:54
bool operator()(const ObjType1 &query_obj1, const ObjType2 &query_obj2, const ObjType1 &target_obj1, const ObjType2 &target_obj2, const Base::Any &aux_data) const
Performs an evaluation of the disjunctive expression list for the given query and target objects.
Definition: ORMatchExpressionList.hpp:154
std::shared_ptr< ORMatchExpressionList > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated ORMatchExpressionList instances.
Definition: ORMatchExpressionList.hpp:60
StorageType::const_iterator ConstElementIterator
A constant random access iterator used to iterate over the elements of the array.
Definition: Array.hpp:125
bool isEmpty() const
Tells whether the array is empty (getSize() == 0).
Definition: Array.hpp:716
ConstElementIterator getElementsBegin() const
Returns a constant iterator over the pointed-to objects that points to the beginning of the array.
Definition: IndirectArray.hpp:448
ConstElementIterator getElementsEnd() const
Returns a constant iterator over the pointed-to objects that points to the end of the array.
Definition: IndirectArray.hpp:462
The namespace of the Chemical Data Processing Library.