3 Stop::Stop (int floor, enum direction mydirection)
5 , _direction(mydirection)
7 // Intentionally Left Empty
10 bool Stop::operator== (Stop& rhs)
12 return (_floor == rhs._floor) && (_direction == rhs._direction);
15 bool Stop::lowerThan (Position& rhs)
17 return (_floor < rhs._floor);
20 bool Stop::higherThan (Position& rhs)
22 return (_floor > rhs._floor);
26 bool Stop::operator< (Stop& rhs)
28 return _floor < rhs._floor;
32 /* vim: set ts=4 sts=4 sw=4 noexpandtab textwidth=112: */