text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

KeyedItem543.h

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

Generated on Sun Aug 27 21:29:26 2006 for AWLogo by  doxygen 1.4.6