-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathExecutive.h
55 lines (48 loc) · 1.43 KB
/
Executive.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/** Executive class inherited from SalariedEmp class.
*
* #include "Executive.h" <BR>
* -llib
*
*/
#ifndef EXECUTIVE_H
#define EXECUTIVE_H
// SYSTEM INCLUDES
#include<iostream>
// LOCAL INCLUDES
#include "Manager.h"
// Executive class definition
class Executive : public Manager {
public:
// LIFECYCLE
/** Default + Overloaded constructor.
*/
Executive(const string& = "", const string& = "", const Date& = Date::sGetDefaultDate(), const Date& = Date::sGetDefaultDate(), const Address& = Address::sGetDefaultAddress(), double = 0.0, double = 0.0, const string& = "");
// Use compiler-generated copy constructor, assignment, and destructor.
// Executive(const Executive&);
// Executive& operator=(const Executive&);
// ~Executive();
// OPERATIONS
/** Overriding function that prints all the details of the Executive.
*
* @param void
*
* @return void
*/
void PrintEmployee()const;
// ACCESS
// setters
void SetExecutive(const string& = "", const string& = "", const Address& = Address::sGetDefaultAddress(), double = 0.0, double = 0.0, const string& = "");
/**
# @overload void SetExecutive(const Manager& aManager);
*/
void SetExecutive(const Manager& aManager);
/**
# @overload void SetExecutive(const Executive& aExecutive);
*/
void SetExecutive(const Executive& aExecutive);
// getters
const Executive& GetExecutive()const;
};
// end class Executive
#endif
// _EXECUTIVE_H_