![]() |
Chemical Data Processing Library Python API - Version 1.4.0
|
A wrapper class for various types of callable objects. More...
Inheritance diagram for CDPL.Base.VoidFunctor:Public Member Functions | |
| None | __init__ () |
Contructs the VoidFunctor instance. | |
| None | __init__ (VoidFunctor func) |
Contructs a copy of the VoidFunctor instance func. More... | |
| None | __init__ (object callable) |
Contructs the VoidFunctor instance for the specified callable object. More... | |
| None | __call__ () |
| Invokes the wrapped callable object. More... | |
| bool | __bool__ () |
| Tells whether the instance holds a callable object. More... | |
| bool | __nonzero__ () |
| Tells whether the instance holds a callable object. More... | |
A wrapper class for various types of callable objects.
| None CDPL.Base.VoidFunctor.__init__ | ( | VoidFunctor | func | ) |
Contructs a copy of the VoidFunctor instance func.
| func | The VoidFunctor instance to copy. |
| None CDPL.Base.VoidFunctor.__init__ | ( | object | callable | ) |
Contructs the VoidFunctor instance for the specified callable object.
| callable | The callable object to wrap. |
| None CDPL.Base.VoidFunctor.__call__ | ( | ) |
Invokes the wrapped callable object.
| bool CDPL.Base.VoidFunctor.__bool__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise. | bool CDPL.Base.VoidFunctor.__nonzero__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise.