diff -r 7685cec9fd3c -r f2ddfa555b0f doc/api/python/configuration.Configuration-class.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/api/python/configuration.Configuration-class.html Fri Sep 11 11:54:49 2009 +0100 @@ -0,0 +1,516 @@ + + + + + configuration.Configuration + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Module configuration :: + Class Configuration + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Class Configuration

source code

+
+            object --+
+                     |
+UserDict.DictMixin --+
+                     |
+                    Configuration
+
+ +
+Base Configuration objects.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Instance Methods[hide private]
+
+   + + + + + + +
__init__(self, + data=None)
+ Initialization.
+ source code + +
+ +
+   + + + + + + +
__getitem__(self, + key, + interpolate=True)
+ Get an item from the configuration via dictionary interface.
+ source code + +
+ +
+   + + + + + + +
__setitem__(self, + key, + item)
+ Set an item from the configuration via dictionary interface.
+ source code + +
+ +
+   + + + + + + +
__delitem__(self, + key)
+ Remove an item from the configuration via dictionary interface.
+ source code + +
+ +
+   + + + + + + +
keys(self)
+ Get the list of item keys.
+ source code + +
+ +
+   + + + + + + +
match_name(self, + name)
+ See if the given name matches the name of this configuration.
+ source code + +
+ +
+   + + + + + + +
get(self, + key, + default_value)
+ Get an item from the configuration.
+ source code + +
+ +
+   + + + + + + +
get_list(self, + key, + default_value) + source code + +
+ +
+   + + + + + + +
get_int(self, + key, + default_value) + source code + +
+ +
+   + + + + + + +
get_boolean(self, + key, + default_value) + source code + +
+ +
+   + + + + + + +
interpolate(self, + value)
+ Search for patterns of the form '${..}' and insert matching values.
+ source code + +
+ +
+   + + + + + + +
__str__(self)
+ str(x)
+ source code + +
+ +
+

Inherited from object: + __delattr__, + __getattribute__, + __hash__, + __new__, + __reduce__, + __reduce_ex__, + __repr__, + __setattr__ +

+

Inherited from UserDict.DictMixin: + __cmp__, + __contains__, + __iter__, + __len__, + clear, + has_key, + items, + iteritems, + iterkeys, + itervalues, + pop, + popitem, + setdefault, + update, + values +

+
+ + + + + + + + + +
+ + + + + +
Class Variables[hide private]
+
+   + + key_re = re.compile(r'\${(?P<name>[._a-zA-Z0-9]+)}', re.M) +
+ + + + + + + + + +
+ + + + + +
Properties[hide private]
+
+

Inherited from object: + __class__ +

+
+ + + + + + +
+ + + + + +
Method Details[hide private]
+
+ +
+ +
+ + +
+

__init__(self, + data=None) +
(Constructor) +

+
source code  +
+ + Initialization. +
+
Overrides: + object.__init__ +
+
+
+
+ +
+ +
+ + +
+

get(self, + key, + default_value) +

+
source code  +
+ + Get an item from the configuration. +
+
Overrides: + UserDict.DictMixin.get +
+
+
+
+ +
+ +
+ + +
+

__str__(self) +
(Informal representation operator) +

+
source code  +
+ + str(x) +
+
Overrides: + object.__str__ +
(inherited documentation)
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +