Chemical Data Processing Library Python API - Version 1.1.1
Public Member Functions | Properties | List of all members
CDPL.ConfGen.FragmentConformerGenerator Class Reference
+ Inheritance diagram for CDPL.ConfGen.FragmentConformerGenerator:

Public Member Functions

None __init__ ()
 Initializes the FragmentConformerGenerator instance.
 
int getObjectID ()
 Returns the numeric identifier (ID) of the wrapped C++ class instance. More...
 
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, Math.Vector3DArray fixed_substr_coords)
 
int generate (Chem.MolecularGraph molgraph, int frag_type)
 
int generate (Chem.MolecularGraph molgraph, int frag_type, Chem.MolecularGraph fixed_substr, Math.Vector3DArray fixed_substr_coords)
 
None setConformers (Chem.MolecularGraph molgraph)
 
int getNumConformers ()
 
ConformerData getConformer (int conf_idx)
 
FragmentConformerGeneratorSettings getSettings ()
 
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)
 

Member Function Documentation

◆ getObjectID()

int CDPL.ConfGen.FragmentConformerGenerator.getObjectID ( )

Returns the numeric identifier (ID) of the wrapped C++ class instance.

Different Python FragmentConformerGenerator 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 FragmentConformerGenerator 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().

Returns
The numeric ID of the internally referenced C++ class instance.

◆ setAbortCallback()

None CDPL.ConfGen.FragmentConformerGenerator.setAbortCallback ( CallbackFunction  func)
Parameters
func

◆ getAbortCallback()

CallbackFunction CDPL.ConfGen.FragmentConformerGenerator.getAbortCallback ( )
Returns

◆ setTimeoutCallback()

None CDPL.ConfGen.FragmentConformerGenerator.setTimeoutCallback ( CallbackFunction  func)
Parameters
func

◆ getTimeoutCallback()

CallbackFunction CDPL.ConfGen.FragmentConformerGenerator.getTimeoutCallback ( )
Returns

◆ setLogMessageCallback()

None CDPL.ConfGen.FragmentConformerGenerator.setLogMessageCallback ( LogMessageCallbackFunction  func)
Parameters
func

◆ getLogMessageCallback()

LogMessageCallbackFunction CDPL.ConfGen.FragmentConformerGenerator.getLogMessageCallback ( )
Returns

◆ generate() [1/4]

int CDPL.ConfGen.FragmentConformerGenerator.generate ( Chem.MolecularGraph  molgraph)
Parameters
molgraph
Returns

◆ generate() [2/4]

int CDPL.ConfGen.FragmentConformerGenerator.generate ( Chem.MolecularGraph  molgraph,
Chem.MolecularGraph  fixed_substr,
Math.Vector3DArray  fixed_substr_coords 
)
Parameters
molgraph
fixed_substr
fixed_substr_coords
Returns

◆ generate() [3/4]

int CDPL.ConfGen.FragmentConformerGenerator.generate ( Chem.MolecularGraph  molgraph,
int  frag_type 
)
Parameters
molgraph
frag_type
Returns

◆ generate() [4/4]

int CDPL.ConfGen.FragmentConformerGenerator.generate ( Chem.MolecularGraph  molgraph,
int  frag_type,
Chem.MolecularGraph  fixed_substr,
Math.Vector3DArray  fixed_substr_coords 
)
Parameters
molgraph
frag_type
fixed_substr
fixed_substr_coords
Returns

◆ setConformers()

None CDPL.ConfGen.FragmentConformerGenerator.setConformers ( Chem.MolecularGraph  molgraph)
Parameters
molgraph

◆ getNumConformers()

int CDPL.ConfGen.FragmentConformerGenerator.getNumConformers ( )
Returns

◆ getConformer()

ConformerData CDPL.ConfGen.FragmentConformerGenerator.getConformer ( int  conf_idx)
Parameters
conf_idx
Returns

◆ getSettings()

FragmentConformerGeneratorSettings CDPL.ConfGen.FragmentConformerGenerator.getSettings ( )
Returns

◆ __getitem__()

ConformerData CDPL.ConfGen.FragmentConformerGenerator.__getitem__ ( int  conf_idx)
Parameters
conf_idx
Returns