// ferrysimeventlist.h // ---------------------------------------------------------------------- // FerrySimEventList is a sorted list; sorting determined by // FerrySimEvent::compare(...) // // CSE 143 // Homework 4 // http://www.cs.washington.edu/education/courses/143/00su/homework/ // 21 Jul 2000, Ken Yasuhara #ifndef _FERRYSIMEVENTLIST_H_ #define _FERRYSIMEVENTLIST_H_ #include "ferrysimevent.h" class FerrySimEventList { public: FerrySimEventList(); int getSize() const; bool isEmpty() const; bool isFull() const; void insert(const FerrySimEvent &event); FerrySimEvent removeFirst(); FerrySimEvent get(const int index) const; // useful for debugging void print() const; private: }; #endif // _FERRYSIMEVENTLIST_H_