| Trees | Index | Help |
|
|---|
| Package svs_core :: Package utilities :: Module lib :: Class PathBasedCollection |
|
Holds data in a nested structure that can be accessed via pathnames.
The pathnames are defined as list objects which represent a series of nodes.| Method Summary | |
|---|---|
__init__(self)
| |
__str__(self)
| |
Adds entry to collection. | |
| list |
Checks for data at specified path and returns as list if found. |
| Class Variable Summary | |
|---|---|
str |
dataKey = '__data'
|
| Method Details |
|---|
addEntry(self, path, data)Adds entry to collection.
|
get(self, path, defaultReturn=[])Checks for data at specified path and returns as list if found. If no data is found at specified path, returns an empty list or the specifieddefaulrReturn object.
|
| Class Variable Details |
|---|
dataKey
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:28 2005 | http://epydoc.sf.net |