Package pyffi :: Package qskope :: Module global_tree :: Class GlobalTreeItem
[hide private]
[frames] | no frames]

Class GlobalTreeItem

source code

object --+
         |
        GlobalTreeItem

Stores all internal information to vizualize L{GlobalNode}s in a tree view.
Instance Methods [hide private]
 
__init__(self, data=None, parent=None, row=0, edge_type=(True, True), edge_filter=(True, True))
Initialize the node tree hierarchy from the given data.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
list of GlobalTreeItem children
The children of the node.
L{GlobalDetailTreeItemData} data
The item data.
int edge_type
The type of edge from the parent.
type(None) or DetailTreeItem parent
The parent of the node.
int row
The row number of this node, as child.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, data=None, parent=None, row=0, edge_type=(True, True), edge_filter=(True, True))
(Constructor)

source code 
Initialize the node tree hierarchy from the given data.
Overrides: object.__init__

Instance Variable Details [hide private]

edge_type

The type of edge from the parent. Default is 0. The 0 edges must form a spanning directed acyclic graph. Other numbers may form cycles (or not, this is format dependent).
Type:
int