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 
00019 typedef desired-type-of-search-key KeyType;
00020 
00021 class KeyedItem
00022 {
00023 public:
00024    KeyedItem() {}
00025    KeyedItem(const KeyType& keyValue)
00026              : searchKey(keyValue) {}
00027    KeyType getKey() const // returns search key
00028    {  return searchKey;
00029    }  // end getKey
00030 private:
00031    KeyType searchKey;
00032 }; // end KeyedItem

Generated on Sun Aug 27 22:18:13 2006 for AWLogo by  doxygen 1.4.6