/* * employee.h * * Created on: 16.05.2013 * Author: trifon */ #ifndef EMPLOYEE_H_ #define EMPLOYEE_H_ #include using namespace std; class Employee { char* position; double salary; private: void copyEmployee(Employee const&); void delEmployee(); public: Employee(); Employee(char const*,double); Employee(Employee const&); Employee& operator=(Employee const&); ~Employee(); double getSalary() const; char const* getPosition() const; void setSalary(double); void setPosition(char const*); void print() const; friend ostream& operator<<(ostream&, Employee const&); }; #endif /* EMPLOYEE_H_ */