List of all members.
Detailed Description
Definition at line 1 of file Node.py.
Constructor & Destructor Documentation
def python::Node::Node::__init__ |
( |
|
self | ) |
|
Reimplemented in python::Node::LeafNode.
Definition at line 2 of file Node.py.
00003 :
00004 """__init__
00005 """
00006 self.__dict__.setdefault('nodeid',0)
00007 self.__dict__.setdefault('nodelabel','ROOT')
00008 self.__dict__.setdefault('lft',0)
00009 self.__dict__.setdefault('rgt',0)
00010 self.__dict__.setdefault('parentid',0)
00011 self.__dict__.setdefault('globalsince',0)
00012 self.__dict__.setdefault('globaltill',0)
self.__dict__.setdefault('tagid',0)
Member Function Documentation
def python::Node::Node::__getattr__ |
( |
|
self, |
|
|
|
name |
|
) |
| |
Definition at line 21 of file Node.py.
00022 :
00023 if not name in self.__dict__:
00024 raise AttributeError("Unknown attribute "+name)
return self.__dict__[name]
def python::Node::Node::__repr__ |
( |
|
self | ) |
|
def python::Node::Node::__setattr__ |
( |
|
self, |
|
|
|
name, |
|
|
|
value |
|
) |
| |
Definition at line 17 of file Node.py.
00018 :
00019 if not name in self.__dict__:
00020 raise AttributeError("Unknown attribute "+name)
self.__dict__[name]=value
def python::Node::Node::empty |
( |
|
self | ) |
|
Definition at line 25 of file Node.py.
00026 :
00027 if self.__dict__['nodelabel']=='':
00028 return True
return False