class documentation

class VariableSet: (source)

View In Hierarchy

Container object for the variables defined in a config file.

VariableSet can be used as a plain dictionary, with the variable names as keys.

Parameters
dDict of items in the "variables" section of the configuration file.
Method __getitem__ Undocumented
Method __init__ Undocumented
Method __setitem__ Undocumented
Method interpolate Undocumented
Method variables Return the list of variable names.
Method _init_parse Undocumented
Method _init_parse_var Undocumented
Instance Variable _raw_data Undocumented
Instance Variable _re Undocumented
Instance Variable _re_sub Undocumented
def __getitem__(self, name): (source)

Undocumented

def __init__(self, d): (source)

Undocumented

def __setitem__(self, name, value): (source)

Undocumented

def interpolate(self, value): (source)

Undocumented

def variables(self): (source)

Return the list of variable names.

Parameters
None
Returns
list of strnames - The names of all variables in the VariableSet instance.
def _init_parse(self): (source)

Undocumented

def _init_parse_var(self, name, value): (source)

Undocumented

_raw_data = (source)

Undocumented

Undocumented

Undocumented