// Entry.h // a node in the BST #ifndef ENTRY_CLASS #define ENTRY_CLASS #include class Entry { std::string word; Entry *left; Entry *right; public: // default constructor // initializes word to "" and left and right to NULL Entry(); // constructor when string is known Entry(std::string wordIn); // copy constructor // makes a copy of "other" Entry(const Entry & other); // getter for word std::string getWord(); // setter for word void setWord(std::string wordIn); // accessor for left Entry * getLeft(); // accessor for right Entry * getRight(); // mutator for left void setLeft(Entry* leftIn); // mutator for right void setRight(Entry* rightIn); private: // YOU MAY ADD ANY PRIVATE FUNCTIONS HERE }; #endif // ENTRY_CLASS