Previous topic

qarbon.log

Next topic

qarbon.plugin

This Page

qarbon.node

Node module.

Classes

Node Node class representing a node in a tree.
class qarbon.node.Node(name, parent=None)[source]

Bases: object

Node class representing a node in a tree.

A strong reference is kept on the parent node. Weak references are kept on the childs.

name[source]
get_parent()[source]
get_children()[source]
get_child(name)[source]
has_child(name)[source]
add_child(name, child)[source]