![]() |
Data Abstraction and Problem Solving with C++Walls and Mirrorsby Frank M. Carrano |
![]() |
KeyedItem540.hGo to the documentation of this file.00001 00017 class KeyedItem 00018 { 00019 public: 00020 KeyedItem() {} 00021 KeyedItem(const KeyType& keyValue) 00022 : searchKey(keyValue) {} 00023 KeyType getKey() const // returns search key 00024 { 00025 return searchKey; 00026 } // end getKey 00027 private: 00028 KeyType searchKey; 00029 }; // end KeyedItem |