school/cs142/final/campus.h
2016-04-06 20:45:34 -07:00

28 lines
627 B
C++

#ifndef __CAMPUS_H__
#define __CAMPUS_H__
#include "employee.h"
#include <vector>
using namespace std;
class campus {
private:
vector<employee*> workers;
public:
void add_worker();
void add_worker_from_parse(string name, string type, double pay_rate);
void delete_worker();
void display_worker();
void sort_worker();
void advance_month();
void set_hours();
void add_files(campus c);
void sort_name();
void sort_pay();
bool contains(string name);
friend ostream & operator<<(ostream & os, campus & t);
};
#endif