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