Last page update: November 23, 2011
Classes:
Complete reference:
| synopsis: | Structs – an alternative attribute-oriented way to build Bags. |
|---|
This is a subclass of the Bag class that implements functional syntax for adding particular elements to the tree
TODO
| Parameters: |
|
|---|
Set a new item of the tag type into the current structure. Return the new structure if content is None, else the parent
| Parameters: |
|
|---|
Loads the structure from an XML file
| Parameters: | path – path of the file to load |
|---|
Build the root instance for the given class and return it
| Parameters: |
|
|---|
Saves the structure as an XML file
| Parameters: | path – destination path of the saved file |
|---|
It is a tree of GnrObjects classes that it is auto-builded starting from an instance of the GnrStructData class
TODO
TODO
Build a child
| Parameters: | childnode – the child node |
|---|
TODO
| Parameters: | children – TODO |
|---|
Delete a child
| Parameters: | name – the child name |
|---|
TODO
Build a child
| Parameters: |
|
|---|
TODO
| Parameters: | id – the id of the object |
|---|
Build a child
| Parameters: |
|
|---|
Build a child
| Parameters: |
|
|---|
TODO
Same of items method’s dict, applied on the children attribute
Same of keys method’s dict, applied on the children attribute
Instantiate the root element
| Parameters: |
|
|---|
TODO
| Parameters: | child – TODO |
|---|
Hook method on delete action
Same of values method’s dict, applied on the children attribute