![]() |
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.BoolAtom4Functor:Public Member Functions | |
| None | __init__ () |
Contructs the BoolAtom4Functor instance. | |
| None | __init__ (ForceField.InteractionFilterFunction4 func) |
Contructs the BoolAtom4Functor instance. More... | |
| None | __init__ (object callable) |
Contructs the BoolAtom4Functor instance for the specified callable object. More... | |
| bool | __call__ (Atom arg1, Atom arg2, Atom arg3, Atom 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.BoolAtom4Functor.__init__ | ( | ForceField.InteractionFilterFunction4 | func | ) |
Contructs the BoolAtom4Functor instance.
| func |
| None CDPL.Chem.BoolAtom4Functor.__init__ | ( | object | callable | ) |
Contructs the BoolAtom4Functor 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.BoolAtom4Functor.__bool__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise. | bool CDPL.Chem.BoolAtom4Functor.__nonzero__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise.