29 #ifndef CDPL_CHEM_ORMATCHEXPRESSIONLIST_HPP
30 #define CDPL_CHEM_ORMATCHEXPRESSIONLIST_HPP
49 template <
typename ObjType1,
typename ObjType2 =
void>
70 bool operator()(
const ObjType1& query_obj1,
const ObjType2& query_obj2,
const ObjType1& target_obj1,
const ObjType2& target_obj2,
86 bool operator()(
const ObjType1& query_obj1,
const ObjType2& query_obj2,
const ObjType1& target_obj1,
const ObjType2& target_obj2,
90 const char* getClassName()
const
92 return "ORMatchExpressionList";
100 template <
typename ObjType>
119 bool operator()(
const ObjType& query_obj,
const ObjType& target_obj,
const Base::Any& aux_data)
const;
136 const char* getClassName()
const
138 return "ORMatchExpressionList";
147 template <
typename ObjType1,
typename ObjType2>
149 const ObjType1& target_obj1,
const ObjType2& target_obj2,
158 if ((*it)(query_obj1, query_obj2, target_obj1, target_obj2, data))
164 template <
typename ObjType1,
typename ObjType2>
166 const ObjType1& target_obj1,
const ObjType2& target_obj2,
175 if ((*it)(query_obj1, query_obj2, target_obj1, target_obj2, mapping, data))
182 template <
typename ObjType>
192 if ((*it)(query_obj, target_obj, data))
198 template <
typename ObjType>
208 if ((*it)(query_obj, target_obj, mapping, data))
Definition of the class CDPL::Chem::MatchExpressionList.
A safe, type checked container for arbitrary data of variable type.
Definition: Any.hpp:59
A data structure for the common storage of related atom to atom and bond to bond mappings.
Definition: AtomBondMapping.hpp:55
A 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:108
ORMatchExpressionList.
Definition: ORMatchExpressionList.hpp:51
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:148
std::shared_ptr< ORMatchExpressionList > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated ORMatchExpressionList instances.
Definition: ORMatchExpressionList.hpp:57
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:708
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.