hospital.cpp
/*
Programmer: Jennifer Leopold date: November 14, 2014
File: hospital.cpp
Purpose: Implementation file for the Hospital class
*/
#include "hospital.h"
void Hospital::admit(Patient &p)
{
m_the_machine.charge_patient(p);
m_the_machine.apply(p);
return;
}
ostream& operator << (ostream& outs, const Hospital& h)
{
outs << "X-Rayer: " << h.m_the_machine << endl;
outs << "Ounces of Schraut!: " << h.m_schraut;
return(outs);
}