Main Page   Class Hierarchy   Compound List   File List   Compound Members  

person.h

00001 
00002 #ifndef PERSON_H
00003 #define PERSON_H
00004 
00005 #include <iostream>
00006 #include <fstream>
00007 #include <string>
00008 
00009 using namespace std;
00010 
00019 class Person
00020 {
00021   public:
00022     Person();
00023     Person(string name, string ssn);
00024     void setName(string name);
00025     void setSSN(string ssn);
00026     string getName();
00027     string getSSN();
00028     virtual void print(ostream &out = cout);
00029     virtual void read(ifstream &fin);
00030     virtual ~Person();
00031 
00032   protected:
00033     string name, ssn;
00034 
00035 }; // Person class
00036 
00037 #endif // PERSON_H
00038 

Generated on Fri Feb 6 16:29:56 2004 by doxygen1.3