29 #ifndef CDPL_CHEM_ATOMSSSRRINGSIZEMATCHEXPRESSION_HPP
30 #define CDPL_CHEM_ATOMSSSRRINGSIZEMATCHEXPRESSION_HPP
52 template <
typename MatchFunc>
68 ringSize(ring_size) {}
99 template <
typename MatchFunc>
Declaration of functions that operate on Chem::MolecularGraph instances.
Definition of the class CDPL::Chem::MatchExpression.
A safe, type checked container for arbitrary data of variable type.
Definition: Any.hpp:59
AtomSSSRRingSizeMatchExpression.
Definition: AtomSSSRRingSizeMatchExpression.hpp:54
AtomSSSRRingSizeMatchExpression(std::size_t ring_size)
Constructs an AtomSSSRRingSizeMatchExpression instance for the specified query ring size.
Definition: AtomSSSRRingSizeMatchExpression.hpp:67
std::shared_ptr< AtomSSSRRingSizeMatchExpression > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated AtomSSSRRingSizeMatchExpression i...
Definition: AtomSSSRRingSizeMatchExpression.hpp:60
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:100
Atom.
Definition: Atom.hpp:52
A data type for the storage of Chem::Fragment objects.
Definition: FragmentList.hpp:49
Fragment.
Definition: Fragment.hpp:52
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.
A generic boolean expression interface for the implementation of query/target object equivalence test...
Definition: MatchExpression.hpp:75
MolecularGraph.
Definition: MolecularGraph.hpp:52
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)
The namespace of the Chemical Data Processing Library.