Chemical Data Processing Library Python API - Version 1.4.0
Public Member Functions | List of all members
CDPL.ForceField.MMFF94RingSetFunction Class Reference

Generic wrapper class used to store a user-defined MMFF94 ring set retrieval function. More...

+ Inheritance diagram for CDPL.ForceField.MMFF94RingSetFunction:

Public Member Functions

None __init__ ()
 Contructs the MMFF94RingSetFunction instance.
 
None __init__ (MMFF94RingSetFunction func)
 Contructs a copy of the MMFF94RingSetFunction instance func. More...
 
None __init__ (object callable)
 Contructs the MMFF94RingSetFunction instance for the specified callable object. More...
 
Chem.FragmentList __call__ (Chem.MolecularGraph arg1)
 Invokes the wrapped callable object with the given argument. More...
 
bool __bool__ ()
 Tells whether the instance holds a callable object. More...
 
bool __nonzero__ ()
 Tells whether the instance holds a callable object. More...
 

Detailed Description

Generic wrapper class used to store a user-defined MMFF94 ring set retrieval function.

See also
[MMFF94]

Constructor & Destructor Documentation

◆ __init__() [1/2]

None CDPL.ForceField.MMFF94RingSetFunction.__init__ ( MMFF94RingSetFunction  func)

Contructs a copy of the MMFF94RingSetFunction instance func.

Parameters
funcThe MMFF94RingSetFunction instance to copy.

◆ __init__() [2/2]

None CDPL.ForceField.MMFF94RingSetFunction.__init__ ( object  callable)

Contructs the MMFF94RingSetFunction instance for the specified callable object.

Parameters
callableThe callable object to wrap.

Member Function Documentation

◆ __call__()

Chem.FragmentList CDPL.ForceField.MMFF94RingSetFunction.__call__ ( Chem.MolecularGraph  arg1)

Invokes the wrapped callable object with the given argument.

Parameters
arg1The argument to forward.
Returns
The obtained return value.

◆ __bool__()

bool CDPL.ForceField.MMFF94RingSetFunction.__bool__ ( )

Tells whether the instance holds a callable object.

Returns
True if the instance holds a callable object, and False otherwise.

◆ __nonzero__()

bool CDPL.ForceField.MMFF94RingSetFunction.__nonzero__ ( )

Tells whether the instance holds a callable object.

Returns
True if the instance holds a callable object, and False otherwise.