text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

KeyedItem559.h

Go to the documentation of this file.
00001 
00017 typedef desired-type-of-search-key KeyType;
00018 
00021 class KeyedItem
00022 {
00023 public:
00024    KeyedItem() {}
00025    KeyedItem(const KeyType& keyValue)
00026       : searchKey(keyValue) {}
00027    KeyType getKey() const
00028    {  return searchKey;
00029    }  // end getKey
00030 private:
00031    KeyType searchKey;
00032 }; // end KeyedItem

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