Main Page   Class Hierarchy   Compound List   File List   Compound Members  

guidedog.h

00001 
00002 #ifndef GUIDEDOG_H
00003 #define GUIDEDOG_H
00004 
00005 #include <iostream>
00006 #include <fstream>
00007 #include <string>
00008 #include "dog.h"
00009 
00010 using namespace std;
00011 
00022 class GuideDog : public Dog
00023 {
00024   public:
00025     GuideDog();
00026     GuideDog(string name, char gender, string cid, double weight, string gdid);
00027 
00028     void setGuideDogID(string gdid);
00029     string getGuideDogID() const;
00030 
00031     virtual void read(ifstream &fin);
00032     virtual void print(ostream &out = cout) const;
00033     virtual ~GuideDog();
00034 
00035   protected:
00036     string gdid;
00037 
00038 }; // GuideDog class
00039 
00040 #endif // GUIDEDOG_H
00041 

Generated on Thu Feb 10 16:33:09 2005 by doxygen1.3