Пример #1
0
void ExtPersonType::setInfo(string firstName, string lastName, AddressType addressType, DateType dateType, string phoneN, string stat)
{
	string st, city, state, zip;
	int m, d, y;
	
	this->setName(firstName, lastName);
	addressType.getAddress(st, city, state, zip);
	address.setAddress(st, city, state, zip);
	dateType.getDate(m, d, y);
	dob.setDate(m, d, y);
	phoneNumber = phoneN;
	personStatus = stat;
}