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