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

Class NestedConfiguration

source code

+
+            object --+    
+                     |    
+UserDict.DictMixin --+    
+                     |    
+         Configuration --+
+                         |
+                        NestedConfiguration
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Instance Methods[hide private]
+
+   + + + + + + +
__init__(self)
+ Initialization.
+ source code + +
+ +
+   + + + + + + +
isBuildable(self) + source code + +
+ +
+   + + + + + + +
_addPropertyValue(self, + key, + value, + parseList=True)
+ Adds a property value to the configuration.
+ 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 + +
+ +
+

Inherited from Configuration: + __str__, + get, + get_boolean, + get_int, + get_list, + interpolate +

+

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]
+
+

Inherited from Configuration: + key_re +

+
+ + + + + + + + + +
+ + + + + +
Properties[hide private]
+
+

Inherited from object: + __class__ +

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

__init__(self) +
(Constructor) +

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

_addPropertyValue(self, + key, + value, + parseList=True) +

+
source code  +
+ +

Adds a property value to the configuration.

+

If the property does not exist, it is added without modification. +If there is already a single value matching the key, the value is replaced by a list +containing the original and new values. +If there is already a list, the new value is added to the list.

+

The value is first processed in case it also represents a list of values, +e.g. comma-separated values.

+
+
+
+
+ +
+ +
+ + +
+

__getitem__(self, + key, + interpolate=True) +
(Indexing operator) +

+
source code  +
+ + Get an item from the configuration via dictionary interface. +
+
Overrides: + Configuration.__getitem__ +
(inherited documentation)
+ +
+
+
+ +
+ +
+ + +
+

__setitem__(self, + key, + item) +
(Index assignment operator) +

+
source code  +
+ + Set an item from the configuration via dictionary interface. +
+
Overrides: + Configuration.__setitem__ +
(inherited documentation)
+ +
+
+
+ +
+ +
+ + +
+

__delitem__(self, + key) +
(Index deletion operator) +

+
source code  +
+ + Remove an item from the configuration via dictionary interface. +
+
Overrides: + Configuration.__delitem__ +
(inherited documentation)
+ +
+
+
+ +
+ +
+ + +
+

keys(self) +

+
source code  +
+ + Get the list of item keys. +
+
Overrides: + Configuration.keys +
(inherited documentation)
+ +
+
+
+ +
+ +
+ + +
+

match_name(self, + name) +

+
source code  +
+ + See if the given name matches the name of this configuration. +
+
Overrides: + Configuration.match_name +
(inherited documentation)
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +