|
Chemical Data Processing Library C++ API - Version 1.1.1
|
Go to the documentation of this file.
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))
214 #endif // CDPL_CHEM_ORMATCHEXPRESSIONLIST_HPP
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
ConstElementIterator getElementsBegin() const
Returns a constant iterator over the pointed-to objects that points to the beginning of the array.
Definition: IndirectArray.hpp:448
std::shared_ptr< ORMatchExpressionList > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated ORMatchExpressionList instances.
Definition: ORMatchExpressionList.hpp:57
A safe, type checked container for arbitrary data of variable type.
Definition: Any.hpp:59
std::shared_ptr< ORMatchExpressionList > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated ORMatchExpressionList instances.
Definition: ORMatchExpressionList.hpp:108
ConstElementIterator getElementsEnd() const
Returns a constant iterator over the pointed-to objects that points to the end of the array.
Definition: IndirectArray.hpp:462
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
ORMatchExpressionList.
Definition: ORMatchExpressionList.hpp:51
A container for the storage and evaluation of logical match expression lists.
Definition: MatchExpressionList.hpp:61
The namespace of the Chemical Data Processing Library.
Definition of the class CDPL::Chem::MatchExpressionList.
A data structure for the common storage of related atom to atom and bond to bond mappings.
Definition: AtomBondMapping.hpp:55