![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Chem::TautomerizationRule implementation that enumerates tautomers obtained by switching the single/double bond pattern of conjugated rings (e.g. the two Kekulé forms of benzene). More...
#include <ConjugatedRingBondPatternSwitching.hpp>
Inheritance diagram for CDPL::Chem::ConjugatedRingBondPatternSwitching:Public Types | |
| typedef std::shared_ptr< ConjugatedRingBondPatternSwitching > | SharedPointer |
A reference-counted smart pointer [SHPTR] for dynamically allocated ConjugatedRingBondPatternSwitching instances. More... | |
Public Types inherited from CDPL::Chem::TautomerizationRule | |
| typedef std::shared_ptr< TautomerizationRule > | SharedPointer |
A reference-counted smart pointer [SHPTR] for dynamically allocated TautomerizationRule instances. More... | |
Public Member Functions | |
| bool | setup (MolecularGraph &parent_molgraph) |
| Sets the parent molecular graph and identifies its conjugated rings for tautomer enumeration. More... | |
| unsigned int | getID () const |
| Returns the rule's identifier (Chem::TautomerizationType::CONJ_RING_BOND_SWITCH). More... | |
| bool | generate (Molecule &tautomer) |
| Generates the next bond-pattern-switched tautomer. More... | |
| TautomerizationRule::SharedPointer | clone () const |
| Returns a deep copy of this rule instance. More... | |
Public Member Functions inherited from CDPL::Chem::TautomerizationRule | |
| virtual | ~TautomerizationRule () |
| Virtual destructor. More... | |
Chem::TautomerizationRule implementation that enumerates tautomers obtained by switching the single/double bond pattern of conjugated rings (e.g. the two Kekulé forms of benzene).
| typedef std::shared_ptr<ConjugatedRingBondPatternSwitching> CDPL::Chem::ConjugatedRingBondPatternSwitching::SharedPointer |
A reference-counted smart pointer [SHPTR] for dynamically allocated ConjugatedRingBondPatternSwitching instances.
|
virtual |
Sets the parent molecular graph and identifies its conjugated rings for tautomer enumeration.
| parent_molgraph | The molecular graph to be tautomerized. |
true if at least one conjugated ring was found, and false otherwise. Implements CDPL::Chem::TautomerizationRule.
|
virtual |
Returns the rule's identifier (Chem::TautomerizationType::CONJ_RING_BOND_SWITCH).
Implements CDPL::Chem::TautomerizationRule.
Generates the next bond-pattern-switched tautomer.
| tautomer | The tautomer output molecule object. |
true if a tautomer was generated, and false if no more tautomers are available. Implements CDPL::Chem::TautomerizationRule.
|
virtual |
Returns a deep copy of this rule instance.
Implements CDPL::Chem::TautomerizationRule.