// Host Status // // Douglas Thrift // // $Id$ #ifndef _Host_hpp_ #define _Host_hpp_ #include "HostStatus.hpp" class Host { private: string host; string name; string address; string platform; string since; public: Host() {} ~Host() {} void setHost(const string& host) { this->host = host; } void setName(const string& name) { this->name = name; } void setAddress(const string& address) { this->address = address; } void setPlatform(const string& platform) { this->platform = platform; } void setSince(const string& since); string getHost() const { return host; } string getName() const { return name; } string getAddress() const { return address; } string getPlatform() const { return platform; } string getSince() const { return since; } // friends: friend ostream& operator<<(ostream& output, Host& host); friend istream& operator>>(istream& input, Host& host); }; #endif // _Host_hpp_