gavra

CNode

May 22nd, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. #include "RBNode.h"
  2. #include "Customer.h"
  3.  
  4. class CNode : RBNode
  5. {
  6.     private:
  7.         Customer* customer; // customer info object
  8.         int count; // books count
  9.         int left_max_count, right_max_count; // books count for left & right trees
  10.  
  11.     public:
  12.         CNode(Customer* customer, int key);
  13. };
Advertisement
Add Comment
Please, Sign In to add comment