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