-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEmail.h
More file actions
32 lines (30 loc) · 801 Bytes
/
Email.h
File metadata and controls
32 lines (30 loc) · 801 Bytes
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
/*********************************************************
* file name: Email.h
* programmer name: David Luo
* date created: 2020/02/04
* date of last revision: 2020/02/05
* details of the revision: N/A
* short description: Class which includes address & type (university, personal)
**********************************************************/
#pragma once
#ifndef EMAIL_H
#define EMAIL_H
#include <string>
using namespace std;
namespace team3Luo {
class Email {
private:
string address, type;
public:
Email();
Email(string, string); //constructor
Email(const Email& p); //copy constructor
//mutators
void setAddress(string);
void setType(string);
//accessors
string getAddress() const;
string getType() const;
};
}
#endif