#include <guidedog.h>
Inheritance diagram for GuideDog:
Public Member Functions | |
GuideDog () | |
GuideDog (string name, char gender, string cid, double weight, string gdid) | |
void | setGuideDogID (string gdid) |
string | getGuideDogID () const |
virtual void | read (ifstream &fin) |
virtual void | print (ostream &out=cout) const |
virtual | ~GuideDog () |
Protected Attributes | |
string | gdid |
|
Default class constructor. |
|
Explicit class constructor initializing this graduate-student object using the arguments name, gender, County ID (cid), weight, and Guide-Dog ID (gdid)
|
|
Destructor. Does nothing but is recommended for classes with virtual methods. |
|
Returns this guide dog's ID (gdid)
|
|
Prints this guide dog's name, gender, County ID (cid), weight, and Guide-Dog ID (gdid) to the ostream out, which defaults to cout.
Reimplemented from Dog. |
|
Read's this guide dog's name, gender, County ID (cid), weight, and Guide-Dog ID (gdid) from the ifstream argument.
Reimplemented from Dog. |
|
Sets this guide dog's ID (gdid)
|