![]() |
Data Abstraction and Problem Solving with C++Walls and Mirrorsby Frank M. Carrano |
![]() |
TreeNodeRedBlack.hGo to the documentation of this file.00001 00015 enum Color {RED, BLACK}; 00016 00017 class TreeNode 00018 { 00019 private: 00020 TreeItemType Item; 00021 TreeNode *leftChildPtr, *rightChildPtr; 00022 Color leftColor, rightColor; 00023 00024 friend class RedBlackTree; 00025 }; // end TreeNode |