FRED
Vaccines.h
00001 /*
00002  Copyright 2009 by the University of Pittsburgh
00003  Licensed under the Academic Free License version 3.0
00004  See the file "LICENSE" for more information
00005  */
00006 
00007 //
00008 //
00009 // File: Vaccines.h
00010 //
00011 
00012 #ifndef _FRED_VACCINES_H
00013 #define _FRED_VACCINES_H
00014 
00015 class Vaccine;
00016 class Vaccine_Dose;
00017 
00018 class Vaccines {
00019   // Vaccines is a class used to describe a group of Vaccine Classes
00020 public:
00021   // Creation Operations
00022   Vaccines() { }
00023   void setup();
00024   
00025   Vaccine *get_vaccine(int i) const { return vaccines[i];}
00026   
00027   vector <int> which_vaccines_applicable(int age) const;
00028   int pick_from_applicable_vaccines(int age) const;
00029   int get_total_vaccines_avail_today() const;
00030   
00031   
00032   //utility Functions
00033   void print() const;
00034   void print_current_stocks() const;
00035   void update(int day);
00036   void reset();
00037 private:
00038   vector < Vaccine* > vaccines;
00039 }; 
00040 
00041 #endif
 All Classes Functions