29 #ifndef CDPL_CHEM_MOLECULARGRAPHCOMPONENTGROUPINGMATCHEXPRESSION_HPP
30 #define CDPL_CHEM_MOLECULARGRAPHCOMPONENTGROUPINGMATCHEXPRESSION_HPP
60 typedef std::shared_ptr<MolecularGraphComponentGroupingMatchExpression>
SharedPointer;
112 typedef std::vector<const Fragment*> ComponentList;
115 mutable ComponentList compList;
116 mutable std::mutex mutex;
Definition of the preprocessor macro CDPL_CHEM_API.
#define CDPL_CHEM_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Definition of class CDPL::Chem::FragmentList.
Definition of class CDPL::Chem::MatchExpression.
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
std::shared_ptr< FragmentList > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated FragmentList instances.
Definition: FragmentList.hpp:53
Generic boolean expression interface for the implementation of query/target object equivalence tests ...
Definition: MatchExpression.hpp:75
Chem::MatchExpression that constrains the substructure mapping by the query's component-level groupin...
Definition: MolecularGraphComponentGroupingMatchExpression.hpp:53
std::shared_ptr< MolecularGraphComponentGroupingMatchExpression > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated MolecularGraphComponentGroupingMa...
Definition: MolecularGraphComponentGroupingMatchExpression.hpp:60
bool operator()(const MolecularGraph &query_molgraph, const MolecularGraph &target_molgraph, const AtomBondMapping &mapping, const Base::Any &aux_data) const
Checks whether the provided query to target atom/bond mapping candidate statisfies the component-leve...
MolecularGraphComponentGroupingMatchExpression(const MolecularGraphComponentGroupingMatchExpression &rhs)
Copy-constructs the expression from rhs (the per-evaluation working storage is left in an unspecified...
MolecularGraphComponentGroupingMatchExpression & operator=(const MolecularGraphComponentGroupingMatchExpression &rhs)
Copy-assigns the component-level grouping constraints from rhs.
MolecularGraphComponentGroupingMatchExpression(const FragmentList::SharedPointer &comp_grouping)
Constructs a MolecularGraphComponentGroupingMatchExpression instance for the specified component-leve...
bool requiresAtomBondMapping() const
Returns true to indicate that the expression requires a query to target atom/bond mapping candidate f...
Abstract base class for representations of a chemical structure as a graph of bonded atoms.
Definition: MolecularGraph.hpp:57
The namespace of the Chemical Data Processing Library.