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