![]() |
Chemical Data Processing Library Python API - Version 1.4.0
|
A wrapper class for various types of callable objects. More...
Inheritance diagram for CDPL.Pharm.DoubleSearchHitFunctor:Public Member Functions | |
| None | __init__ () |
Contructs the DoubleSearchHitFunctor instance. | |
| None | __init__ (DoubleSearchHitFunctor func) |
Contructs a copy of the DoubleSearchHitFunctor instance func. More... | |
| None | __init__ (object callable) |
Contructs the DoubleSearchHitFunctor instance for the specified callable object. More... | |
| float | __call__ (SearchHit 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.Pharm.DoubleSearchHitFunctor.__init__ | ( | DoubleSearchHitFunctor | func | ) |
Contructs a copy of the DoubleSearchHitFunctor instance func.
| func | The DoubleSearchHitFunctor instance to copy. |
| None CDPL.Pharm.DoubleSearchHitFunctor.__init__ | ( | object | callable | ) |
Contructs the DoubleSearchHitFunctor instance for the specified callable object.
| callable | The callable object to wrap. |
| float CDPL.Pharm.DoubleSearchHitFunctor.__call__ | ( | SearchHit | arg1 | ) |
Invokes the wrapped callable object with the given argument.
| arg1 | The argument to forward. |
| bool CDPL.Pharm.DoubleSearchHitFunctor.__bool__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise. | bool CDPL.Pharm.DoubleSearchHitFunctor.__nonzero__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise.