Chemical Data Processing Library Python API - Version 1.4.0
Public Member Functions | List of all members
CDPL.Chem.NitroAciTautomerization Class Reference

Implementation of the nitro ↔ aci-nitro tautomerization rule. More...

+ Inheritance diagram for CDPL.Chem.NitroAciTautomerization:

Public Member Functions

None __init__ ()
 Constructs the NitroAciTautomerization instance and registers the SMARTS patterns and bond-order changes of the rule.
 
None __init__ (NitroAciTautomerization rule)
 Initializes a copy of the NitroAciTautomerization instance rule. More...
 
- Public Member Functions inherited from CDPL.Chem.PatternBasedTautomerizationRule
None __init__ (int id)
 Initializes the PatternBasedTautomerizationRule instance. More...
 
None __init__ (PatternBasedTautomerizationRule rule)
 Constructs a copy of the PatternBasedTautomerizationRule instance rule. More...
 
None addTransformationPattern (MolecularGraph molgraph, object bond_chgs)
 
None addExcludePattern (MolecularGraph molgraph)
 Registers a rule exclude pattern. More...
 
None addExcludePatterns (PatternBasedTautomerizationRule rule)
 Copies all exclude patterns of rule into this rule. More...
 
None clearExcludePatterns ()
 Removes all registered exclude patterns.
 
PatternBasedTautomerizationRule assign (PatternBasedTautomerizationRule rule)
 Replaces the state of this rule by a copy of the state of rule. More...
 
- Public Member Functions inherited from CDPL.Chem.TautomerizationRule
int getObjectID ()
 Returns the numeric identifier (ID) of the wrapped C++ class instance. More...
 
int getID ()
 Returns the rule's identifier (see Chem.TautomerizationType). More...
 
bool setup (MolecularGraph parent_molgraph)
 Sets the parent molecular graph for which the rule is to enumerate tautomers. More...
 
bool generate (Molecule tautomer)
 Generates the next tautomer. More...
 
TautomerizationRule clone ()
 Returns a deep copy of this rule instance. More...
 

Additional Inherited Members

- Properties inherited from CDPL.Chem.TautomerizationRule
 objectID = property(getObjectID)
 

Detailed Description

Implementation of the nitro ↔ aci-nitro tautomerization rule.

The rule is registered with TautomerizationType.NITRO_ACI and uses PatternBasedTautomerizationRule to encode the SMARTS patterns and bond-order transformations required for the interconversion of nitro and aci-nitro tautomers.

Constructor & Destructor Documentation

◆ __init__()

None CDPL.Chem.NitroAciTautomerization.__init__ ( NitroAciTautomerization  rule)

Initializes a copy of the NitroAciTautomerization instance rule.

Parameters
ruleThe NitroAciTautomerization instance to copy.