CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
python.Node.Node Class Reference
Inheritance diagram for python.Node.Node:
python.Node.LeafNode

Public Member Functions

def __getattr__
 
def __init__
 
def __repr__
 
def __setattr__
 
def empty
 

Detailed Description

Definition at line 1 of file Node.py.

Constructor & Destructor Documentation

def python.Node.Node.__init__ (   self)
__init__

Definition at line 2 of file Node.py.

2 
3  def __init__( self ):
4  """__init__
5  """
6  self.__dict__.setdefault('nodeid',0)
7  self.__dict__.setdefault('nodelabel','ROOT')
8  self.__dict__.setdefault('lft',0)
9  self.__dict__.setdefault('rgt',0)
10  self.__dict__.setdefault('parentid',0)
11  self.__dict__.setdefault('globalsince',0)
12  self.__dict__.setdefault('globaltill',0)
self.__dict__.setdefault('tagid',0)
def __init__
Definition: Node.py:2

Member Function Documentation

def python.Node.Node.__getattr__ (   self,
  name 
)

Definition at line 21 of file Node.py.

Referenced by VarParsing.VarParsing.setType().

21 
22  def __getattr__( self, name ):
23  if not name in self.__dict__:
24  raise AttributeError("Unknown attribute "+name)
return self.__dict__[name]
def __getattr__
Definition: Node.py:21
def python.Node.Node.__repr__ (   self)
__repr__

Definition at line 13 of file Node.py.

13 
14  def __repr__( self ):
15  """__repr__
16  """
return self.__dict__.__repr__()
def __repr__
Definition: Node.py:13
def python.Node.Node.__setattr__ (   self,
  name,
  value 
)

Definition at line 17 of file Node.py.

Referenced by python.Node.LeafNode.__init__(), Config.Process._findPreferred(), and Config.Process.extend().

17 
18  def __setattr__( self, name, value ):
19  if not name in self.__dict__:
20  raise AttributeError("Unknown attribute "+name)
self.__dict__[name]=value
def __setattr__
Definition: Node.py:17
def python.Node.Node.empty (   self)

Definition at line 25 of file Node.py.

Referenced by Vispa.Gui.VispaWidget.TextField.setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField.setAutotruncate().

25 
26  def empty( self ):
27  if self.__dict__['nodelabel']=='':
28  return True
return False