// Specification file for the Park class // Written By: Iurii Tatishchev // Reviewed by: Iurii Tatishchev // IDE: CLion #ifndef PARK_H #define PARK_H // #include #include // #include // using namespace std; // ^^^^^ This statement // in a header file of a complex project could create // namespace management problems for the entire project // (such as name collisions). // Do not write using namespace at the top level in a header file! using std::string; class Park { private: string code; // the unique park identifier string state; string name; string description; int year; public: //constructors Park(); Park(string, string, string, string, int); //setters void setCode(string cd) { code = cd; } void setState(string st) { state = st; } void setName(string nm) { name = nm; } void setDesc(int dsc) { description = dsc; } void setYear(int yr) { year = yr; } //getters string getCode() const { return code; } string getState() const { return state; } string getName() const { return name; } string getDesc() const { return description; } int getYear() const { return year; } //other functions friend std::ostream &operator<<(std::ostream &, const Park &); void vDisplay() const; }; #endif