libSBML Python API
5.18.0
|
Auto-detect Python class getX/setX methods.
This class is attached to SBase and automatically applies for all classes which inherit from it. Its purpose is to make libSBML more convenient to use from Python. It works by analyzing classes at class creation time (not at instantiation) and adding corresponding properties (directly calling C methods where possible) to the class dictionary.
Public Member Functions | |
def | __new__ (cls, classname, bases, classdict) |
Iterate over the items in the classdict looking for get/set pairs and declaring them as properties. More... | |
def libsbml.AutoProperty.__new__ | ( | cls, | |
classname, | |||
bases, | |||
classdict | |||
) |
Iterate over the items in the classdict looking for get/set pairs and declaring them as properties.