#ifndef DOG_H #define DOG_H #include using namespace std; class Dog { public: // Creates a dog. A dog must have a name and a birth year. Dog(const string &name, unsigned int birthyear); //Null Constructor Dog(); // Returns the name of the dog string GetName() const; // Gives the Dog a new name void SetName(const string &name); // Gives the Dog a new name void SetBirthYear(unsigned int bYear); // Returns the name of the owner string GetOwner() const; // Gives the Dog a new owner void SetOwner(const string &owner); // Returns the age of the dog at a given year unsigned int GetAge(unsigned int current_year) const; bool operator==(const Dog & rhs); // Abuse the dog void Abuse(); // Pat the dog void Pat(); // See how the dog is feeling string GetHappiness() const; // Prompt the dog to talk to you void Talk() const; private: string m_name; unsigned int m_birthyear; string m_owner; int m_happiness; }; #endif