Chemical Data Processing Library Python API - Version 1.1.1
Public Member Functions | List of all members
CDPL.ConfGen.CallbackFunction Class Reference

A generic wrapper class used to store a user-defined callback functions (see [FUNWRP]). More...

+ Inheritance diagram for CDPL.ConfGen.CallbackFunction:

Public Member Functions

None __init__ ()
 Initializes the CallbackFunction instance.
 
None __init__ (CallbackFunction func)
 Initializes a copy of the CallbackFunction instance func. More...
 
None __init__ (object callable)
 Initializes the CallbackFunction instance. More...
 
bool __call__ ()
 
bool __bool__ ()
 
bool __nonzero__ ()
 

Detailed Description

A generic wrapper class used to store a user-defined callback functions (see [FUNWRP]).

Constructor & Destructor Documentation

◆ __init__() [1/2]

None CDPL.ConfGen.CallbackFunction.__init__ ( CallbackFunction  func)

Initializes a copy of the CallbackFunction instance func.

Parameters
funcThe CallbackFunction instance to copy.

◆ __init__() [2/2]

None CDPL.ConfGen.CallbackFunction.__init__ ( object  callable)

Initializes the CallbackFunction instance.

Parameters
callable

Member Function Documentation

◆ __call__()

bool CDPL.ConfGen.CallbackFunction.__call__ ( )
Returns

◆ __bool__()

bool CDPL.ConfGen.CallbackFunction.__bool__ ( )
Returns

◆ __nonzero__()

bool CDPL.ConfGen.CallbackFunction.__nonzero__ ( )
Returns