Persontype H
Persontype H
#ifndef H_extPersonType
#define H_extPersonType
#include <iostream> //utilized to instate basic I/O functionality.
#include <string> //implemented to utilize string datatype.
#include <iomanip> //Required to use various useful manipulators.
#include <fstream> //Required for input/output file processing.
#include "personType.h" //references external header file.
//standard library
using namespace std; //allows the use of cout & endl without 'std::' prefix.
class extPersonType{
public:
void print() const;
void setBirthDate(const dateType);
void getBirthDate(dateType&) const;
void setAddress(const addressType address);
void getAddress(addressType& address) const;
void setPerson(const string, const string);
void getPerson(string&, string&) const;
void setAssociation(const string);
string getAssociation() const;
void setPhone(const string);
string getPhone() const;
void setExtPerson(string, string, int, int, int, string, string, string, int, string, string);
extPersonType(string = "", string = "", int = 1, int = 1, int = 1900, string = "", string = "",
string = "", int = 0, string = "", string = "");
private:
personType person;
dateType birthDate;
addressType myAddress;
string association;
string phone;
};
#endif /* extPersonType_h */