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