fparser Reference Guide  0.0.14
fparser.common.base_classes.AttributeHolder Class Reference

Public Member Functions

def __init__ (self, kws)
 
def __getattr__ (self, name)
 
def __setattr__ (self, name, value)
 
def isempty (self)
 
def __repr__ (self)
 
def torepr (self, depth=-1, tab="")
 
def todict (self)
 

Detailed Description

Defines a object with predefined attributes. Only those attributes
are allowed that are specified as keyword arguments of a constructor.
When an argument is callable then the corresponding attribute will
be read-only and set by the value the callable object returns.

Definition at line 88 of file base_classes.py.


The documentation for this class was generated from the following file: