29 #ifndef CDPL_CHEM_CONJUGATEDRINGBONDPATTERNSWITCHING_HPP
30 #define CDPL_CHEM_CONJUGATEDRINGBONDPATTERNSWITCHING_HPP
57 typedef std::shared_ptr<ConjugatedRingBondPatternSwitching>
SharedPointer;
86 typedef std::vector<Fragment::SharedPointer> RingList;
88 bool isConjugated(
const Fragment& ring)
const;
89 bool hasHeteroSubstituent(
const Atom& atom,
const Fragment& ring)
const;
95 std::size_t currRingIdx;
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::Fragment.
Definition of class CDPL::Chem::TautomerizationRule.
Abstract base class representing a chemical atom and its bonded neighborhood.
Definition: Atom.hpp:57
Chem::TautomerizationRule implementation that enumerates tautomers obtained by switching the single/d...
Definition: ConjugatedRingBondPatternSwitching.hpp:53
bool setup(MolecularGraph &parent_molgraph)
Sets the parent molecular graph and identifies its conjugated rings for tautomer enumeration.
std::shared_ptr< ConjugatedRingBondPatternSwitching > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated ConjugatedRingBondPatternSwitchin...
Definition: ConjugatedRingBondPatternSwitching.hpp:57
unsigned int getID() const
Returns the rule's identifier (Chem::TautomerizationType::CONJ_RING_BOND_SWITCH).
bool generate(Molecule &tautomer)
Generates the next bond-pattern-switched tautomer.
TautomerizationRule::SharedPointer clone() const
Returns a deep copy of this rule instance.
Concrete Chem::MolecularGraph implementation that stores references to a selectable subset of atoms a...
Definition: Fragment.hpp:57
Abstract base class for representations of a chemical structure as a graph of bonded atoms.
Definition: MolecularGraph.hpp:57
Abstract base class representing a mutable molecular graph that owns its atoms and bonds.
Definition: Molecule.hpp:53
Abstract base class for all tautomerization rule implementations used by the Chem::TautomerGenerator.
Definition: TautomerizationRule.hpp:50
std::shared_ptr< TautomerizationRule > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated TautomerizationRule instances.
Definition: TautomerizationRule.hpp:54
The namespace of the Chemical Data Processing Library.