Public Member Functions | Public Attributes

DataStructures::Tree< TreeType > Class Template Reference

#include <DS_Tree.h>

Collaboration diagram for DataStructures::Tree< TreeType >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Tree ()
 Tree (TreeType &inputData)
 ~Tree ()
void LevelOrderTraversal (DataStructures::List< Tree * > &output)
void AddChild (TreeType &newData)
void DeleteDecendants (void)

Public Attributes

TreeType data
DataStructures::List< Tree * > children

Detailed Description

template<class TreeType>
class DataStructures::Tree< TreeType >

Definition at line 23 of file DS_Tree.h.


Constructor & Destructor Documentation

template<class TreeType >
DataStructures::Tree< TreeType >::Tree (  ) 

Definition at line 38 of file DS_Tree.h.

template<class TreeType>
DataStructures::Tree< TreeType >::Tree ( TreeType &  inputData  ) 

Definition at line 44 of file DS_Tree.h.

template<class TreeType >
DataStructures::Tree< TreeType >::~Tree (  ) 

Definition at line 50 of file DS_Tree.h.

Here is the call graph for this function:


Member Function Documentation

template<class TreeType>
void DataStructures::Tree< TreeType >::AddChild ( TreeType &  newData  ) 

Definition at line 75 of file DS_Tree.h.

Here is the call graph for this function:

template<class TreeType >
void DataStructures::Tree< TreeType >::DeleteDecendants ( void   ) 

Definition at line 81 of file DS_Tree.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TreeType >
void DataStructures::Tree< TreeType >::LevelOrderTraversal ( DataStructures::List< Tree< TreeType > * > &  output  ) 

Definition at line 56 of file DS_Tree.h.

Here is the call graph for this function:


Member Data Documentation

template<class TreeType>
DataStructures::List<Tree *> DataStructures::Tree< TreeType >::children

Definition at line 34 of file DS_Tree.h.

template<class TreeType>
TreeType DataStructures::Tree< TreeType >::data

Definition at line 33 of file DS_Tree.h.


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