Package PyFoam :: Package Basics :: Module PyFoamConfiguration :: Class PyFoamConfiguration
[hide private]
[frames] | no frames]

Class PyFoamConfiguration



ConfigParser.RawConfigParser --+    
                               |    
       ConfigParser.ConfigParser --+
                                   |
                                  PyFoamConfiguration

Reads the settings from files (if existing). Otherwise uses hardcoded defaults

Instance Methods [hide private]
  __init__(self)
Constructs the ConfigParser and fills it with the hardcoded defaults
  dump(self)
Dumps the contents in INI-Form

Inherited from ConfigParser.ConfigParser: get, items

Inherited from ConfigParser.ConfigParser (private): _interpolate

Inherited from ConfigParser.RawConfigParser: add_section, defaults, getboolean, getfloat, getint, has_option, has_section, options, optionxform, read, readfp, remove_option, remove_section, sections, set, write

Inherited from ConfigParser.RawConfigParser (private): _get, _read


Class Variables [hide private]

Inherited from ConfigParser.RawConfigParser: OPTCRE, SECTCRE

Inherited from ConfigParser.RawConfigParser (private): _boolean_states


Method Details [hide private]

__init__(self)
(Constructor)

 
Constructs the ConfigParser and fills it with the hardcoded defaults
Overrides: ConfigParser.RawConfigParser.__init__

dump(self)

 
Dumps the contents in INI-Form
Returns:
a string with the contents