Chemical Data Processing Library Python API - Version 1.2.0
|
Public Member Functions | |
None | __init__ () |
Initializes the StructureGenerator instance. | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
StructureGeneratorSettings | getSettings () |
None | clearFragmentLibraries () |
None | addFragmentLibrary (FragmentLibrary lib) |
None | clearTorsionLibraries () |
None | addTorsionLibrary (TorsionLibrary lib) |
None | setAbortCallback (CallbackFunction func) |
CallbackFunction | getAbortCallback () |
None | setTimeoutCallback (CallbackFunction func) |
CallbackFunction | getTimeoutCallback () |
None | setLogMessageCallback (LogMessageCallbackFunction func) |
LogMessageCallbackFunction | getLogMessageCallback () |
int | generate (Chem.MolecularGraph molgraph) |
int | generate (Chem.MolecularGraph molgraph, Chem.MolecularGraph fixed_substr) |
int | generate (Chem.MolecularGraph molgraph, Chem.MolecularGraph fixed_substr, Math.Vector3DArray fixed_substr_coords) |
None | setCoordinates (Chem.MolecularGraph molgraph) |
ConformerData | getCoordinates () |
Properties | |
objectID = property(getObjectID) | |
settings = property(getSettings) | |
coordinates = property(getCoordinates) | |
abortCallback = property(getAbortCallback, setAbortCallback) | |
timeoutCallback = property(getTimeoutCallback, setTimeoutCallback) | |
logMessageCallback = property(getLogMessageCallback, setLogMessageCallback) | |
int CDPL.ConfGen.StructureGenerator.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python StructureGenerator 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 StructureGenerator 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()
.
StructureGeneratorSettings CDPL.ConfGen.StructureGenerator.getSettings | ( | ) |
None CDPL.ConfGen.StructureGenerator.addFragmentLibrary | ( | FragmentLibrary | lib | ) |
lib |
None CDPL.ConfGen.StructureGenerator.addTorsionLibrary | ( | TorsionLibrary | lib | ) |
lib |
None CDPL.ConfGen.StructureGenerator.setAbortCallback | ( | CallbackFunction | func | ) |
func |
CallbackFunction CDPL.ConfGen.StructureGenerator.getAbortCallback | ( | ) |
None CDPL.ConfGen.StructureGenerator.setTimeoutCallback | ( | CallbackFunction | func | ) |
func |
CallbackFunction CDPL.ConfGen.StructureGenerator.getTimeoutCallback | ( | ) |
None CDPL.ConfGen.StructureGenerator.setLogMessageCallback | ( | LogMessageCallbackFunction | func | ) |
func |
LogMessageCallbackFunction CDPL.ConfGen.StructureGenerator.getLogMessageCallback | ( | ) |
int CDPL.ConfGen.StructureGenerator.generate | ( | Chem.MolecularGraph | molgraph | ) |
molgraph |
int CDPL.ConfGen.StructureGenerator.generate | ( | Chem.MolecularGraph | molgraph, |
Chem.MolecularGraph | fixed_substr | ||
) |
molgraph | |
fixed_substr |
int CDPL.ConfGen.StructureGenerator.generate | ( | Chem.MolecularGraph | molgraph, |
Chem.MolecularGraph | fixed_substr, | ||
Math.Vector3DArray | fixed_substr_coords | ||
) |
molgraph | |
fixed_substr | |
fixed_substr_coords |
None CDPL.ConfGen.StructureGenerator.setCoordinates | ( | Chem.MolecularGraph | molgraph | ) |
molgraph |
ConformerData CDPL.ConfGen.StructureGenerator.getCoordinates | ( | ) |