Chemical Data Processing Library C++ API - Version 1.4.0
Public Member Functions | List of all members
CDPL::Chem::AmideImidicAcidTautomerization Class Reference

Implementation of the amide ↔ imidic-acid tautomerization rule. More...

#include <AmideImidicAcidTautomerization.hpp>

+ Inheritance diagram for CDPL::Chem::AmideImidicAcidTautomerization:

Public Member Functions

 AmideImidicAcidTautomerization ()
 Constructs the AmideImidicAcidTautomerization instance and registers the SMARTS patterns and bond-order changes of the rule. More...
 
- Public Member Functions inherited from CDPL::Chem::PatternBasedTautomerizationRule
 PatternBasedTautomerizationRule (unsigned int rule_id)
 Constructs the PatternBasedTautomerizationRule instance with the given rule identifier. More...
 
 PatternBasedTautomerizationRule (const PatternBasedTautomerizationRule &rule)
 Constructs a copy of the PatternBasedTautomerizationRule instance rule. More...
 
PatternBasedTautomerizationRuleoperator= (const PatternBasedTautomerizationRule &rule)
 Replaces the state of this rule by a copy of the state of rule. More...
 
template<typename Iter >
void addTransformationPattern (const MolecularGraph::SharedPointer &molgraph, Iter bond_chgs_beg, Iter bond_chgs_end)
 Registers a new transformation pattern together with the associated bond-order changes. More...
 
void addExcludePattern (const MolecularGraph::SharedPointer &molgraph)
 Registers an exclude pattern: when this substructure is present in the parent molecular graph, the matching transformation will not be applied. More...
 
void addExcludePatterns (const PatternBasedTautomerizationRule &rule)
 Copies all exclude patterns of rule into this rule. More...
 
void clearExcludePatterns ()
 Removes all registered exclude patterns. More...
 
bool setup (MolecularGraph &parent_molgraph)
 Prepares the rule for tautomer enumeration on parent_molgraph. More...
 
unsigned int getID () const
 Returns the rule identifier supplied at construction. More...
 
bool generate (Molecule &tautomer)
 Writes the next tautomer reachable from the parent molecular graph into tautomer. More...
 
TautomerizationRule::SharedPointer clone () const
 Creates and returns a deep copy of this rule. More...
 
- Public Member Functions inherited from CDPL::Chem::TautomerizationRule
virtual ~TautomerizationRule ()
 Virtual destructor. More...
 

Additional Inherited Members

- Public Types inherited from CDPL::Chem::PatternBasedTautomerizationRule
typedef std::shared_ptr< PatternBasedTautomerizationRuleSharedPointer
 A reference-counted smart pointer [SHPTR] for dynamically allocated PatternBasedTautomerizationRule instances. More...
 
- Public Types inherited from CDPL::Chem::TautomerizationRule
typedef std::shared_ptr< TautomerizationRuleSharedPointer
 A reference-counted smart pointer [SHPTR] for dynamically allocated TautomerizationRule instances. More...
 

Detailed Description

Implementation of the amide ↔ imidic-acid tautomerization rule.

The rule is registered with TautomerizationType::AMIDE_IMIDIC_ACID and uses PatternBasedTautomerizationRule to encode the SMARTS patterns and bond-order transformations required for the interconversion of amide and imidic-acid tautomers.

Constructor & Destructor Documentation

◆ AmideImidicAcidTautomerization()

CDPL::Chem::AmideImidicAcidTautomerization::AmideImidicAcidTautomerization ( )

Constructs the AmideImidicAcidTautomerization instance and registers the SMARTS patterns and bond-order changes of the rule.


The documentation for this class was generated from the following file: