-
Notifications
You must be signed in to change notification settings - Fork 0
/
clsPerson.cpp
59 lines (47 loc) · 893 Bytes
/
clsPerson.cpp
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
#include "clsPerson.h"
clsPerson::clsPerson(string FirstName, string LastName, string Email, string Phone)
: _FirstName(FirstName), _LastName(LastName), _Email(Email), _Phone(Phone) {}
string clsPerson::GetFirstName()
{
return _FirstName;
}
void clsPerson::SetFirstName(string FirstName)
{
_FirstName = FirstName;
}
string clsPerson::GetLastName()
{
return _LastName;
}
void clsPerson::SetLastName(string LastName)
{
_LastName = LastName;
}
string clsPerson::GetEmail()
{
return _Email;
}
void clsPerson::SetEmail(string Email)
{
_Email = Email;
}
string clsPerson::GetPhone()
{
return _Phone;
}
void clsPerson::SetPhone(string Phone)
{
_Phone = Phone;
}
bool clsPerson::GetMarkForDeletion()
{
return _MarkForDeletion;
}
void clsPerson::SetMarkForDeletion(bool Mark)
{
_MarkForDeletion = Mark;
}
string clsPerson::GetFullName()
{
return _FirstName + " " + _LastName;
}