Line data Source code
1 : #include "Dynamic/Env/Event/Event.hpp" 2 : 3 : using namespace std; 4 : using namespace Dynamic; 5 : using namespace Dynamic::Env; 6 : 7 0 : Event::Event(Time t_): 8 0 : t(t_) {} 9 : 10 0 : const Time &Event::getTime() const { 11 0 : return t; 12 : } 13 : 14 0 : bool Event::operator<(const Event &event) const { 15 0 : return t < event.t; 16 : } 17 : 18 0 : bool Event::operator>(const Event &event) const { 19 0 : return event < *this; 20 : }