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
|
#ifndef CONTACT_H
#define CONTACT_H
#include <cstdlib>
#include <vector>
#include <iostream>
#include <string>
using namespace std;
class Contact
{
private:
string recNum;
string firstName;
string lastName;
string address;
string email;
unsigned phoneNum;
unsigned meeting;
string notes;
public:
Contact()
{
}
Contact(string recIn , string fNameIn, string lNameIn, string addressIn, string emailIn, unsigned phoneNumIn, unsigned meetingIn, string notesIn)
:recNum(recIn), firstName(fNameIn), lastName(lNameIn), address(addressIn), email(emailIn), phoneNum(phoneNumIn), meeting(meetingIn), notes(notesIn)
{
}
void setRecNum(string recIn);
void setFirstName(string fNameIn);
void setLastName(string lNameIn);
void setAddress(string addressIn);
void setEmail(string emailIn);
void setPhoneNum(unsigned phoneNumIn);
void setMeeting(unsigned meetingIn);
void setNotes(string notesIn);
string getRecNum() const;
string getFirstName() const;
string getLastName() const;
string getAddress() const;
string getEmail() const;
unsigned getPhoneNum() const;
unsigned getMeeting() const;
string getNotes() const;
};
ostream &operator<<(ostream &os, const Contact &contact);
#endif /* CONTACT_H */
|