29 #ifndef CDPL_CHEM_ATOMSSSRRINGSIZEMATCHEXPRESSION_HPP
30 #define CDPL_CHEM_ATOMSSSRRINGSIZEMATCHEXPRESSION_HPP
57 template <
typename MatchFunc>
73 ringSize(ring_size) {}
104 template <
typename MatchFunc>
Declaration of functions that operate on Chem::MolecularGraph instances.
Definition of class CDPL::Chem::MatchExpression.
Safe, type checked container for arbitrary data of variable type.
Definition: Any.hpp:60
Chem::MatchExpression that constrains target atoms by the size of the SSSR ring(s) containing them.
Definition: AtomSSSRRingSizeMatchExpression.hpp:59
AtomSSSRRingSizeMatchExpression(std::size_t ring_size)
Constructs an AtomSSSRRingSizeMatchExpression instance for the specified query ring size.
Definition: AtomSSSRRingSizeMatchExpression.hpp:72
std::shared_ptr< AtomSSSRRingSizeMatchExpression > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated AtomSSSRRingSizeMatchExpression i...
Definition: AtomSSSRRingSizeMatchExpression.hpp:65
bool operator()(const Atom &query_atom, const MolecularGraph &query_molgraph, const Atom &target_atom, const MolecularGraph &target_molgraph, const Base::Any &aux_data) const
Checks whether a ring in the SSSR of target_molgraph that contains target_atom matches the query ring...
Definition: AtomSSSRRingSizeMatchExpression.hpp:105
Abstract base class representing a chemical atom and its bonded neighborhood.
Definition: Atom.hpp:57
Data type for the storage of Chem::Fragment objects.
Definition: FragmentList.hpp:49
Concrete Chem::MolecularGraph implementation that stores references to a selectable subset of atoms a...
Definition: Fragment.hpp:57
bool containsAtom(const Atom &atom) const
Tells whether the specified atom is part of this fragment.
std::size_t getNumAtoms() const
Returns the number of atoms.
Generic boolean expression interface for the implementation of query/target object equivalence tests ...
Definition: MatchExpression.hpp:75
Abstract base class for representations of a chemical structure as a graph of bonded atoms.
Definition: MolecularGraph.hpp:57
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
CDPL_CHEM_API const FragmentList::SharedPointer & getSSSR(const MolecularGraph &molgraph)
Returns the Chem::MolecularGraphProperty::SSSR property of molgraph.
The namespace of the Chemical Data Processing Library.