![]() |
Chemical Data Processing Library Python API - Version 1.4.0
|
Generic wrapper class used to store a user-defined function for the processing of Biomol.MMCIFData instances. More...
Inheritance diagram for CDPL.Biomol.MMCIFDataProcessingFunction:Public Member Functions | |
| None | __init__ () |
Contructs the MMCIFDataProcessingFunction instance. | |
| None | __init__ (MMCIFDataProcessingFunction func) |
Contructs a copy of the MMCIFDataProcessingFunction instance func. More... | |
| None | __init__ (object callable) |
Contructs the MMCIFDataProcessingFunction instance for the specified callable object. More... | |
| None | __call__ (MMCIFData arg1, Chem.MolecularGraph arg2) |
| 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... | |
Generic wrapper class used to store a user-defined function for the processing of Biomol.MMCIFData instances.
| None CDPL.Biomol.MMCIFDataProcessingFunction.__init__ | ( | MMCIFDataProcessingFunction | func | ) |
Contructs a copy of the MMCIFDataProcessingFunction instance func.
| func | The MMCIFDataProcessingFunction instance to copy. |
| None CDPL.Biomol.MMCIFDataProcessingFunction.__init__ | ( | object | callable | ) |
Contructs the MMCIFDataProcessingFunction instance for the specified callable object.
| callable | The callable object to wrap. |
| None CDPL.Biomol.MMCIFDataProcessingFunction.__call__ | ( | MMCIFData | arg1, |
| Chem.MolecularGraph | arg2 | ||
| ) |
Invokes the wrapped callable object with the given arguments.
| arg1 | The first argument to forward. |
| arg2 | The second argument to forward. |
| bool CDPL.Biomol.MMCIFDataProcessingFunction.__bool__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise. | bool CDPL.Biomol.MMCIFDataProcessingFunction.__nonzero__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise.