Chemical Data Processing Library Python API - Version 1.2.0
|
Public Member Functions | |
None | __init__ () |
Initializes the TopologicalAtomAlignment instance. | |
None | __init__ (TopologicalAtomAlignment alignment) |
Initializes a copy of the TopologicalAtomAlignment instance alignment. More... | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
None | setEntityMatchFunction (ForceField.InteractionFilterFunction2 func) |
ForceField.InteractionFilterFunction2 | getEntityMatchFunction () |
None | setEntityPairMatchFunction (ForceField.InteractionFilterFunction4 func) |
ForceField.InteractionFilterFunction4 | getEntityPairMatchFunction () |
None | addEntity (Atom entity, bool first_set) |
None | clearEntities (bool first_set) |
int | getNumEntities (bool first_set) |
object | getEntities (bool first_set) |
Atom | getEntity (int idx, bool first_set) |
None | reset () |
bool | nextAlignment (Util.STPairArray mapping) |
TopologicalAtomAlignment | assign (TopologicalAtomAlignment alignment) |
Replaces the current state of self with a copy of the state of the TopologicalAtomAlignment instance alignment. More... | |
Properties | |
objectID = property(getObjectID) | |
entityMatchFunction = property(getEntityMatchFunction, setEntityMatchFunction) | |
entityPairMatchFunction = property(getEntityPairMatchFunction, setEntityPairMatchFunction) | |
None CDPL.Chem.TopologicalAtomAlignment.__init__ | ( | TopologicalAtomAlignment | alignment | ) |
Initializes a copy of the TopologicalAtomAlignment instance alignment.
alignment | The TopologicalAtomAlignment instance to copy. |
int CDPL.Chem.TopologicalAtomAlignment.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python TopologicalAtomAlignment 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 TopologicalAtomAlignment 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()
.
None CDPL.Chem.TopologicalAtomAlignment.setEntityMatchFunction | ( | ForceField.InteractionFilterFunction2 | func | ) |
func |
ForceField.InteractionFilterFunction2 CDPL.Chem.TopologicalAtomAlignment.getEntityMatchFunction | ( | ) |
None CDPL.Chem.TopologicalAtomAlignment.setEntityPairMatchFunction | ( | ForceField.InteractionFilterFunction4 | func | ) |
func |
ForceField.InteractionFilterFunction4 CDPL.Chem.TopologicalAtomAlignment.getEntityPairMatchFunction | ( | ) |
None CDPL.Chem.TopologicalAtomAlignment.addEntity | ( | Atom | entity, |
bool | first_set | ||
) |
entity | |
first_set |
None CDPL.Chem.TopologicalAtomAlignment.clearEntities | ( | bool | first_set | ) |
first_set |
int CDPL.Chem.TopologicalAtomAlignment.getNumEntities | ( | bool | first_set | ) |
first_set |
object CDPL.Chem.TopologicalAtomAlignment.getEntities | ( | bool | first_set | ) |
first_set |
Atom CDPL.Chem.TopologicalAtomAlignment.getEntity | ( | int | idx, |
bool | first_set | ||
) |
idx | |
first_set |
bool CDPL.Chem.TopologicalAtomAlignment.nextAlignment | ( | Util.STPairArray | mapping | ) |
mapping |
TopologicalAtomAlignment CDPL.Chem.TopologicalAtomAlignment.assign | ( | TopologicalAtomAlignment | alignment | ) |
Replaces the current state of self with a copy of the state of the TopologicalAtomAlignment instance alignment.
alignment | The TopologicalAtomAlignment instance to copy. |