libSBML Python API  5.8.0
 All Classes Namespaces Files Functions Variables Pages
libsbml.AutoProperty Class Reference
Inheritance diagram for libsbml.AutoProperty:
[legend]

Detailed Description

A metaclass for automatically detecting getX/setX methods at class creation time (not instantiation), and adding properties (directly calling C methods where possible) to the class dictionary.

Public Member Functions

def __new__
 

Member Function Documentation

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.