gentree Class Reference

#include <gentree.h>

List of all members.

Public Member Functions

 gentree ()
 gentree (const string &name)
int read (istream &ins)
 ~gentree ()
void showPreorder ()
void showPostorder ()
void showLevelorder ()
void showAsTable (ostream &os) const
void showAsObject (ostream &os) const

Private Attributes

noderoot

Static Private Attributes

static const int step = 2


Constructor & Destructor Documentation

gentree::gentree (  ) 

References node< T >::parent, and root.

gentree::gentree ( const string &  name  ) 

References node< T >::parent, and root.

gentree::~gentree (  ) 

References deltree(), and root.


Member Function Documentation

int gentree::read ( istream ins  ) 

void gentree::showPreorder (  )  [inline]

References preorder(), and root.

void gentree::showPostorder (  )  [inline]

References postorder(), and root.

void gentree::showLevelorder (  )  [inline]

References levelorder(), and root.

void gentree::showAsTable ( ostream &  os  )  const

void gentree::showAsObject ( ostream &  os  )  const


Member Data Documentation

node* gentree::root [private]

const int gentree::step = 2 [static, private]

Referenced by read().


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

Generated on Wed Aug 10 11:57:10 2011 for Softwares from Orpara by  doxygen 1.5.6