NOTMatchExpression.
More...
#include <NOTMatchExpression.hpp>
|
| | NOTMatchExpression (const typename MatchExpression< ObjType, void >::SharedPointer &expr_ptr) |
| | Constructs a NOTMatchExpressionBase object that wraps the match expression instance specified by expr_ptr. More...
|
| |
| bool | operator() (const ObjType &query_obj, const ObjType &target_obj, const Base::Any &aux_data) const |
| | Performs an evaluation of the wrapped match expression for the given query and target objects and returns the inverted result. More...
|
| |
| bool | operator() (const ObjType &query_obj, const ObjType &target_obj, const AtomBondMapping &mapping, const Base::Any &aux_data) const |
| | Performs an evaluation of the wrapped match expression for the given query and target objects under consideration of the provided candidate atom/bond mapping and returns the inverted result. More...
|
| |
| bool | requiresAtomBondMapping () const |
| | Tells whether the wrapped match expression requires a reevaluation after a query to target atom/bond mapping candidate has been found. More...
|
| |
| virtual | ~MatchExpression () |
| | Virtual Destructor. More...
|
| |
template<typename ObjType>
class CDPL::Chem::NOTMatchExpression< ObjType, void >
NOTMatchExpression.
- Template Parameters
-
| ObjType | The type of the query/target objects for which the expression gets evaluated. |
◆ SharedPointer
template<typename ObjType >
A reference-counted smart pointer [SHPTR] for dynamically allocated NOTMatchExpression instances.
◆ NOTMatchExpression()
template<typename ObjType >
Constructs a NOTMatchExpressionBase object that wraps the match expression instance specified by expr_ptr.
- Parameters
-
◆ operator()() [1/2]
template<typename ObjType >
Performs an evaluation of the wrapped match expression for the given query and target objects and returns the inverted result.
- Parameters
-
| query_obj | The query object. |
| target_obj | The target object. |
| aux_data | Provides auxiliary information for the evaluation of the wrapped expression. |
- Returns
true if the wrapped match expression evaluates to false, and vice versa.
Reimplemented from CDPL::Chem::MatchExpression< ObjType, void >.
◆ operator()() [2/2]
template<typename ObjType >
Performs an evaluation of the wrapped match expression for the given query and target objects under consideration of the provided candidate atom/bond mapping and returns the inverted result.
- Parameters
-
| query_obj | The query object. |
| target_obj | The target object. |
| mapping | The current query to target atom/bond mapping candidate to evaluate. |
| aux_data | Provides auxiliary information for the evaluation of the wrapped expression. |
- Returns
true if the wrapped match expression evaluates to false, and vice versa.
Reimplemented from CDPL::Chem::MatchExpression< ObjType, void >.
◆ requiresAtomBondMapping()
template<typename ObjType >
Tells whether the wrapped match expression requires a reevaluation after a query to target atom/bond mapping candidate has been found.
- Returns
true if the expression needs to be evaluated again after a query/target mapping candidate has been found, and false otherwise.
Reimplemented from CDPL::Chem::MatchExpression< ObjType, void >.
The documentation for this class was generated from the following file: