-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPostgraduateStudent_Task3.h
More file actions
70 lines (57 loc) · 1.59 KB
/
PostgraduateStudent_Task3.h
File metadata and controls
70 lines (57 loc) · 1.59 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/** PostgraduateStudent class inherited from Student class.
*
* #include "PostgraduateStudent_Task3.h" <BR>
* -llib
*
*/
#ifndef POSTGRAD_STUDENT_TASK3_H
#define POSTGRAD_STUDENT_TASK3_H
// SYSTEM INCLUDES
#include<iostream>
// LOCAL INCLUDES
#include "Student_Task1.h"
// PostgraduateStudent class definition
class PostgraduateStudent : public Student {
public:
// LIFECYCLE
/** Default + Overloaded constructor.
*/
PostgraduateStudent(char* = NULL, int = 0, char = '/0', char* = NULL, char* = NULL, int = 0, int = 0);
/** Copy constructor.
*/
PostgraduateStudent(const PostgraduateStudent&);
/** assignment operator.
*/
PostgraduateStudent& operator =(const PostgraduateStudent&);
// Use compiler-generated destructor.
// ~PostgraduateStudent();
// OPERATIONS
/** function that depicts teaching of PostgraduateStudent.
*
* @param void
*
* @return void
*/
void Teach();
// ACCESS
// setters
void SetProgramLength(int = 0);
void SetPostgraduateStudent(char* = NULL, int = 0, char = '/0', char* = NULL, int = 0, int = 0);
/**
# @overload void SetPostgraduateStudent(int = 0);
*/
void SetPostgraduateStudent(int = 0);
/**
# @overload void SetPostgraduateStudent(const PostgraduateStudent& aPostgraduateStudent);
*/
void SetPostgraduateStudent(const PostgraduateStudent& aPostgraduateStudent);
// getters
int GetProgramLength()const;
const PostgraduateStudent& GetPostgraduateStudent()const;
private:
// DATA MEMBERS
int mProgramLength;
};
// end class PostgraduateStudent
#endif
// _POSTGRAD_STUDENT_TASK3_H_