text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

TreeNode Class Reference

#include <TreeNode522.h>

List of all members.


Detailed Description

Definition at line 17 of file TreeNode522.h.

Private Member Functions

 TreeNode ()
 TreeNode (const TreeItemType &nodeItem, TreeNode *left=NULL, TreeNode *right=NULL)

Private Attributes

TreeItemType item
TreeNodeleftChildPtr
TreeNoderightChildPtr

Friends

class BinaryTree


Constructor & Destructor Documentation

TreeNode::TreeNode  )  [inline, private]
 

Definition at line 20 of file TreeNode522.h.

TreeNode::TreeNode const TreeItemType nodeItem,
TreeNode left = NULL,
TreeNode right = NULL
[inline, private]
 

Definition at line 21 of file TreeNode522.h.


Friends And Related Function Documentation

friend class BinaryTree [friend]
 

Definition at line 29 of file TreeNode522.h.


Member Data Documentation

TreeItemType TreeNode::item [private]
 

Definition at line 26 of file TreeNode522.h.

Referenced by BinaryTree::getRootData(), BinaryTree::inorder(), BinaryTree::postorder(), and BinaryTree::preorder().

TreeNode* TreeNode::leftChildPtr [private]
 

Definition at line 27 of file TreeNode522.h.

Referenced by BinaryTree::destroyTree(), BinaryTree::getChildPtrs(), BinaryTree::getLeftSubtree(), BinaryTree::inorder(), BinaryTree::postorder(), BinaryTree::preorder(), and BinaryTree::setChildPtrs().

TreeNode* TreeNode::rightChildPtr [private]
 

Definition at line 28 of file TreeNode522.h.

Referenced by BinaryTree::destroyTree(), BinaryTree::getChildPtrs(), BinaryTree::getRightSubtree(), BinaryTree::inorder(), BinaryTree::postorder(), BinaryTree::preorder(), and BinaryTree::setChildPtrs().


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

Generated on Sun Aug 27 21:29:17 2006 for AWLogo by  doxygen 1.4.6