Chemical Data Processing Library Python API - Version 1.2.0
|
A generic wrapper class used to store a user-defined atom predicate. More...
Public Member Functions | |
None | __init__ () |
Initializes the AtomPredicate instance. | |
None | __init__ (AtomPredicate func) |
Initializes a copy of the AtomPredicate instance func. More... | |
None | __init__ (object callable) |
Initializes the AtomPredicate instance. More... | |
bool | __call__ (Atom arg1) |
bool | __bool__ () |
bool | __nonzero__ () |
A generic wrapper class used to store a user-defined atom predicate.
None CDPL.Chem.AtomPredicate.__init__ | ( | AtomPredicate | func | ) |
Initializes a copy of the AtomPredicate instance func.
func | The AtomPredicate instance to copy. |
None CDPL.Chem.AtomPredicate.__init__ | ( | object | callable | ) |
Initializes the AtomPredicate instance.
callable |
bool CDPL.Chem.AtomPredicate.__call__ | ( | Atom | arg1 | ) |
arg1 |
bool CDPL.Chem.AtomPredicate.__bool__ | ( | ) |
bool CDPL.Chem.AtomPredicate.__nonzero__ | ( | ) |