text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

Person.h

Go to the documentation of this file.
00001 
00015 class Person : public KeyedItem
00016 {
00017 public:
00018    Person() : KeyedItem() {}
00019    Person(const string& name,
00020           const string& id,
00021           const string& phone)
00022       : KeyedItem(name), idNum(id),
00023       phoneNumber(phone) {}
00024 private:
00025    // Key item is the person's name
00026    string idNum;
00027    string phoneNumber;
00028    //... and other data about the person
00029 }; // end Person

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