/***************************************** * Instructions * - Replace 'uwuserid' with your uWaterloo User ID * - Select the current calendar term and enter the year * - List students with whom you had discussions and who helped you * * uWaterloo User ID: uwuserid @uwaterloo.ca * Submitted for ECE 250 * Department of Electrical and Computer Engineering * University of Waterloo * Calender Term of Submission: (Winter|Spring|Fall) 201N * * By submitting this file, I affirm that * I am the author of all modifications to * the provided code. * * The following is a list of uWaterloo User IDs of those students * I had discussions with in preparing this project: * - * * The following is a list of uWaterloo User IDs of those students * who helped me with this project (describe their help; e.g., debugging): * - *****************************************/ #ifndef B_TREE_H #define B_TREE_H #ifndef nullptr #define nullptr 0 #endif #include "ece250.h" #include "B_tree_node.h" template class B_tree; template class B_tree { private: B_tree_node *tree_root; public: B_tree(); ~B_tree(); B_tree_node *root() const; int size() const; bool empty() const; int count( Type const & ) const; void draw() const; void insert( Type const & ); }; template B_tree::B_tree(): tree_root( new B_tree_node() ) { // empty } template B_tree::~B_tree() { } template B_tree_node *B_tree::root() const { return 0; } template bool B_tree::empty() const { return 1; } template int B_tree::size() const { return 0; } template int B_tree::count( Type const &obj ) const { return 0; } template void B_tree::draw() const { tree_root->draw(); } template void B_tree::insert( Type const &obj ) { } #endif