![]() |
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.DoubleAtomFunctor:Public Member Functions | |
| None | __init__ () |
Contructs the DoubleAtomFunctor instance. | |
| None | __init__ (ForceField.MMFF94AtomChargeFunction func) |
Contructs the DoubleAtomFunctor instance. More... | |
| None | __init__ (object callable) |
Contructs the DoubleAtomFunctor instance for the specified callable object. More... | |
| float | __call__ (Atom 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.Chem.DoubleAtomFunctor.__init__ | ( | ForceField.MMFF94AtomChargeFunction | func | ) |
Contructs the DoubleAtomFunctor instance.
| func |
| None CDPL.Chem.DoubleAtomFunctor.__init__ | ( | object | callable | ) |
Contructs the DoubleAtomFunctor instance for the specified callable object.
| callable | The callable object to wrap. |
| float CDPL.Chem.DoubleAtomFunctor.__call__ | ( | Atom | arg1 | ) |
Invokes the wrapped callable object with the given argument.
| arg1 | The argument to forward. |
| bool CDPL.Chem.DoubleAtomFunctor.__bool__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise. | bool CDPL.Chem.DoubleAtomFunctor.__nonzero__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise.