palmmeteo.config.ConfigObj(3)

NAME
palmmeteo.config.ConfigObj

SYNOPSIS

Inherits object.

  Public Member Functions
__init__ (self, parent=None, name=None)
__getattr__ (self, name)
__getitem__ (self, key)
__contains__ (self, key)
__iter__ (self)

  Protected Member Functions
_ingest_dict (self, d, overwrite=True, extend=False, check_exist=False)
_ingest_module_config (self, modname)
_get_path (self)

  Protected Attributes
_parent
_name
_settings

Detailed Description

A recursive object within a hierarchical configuration, representing
a (sub)section as a dictionary from the YAML configuration file. Child
nodes may be accessed both by the dot notation (section.setting) and the
item notation (section['setting']).

Constructor & Destructor Documentation

  palmmeteo.config.ConfigObj.__init__ ( self, parent = None, name = None)

Member Function Documentation

  palmmeteo.config.ConfigObj.__contains__ ( self, key)

  palmmeteo.config.ConfigObj.__getattr__ ( self, name)

  palmmeteo.config.ConfigObj.__getitem__ ( self, key)

  palmmeteo.config.ConfigObj.__iter__ ( self)

  palmmeteo.config.ConfigObj._get_path ( self) [protected]

  palmmeteo.config.ConfigObj._ingest_dict ( self, d, overwrite = True, extend = False, check_exist = False) [protected]

  palmmeteo.config.ConfigObj._ingest_module_config ( self, modname) [protected]

Locates the initial configuration file config_init.yaml within module
code and ingests it.

Member Data Documentation

  palmmeteo.config.ConfigObj._name [protected]

  palmmeteo.config.ConfigObj._parent [protected]

  palmmeteo.config.ConfigObj._settings [protected]

Author

Generated automatically by Doxygen for PALM-meteo from the source code.