HNode
class description - source file - inheritance tree (.pdf)
public:
HNode()
HNode(Text_t* name, Text_t* title)
HNode(const HNode&)
~HNode()
virtual void activateBranch(TTree* tree)
void addSubNode(HNode* aSon)
Bool_t addSubNodeAt(Int_t idx, HNode* aSon)
virtual void Browse(TBrowser* b)
static TClass* Class()
virtual void Clear()
virtual void Delete()
HNode* getFirstSubNode()
HNode* getLastSubNode()
HNode* getSubNode(Int_t i)
virtual TClass* IsA() const
virtual Bool_t IsFolder() const
virtual void makeBranch(TBranch* parent)
HNode& operator=(const HNode&)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
TObjArray* fSubNodes || Subnodes of this node
Int_t fNSubNodes || Number of subnodes for this node
HNode
This is an utility class to build generic trees (not Root trees) like
an HSplitTree or a reconstruction tree.
A tree is made of arcs (lines joining two nodes) and nodes (the points at
the end or begin of a tree), so a HNode represents one node. This can be
clarified by the following picture:
So, a HNode supports its subnodes (its sons) and provides functions to
access those subnodes and to add new subnodes.
HNode(void) : TNamed ("node","generic node")
Allocates a generic node
HNode(Text_t *name,Text_t *title) : TNamed(name,title)
Allocates a node with name "name" and title "title"
~HNode(void)
Deletes the subnodes hanging from this one
void makeBranch(TBranch *parent)
Utility function to build Root trees from trees made from HNode's
void activateBranch(TTree *tree)
Activates the branches in the Root TTree "tree" that match those defined
in this node
HNode* getSubNode(Int_t i)
Returns the subnode number i
HNode* getFirstSubNode(void)
Returns the first subnode
HNode* getLastSubNode(void)
Returns the last subnode
void addSubNode(HNode *aSon)
Adds a new subnode (aSon) and modifies its title to include the title of
the parent node
Bool_t addSubNodeAt(Int_t idx,HNode *aSon)
void Clear(void)
Pass the clear signal to each subnode
void Delete(void)
Deletes subnodes
Inline Functions
Bool_t IsFolder() const
void Browse(TBrowser* b)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HNode HNode(const HNode&)
HNode& operator=(const HNode&)
Author: Manuel Sanchez
Last update: 14/04/98 by Manuel Sanchez
Copyright GENP (Univ. Santiago de Comp.)
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.