![]() |
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.VoidDataIOBaseFunctor:Public Member Functions | |
| None | __init__ () |
Contructs the VoidDataIOBaseFunctor instance. | |
| None | __init__ (VoidDataIOBaseFunctor func) |
Contructs a copy of the VoidDataIOBaseFunctor instance func. More... | |
| None | __init__ (object callable) |
Contructs the VoidDataIOBaseFunctor instance for the specified callable object. More... | |
| None | __call__ (DataIOBase arg1, float arg2) |
| Invokes the wrapped callable object with the given arguments. 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.VoidDataIOBaseFunctor.__init__ | ( | VoidDataIOBaseFunctor | func | ) |
Contructs a copy of the VoidDataIOBaseFunctor instance func.
| func | The VoidDataIOBaseFunctor instance to copy. |
| None CDPL.Base.VoidDataIOBaseFunctor.__init__ | ( | object | callable | ) |
Contructs the VoidDataIOBaseFunctor instance for the specified callable object.
| callable | The callable object to wrap. |
| None CDPL.Base.VoidDataIOBaseFunctor.__call__ | ( | DataIOBase | arg1, |
| float | arg2 | ||
| ) |
Invokes the wrapped callable object with the given arguments.
| arg1 | The first argument to forward. |
| arg2 | The second argument to forward. |
| bool CDPL.Base.VoidDataIOBaseFunctor.__bool__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise. | bool CDPL.Base.VoidDataIOBaseFunctor.__nonzero__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise.