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