29 #ifndef CDPL_CHEM_ANDMATCHEXPRESSIONLIST_HPP
30 #define CDPL_CHEM_ANDMATCHEXPRESSIONLIST_HPP
53 template <
typename ObjType1,
typename ObjType2 =
void>
74 bool operator()(
const ObjType1& query_obj1,
const ObjType2& query_obj2,
const ObjType1& target_obj1,
const ObjType2& target_obj2,
90 bool operator()(
const ObjType1& query_obj1,
const ObjType2& query_obj2,
const ObjType1& target_obj1,
const ObjType2& target_obj2,
94 const char* getClassName()
const
96 return "ANDMatchExpressionList";
108 template <
typename ObjType>
127 bool operator()(
const ObjType& query_obj,
const ObjType& target_obj,
const Base::Any& aux_data)
const;
144 const char* getClassName()
const
146 return "ANDMatchExpressionList";
155 template <
typename ObjType1,
typename ObjType2>
157 const ObjType1& target_obj1,
const ObjType2& target_obj2,
163 if (!(*it)(query_obj1, query_obj2, target_obj1, target_obj2, data))
169 template <
typename ObjType1,
typename ObjType2>
171 const ObjType1& target_obj1,
const ObjType2& target_obj2,
177 if (!(*it)(query_obj1, query_obj2, target_obj1, target_obj2, mapping, data))
184 template <
typename ObjType>
191 if (!(*it)(query_obj, target_obj, data))
197 template <
typename ObjType>
204 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
std::shared_ptr< ANDMatchExpressionList > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated ANDMatchExpressionList instances.
Definition: ANDMatchExpressionList.hpp:116
Chem::MatchExpressionList specialization that evaluates the stored expressions as a logical conjuncti...
Definition: ANDMatchExpressionList.hpp:55
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 conjunctive expression list for the given query and target objects.
Definition: ANDMatchExpressionList.hpp:156
std::shared_ptr< ANDMatchExpressionList > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated ANDMatchExpressionList instances.
Definition: ANDMatchExpressionList.hpp:61
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
StorageType::const_iterator ConstElementIterator
A constant random access iterator used to iterate over the elements of the array.
Definition: Array.hpp:125
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.