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