-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMailingAddress.h
More file actions
42 lines (41 loc) · 1.18 KB
/
Copy pathMailingAddress.h
File metadata and controls
42 lines (41 loc) · 1.18 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
/*********************************************************
* file name: MailingAddress.h
* programmer name: Lukas Belashov
* date created:2/4/2020
* date of last revision:2/4/2020
* details of the revision: None
* short description: The MailingAddress Class is a class that stores information about a student's mailing address.
**********************************************************/
#ifndef MAILINGADDRESS_H
#define MAILINGADDRESS_H
#include <string>
using namespace std;
namespace team3Belashov
{
class MailingAddress
{
private:
string street;
string city;
string state;
int zip;
string type;
public:
//constructor
MailingAddress(string street = "unknown street", string city = "unknown city", string state = "PA", int zip = 00000, string type = "local");
MailingAddress(const MailingAddress& s);
//mutator functions
void setStreet(string street);
void setCity(string city);
void setState(string state);
void setZip(int zip);
void setType(string type);
//accessor functions
string getStreet() const;
string getCity() const;
string getState() const;
int getZip() const;
string getType() const;
};
}
#endif