p-Parking-Garage / CSC330_MidtermProj_Parking / Person.cpp
Person.cpp
Raw
// Person Implementation File
//


#include <iostream>
#include "Person.h"

using namespace std;

Person::Person()
{
	total = 0;
	name = "";
}
Person::Person(string inName)
{
	name = inName;
}

string Person::getName()
{
	return name;
}

void Person::setName(string inName)
{
	name = inName;
}

int Person::getTotal() // if we wanted to do a total head count, we could
{
	return total;
}

void Person::setTotal(int inTotal)
{
	total = inTotal;
}

string Person::getLicensePlate()
{
	return 0; // return 0, will not access directly through Person class
}

int Person::getTimeReserved()
{
	return 0; // return 0, will not access directly through Person class
}

void Person::createGuestTxt(ofstream &empty, Person & none)
{
	// keep empty
}