![]() |
Chemical Data Processing Library Python API - Version 1.2.3
|
Inheritance diagram for CDPL.Chem.FragmentGenerator.ExcludePattern:Public Member Functions | |
| None | __init__ (ExcludePattern excl_ptn) |
| Initializes a copy of the ExcludePattern instance excl_ptn. More... | |
| None | __init__ (MolecularGraph match_ptn, int rule_id) |
| Initializes the ExcludePattern instance. More... | |
| int | getObjectID () |
| Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
| ExcludePattern | assign (ExcludePattern excl_ptn) |
Replaces the current state of self with a copy of the state of the ExcludePattern instance excl_ptn. More... | |
| MolecularGraph | getMatchPattern () |
| None | setMatchPattern (MolecularGraph ptn) |
| int | getRuleID () |
| None | setRuleID (int id) |
| bool | isGeneric () |
| None | setGeneric (bool generic) |
Properties | |
| objectID = property(getObjectID) | |
| matchPattern = property(getMatchPattern, setMatchPattern) | |
| ruleID = property(getRuleID, setRuleID) | |
| generic = property(isGeneric, setGeneric) | |
| None CDPL.Chem.FragmentGenerator.ExcludePattern.__init__ | ( | ExcludePattern | excl_ptn | ) |
Initializes a copy of the ExcludePattern instance excl_ptn.
| excl_ptn | The ExcludePattern instance to copy. |
| None CDPL.Chem.FragmentGenerator.ExcludePattern.__init__ | ( | MolecularGraph | match_ptn, |
| int | rule_id | ||
| ) |
Initializes the ExcludePattern instance.
| match_ptn | |
| rule_id |
| int CDPL.Chem.FragmentGenerator.ExcludePattern.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python ExcludePattern instances may reference the same underlying C++ class instance. The commonly used Python expression a is not b thus cannot tell reliably whether the two ExcludePattern instances a and b reference different C++ objects. The numeric identifier returned by this method allows to correctly implement such an identity test via the simple expression a.getObjectID() != b.getObjectID().
| ExcludePattern CDPL.Chem.FragmentGenerator.ExcludePattern.assign | ( | ExcludePattern | excl_ptn | ) |
Replaces the current state of self with a copy of the state of the ExcludePattern instance excl_ptn.
| excl_ptn | The ExcludePattern instance to copy. |
| MolecularGraph CDPL.Chem.FragmentGenerator.ExcludePattern.getMatchPattern | ( | ) |
| None CDPL.Chem.FragmentGenerator.ExcludePattern.setMatchPattern | ( | MolecularGraph | ptn | ) |
| ptn |
| int CDPL.Chem.FragmentGenerator.ExcludePattern.getRuleID | ( | ) |
| None CDPL.Chem.FragmentGenerator.ExcludePattern.setRuleID | ( | int | id | ) |
| id |
| bool CDPL.Chem.FragmentGenerator.ExcludePattern.isGeneric | ( | ) |
| None CDPL.Chem.FragmentGenerator.ExcludePattern.setGeneric | ( | bool | generic | ) |
| generic |