Shark_libs::export_structures::Block Class Reference

Block(Element). More...

Inheritance diagram for Shark_libs::export_structures::Block:

Shark_libs::export_structures::Element

List of all members.

Public Member Functions

def __init__
 Constructor of Block.
def append
 Appends new child to this element.
def to_string
 Converts this element to string representation.
def print_tree
 Prints element representation.

Public Attributes

 name
 Element name.
 parent
 Element's parent.
 value
 Value of this element.
 size
 Size of the value.
 pos
 Position.
 elementType
 Element type identifier.
 children
 Element children list.


Detailed Description

Block(Element).

Element that can contain other elements.

Author:
Stepan Henek

Member Function Documentation

def Shark_libs::export_structures::Block::__init__ (   self,
  name,
  parent,
  value,
  size,
  pos 
)

Constructor of Block.

Parameters:
self The object pointer.
name Element name.
parent Element's parent.
value Value of this element.
size Size of the value.
pos Position.

def Shark_libs::export_structures::Block::append (   self,
  child 
)

Appends new child to this element.

Parameters:
child Node to be appended as new child.

def Shark_libs::export_structures::Block::print_tree (   self,
  level 
)

Prints element representation.

Parameters:
self The object pointer.
level Tree node depth.

Reimplemented from Shark_libs::export_structures::Element.

def Shark_libs::export_structures::Block::to_string (   self  ) 

Converts this element to string representation.

Parameters:
self The object pointer.


Member Data Documentation

Element children list.

Element type identifier.

Element's parent.

Reimplemented from Shark_libs::export_structures::Element.

Position.

Size of the value.

Value of this element.


The documentation for this class was generated from the following file:

Generated on Sat Sep 4 18:19:36 2010 for HotFuzz by  doxygen 1.5.8