-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContact.cpp
More file actions
71 lines (60 loc) · 1.75 KB
/
Contact.cpp
File metadata and controls
71 lines (60 loc) · 1.75 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
71
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Contact.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: zelhajou <zelhajou@student.1337.ma> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/27 16:03:59 by zelhajou #+# #+# */
/* Updated: 2024/06/04 13:54:36 by zelhajou ### ########.fr */
/* */
/* ************************************************************************** */
#include "Contact.hpp"
#include <iostream>
#include <iomanip>
Contact::Contact()
{
}
Contact::~Contact()
{
}
void Contact::setFirstName(std::string firstName)
{
this->firstName = firstName;
}
void Contact::setLastName(std::string lastName)
{
this->lastName = lastName;
}
void Contact::setNickName(std::string nickName)
{
this->nickName = nickName;
}
void Contact::setPhoneNumber(std::string phoneNumber)
{
this->phoneNumber = phoneNumber;
}
void Contact::setDarkestSecret(std::string darkestSecret)
{
this->darkestSecret = darkestSecret;
}
std::string Contact::getFirstName()
{
return (this->firstName);
}
std::string Contact::getLastName()
{
return (this->lastName);
}
std::string Contact::getNickName()
{
return (this->nickName);
}
std::string Contact::getPhoneNumber()
{
return (this->phoneNumber);
}
std::string Contact::getDarkestSecret()
{
return (this->darkestSecret);
}