Chemical Data Processing Library Python API - Version 1.1.1
|
Public Member Functions | |
None | __init__ () |
Initializes the HBondDonorAtomTyper instance. | |
None | __init__ (HBondDonorAtomTyper typer) |
Initializes a copy of the HBondDonorAtomTyper instance typer. More... | |
None | __init__ (Chem.MolecularGraph molgraph, Util.UIArray types) |
Initializes the HBondDonorAtomTyper instance. More... | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
HBondDonorAtomTyper | assign (HBondDonorAtomTyper typer) |
Replaces the current state of self with a copy of the state of the HBondDonorAtomTyper instance typer. More... | |
None | perceiveTypes (Chem.MolecularGraph molgraph, Util.UIArray types) |
Properties | |
objectID = property(getObjectID) | |
None CDPL.MolProp.HBondDonorAtomTyper.__init__ | ( | HBondDonorAtomTyper | typer | ) |
Initializes a copy of the HBondDonorAtomTyper instance typer.
typer | The HBondDonorAtomTyper instance to copy. |
None CDPL.MolProp.HBondDonorAtomTyper.__init__ | ( | Chem.MolecularGraph | molgraph, |
Util.UIArray | types | ||
) |
Initializes the HBondDonorAtomTyper instance.
molgraph | |
types |
int CDPL.MolProp.HBondDonorAtomTyper.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python HBondDonorAtomTyper 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 HBondDonorAtomTyper 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()
.
HBondDonorAtomTyper CDPL.MolProp.HBondDonorAtomTyper.assign | ( | HBondDonorAtomTyper | typer | ) |
Replaces the current state of self with a copy of the state of the HBondDonorAtomTyper instance typer.
typer | The HBondDonorAtomTyper instance to copy. |
None CDPL.MolProp.HBondDonorAtomTyper.perceiveTypes | ( | Chem.MolecularGraph | molgraph, |
Util.UIArray | types | ||
) |
molgraph | |
types |