Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | Friends | List of all members
TreeNode< Data > Class Template Reference

#include <tree.hh>

Collaboration diagram for TreeNode< Data >:
Collaboration graph
[legend]

Public Member Functions

 TreeNode (TreeNode *prt, Data dta)
 
 ~TreeNode ()
 
TreeNodeparent () const
 
Data data () const
 
G4int childCount () const
 
TreeNodefirstChild () const
 
TreeNodenextSibling () const
 
TreeNodelastChild () const
 

Protected Attributes

TreeNodeparent_
 
TreeNodefirstChild_
 
TreeNodelastChild_
 
TreeNodenextSibling_
 
Data data_
 

Friends

class TreeNodeIterator< Data >
 

Detailed Description

template<class Data>
class TreeNode< Data >

Definition at line 56 of file tree.hh.

Constructor & Destructor Documentation

template<class Data>
TreeNode< Data >::TreeNode ( TreeNode< Data > *  prt,
Data  dta 
)
inline

Definition at line 63 of file tree.hh.

template<class Data>
TreeNode< Data >::~TreeNode ( )
inline

Definition at line 82 of file tree.hh.

Member Function Documentation

template<class Data>
G4int TreeNode< Data >::childCount ( ) const
inline

Definition at line 99 of file tree.hh.

Here is the caller graph for this function:

template<class Data>
Data TreeNode< Data >::data ( ) const
inline

Definition at line 97 of file tree.hh.

Here is the caller graph for this function:

template<class Data>
TreeNode* TreeNode< Data >::firstChild ( ) const
inline

Definition at line 109 of file tree.hh.

Here is the caller graph for this function:

template<class Data>
TreeNode* TreeNode< Data >::lastChild ( ) const
inline

Definition at line 111 of file tree.hh.

template<class Data>
TreeNode* TreeNode< Data >::nextSibling ( ) const
inline

Definition at line 110 of file tree.hh.

Here is the caller graph for this function:

template<class Data>
TreeNode* TreeNode< Data >::parent ( ) const
inline

Definition at line 96 of file tree.hh.

Here is the caller graph for this function:

Friends And Related Function Documentation

template<class Data>
friend class TreeNodeIterator< Data >
friend

Definition at line 59 of file tree.hh.

Member Data Documentation

template<class Data>
Data TreeNode< Data >::data_
protected

Definition at line 119 of file tree.hh.

template<class Data>
TreeNode* TreeNode< Data >::firstChild_
protected

Definition at line 116 of file tree.hh.

template<class Data>
TreeNode* TreeNode< Data >::lastChild_
protected

Definition at line 117 of file tree.hh.

template<class Data>
TreeNode* TreeNode< Data >::nextSibling_
protected

Definition at line 118 of file tree.hh.

template<class Data>
TreeNode* TreeNode< Data >::parent_
protected

Definition at line 115 of file tree.hh.


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