text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

KeyedItem.h

Go to the documentation of this file.
00001 
00018 #include <string>
00019 
00020 using namespace std;
00021 
00022 typedef string KeyType;
00023 
00024 class KeyedItem
00025 {
00026 public:
00027    KeyedItem() {}
00028    KeyedItem(const KeyType& keyValue)
00029       : searchKey(keyValue) {}
00030    KeyType getKey() const
00031    {  return searchKey;
00032    }  // end getKey
00033 private:
00034    KeyType searchKey;
00035 }; // end KeyedItem

Generated on Sun Aug 27 22:04:01 2006 for AWLogo by  doxygen 1.4.6