QwAnalysis
|
A nodenode is used as a pointer which links treenodes to their siblings. More...
#include <nodenode.h>
Public Member Functions | |
nodenode (nodenode *next=0, treenode *tree=0) | |
Constructor with next and tree pointers. More... | |
~nodenode () | |
Destructor. More... | |
void | SetTree (treenode *tree) |
Set the tree. More... | |
treenode * | GetTree () const |
Get the tree. More... | |
void | SetNext (nodenode *next) |
Set the next node. More... | |
nodenode * | GetNext () const |
Get the next node. More... | |
nodenode * | next () const |
Get the next node (non-standard notation) More... | |
Public Member Functions inherited from QwObjectCounter< nodenode > | |
QwObjectCounter () | |
Default constructor. More... | |
QwObjectCounter (const QwObjectCounter &) | |
Copy constructor. More... | |
virtual | ~QwObjectCounter () |
Destructor. More... | |
Private Attributes | |
nodenode * | fNext |
Pointer to the next node. More... | |
treenode * | fTree |
Pointer to the next tree. More... | |
Static Private Attributes | |
static int | fDebug = 0 |
Additional Inherited Members | |
Static Public Member Functions inherited from QwObjectCounter< nodenode > | |
static size_t | GetObjectsCreated () |
Get number of objects ever created. More... | |
static size_t | GetObjectsAlive () |
Get number of objects still alive. More... | |
A nodenode is used as a pointer which links treenodes to their siblings.
Together with the treenode, any tree pattern can be related to any of its family members. This allows the tree search algorithms to quickly move through the database to identify matching patterns.
Definition at line 42 of file nodenode.h.
Constructor with next and tree pointers.
Constructor with next and tree pointers
next | Pointer to the next node in the linked list |
tree | Pointer to the next tree for this node |
Definition at line 31 of file nodenode.cc.
References fNext, fTree, and next().
QwTracking::nodenode::~nodenode | ( | ) |
|
inline |
Get the next node.
Definition at line 76 of file nodenode.h.
References fNext.
Referenced by QwTrackingTree::nodeexists().
|
inline |
Get the tree.
Definition at line 66 of file nodenode.h.
References fTree.
Referenced by QwTrackingTree::_writetree(), QwTrackingTree::nodeexists(), and QwTracking::treenode::Print().
|
inline |
Get the next node (non-standard notation)
Definition at line 78 of file nodenode.h.
References fNext.
Referenced by QwTrackingTree::_writetree(), nodenode(), and SetNext().
|
inline |
Set the next node.
Definition at line 69 of file nodenode.h.
References QwLog::endl(), fNext, next(), and QwError.
Referenced by QwTrackingTree::marklin().
|
inline |
Set the tree.
Definition at line 61 of file nodenode.h.
References QwLog::endl(), fTree, and QwError.
Referenced by QwTrackingTree::marklin().
|
staticprivate |
Definition at line 78 of file nodenode.h.
|
private |
Pointer to the next node.
Definition at line 54 of file nodenode.h.
Referenced by GetNext(), next(), nodenode(), SetNext(), and ~nodenode().
|
private |
Pointer to the next tree.
Definition at line 56 of file nodenode.h.
Referenced by GetTree(), nodenode(), and SetTree().