Go to the documentation of this file.
28 explicit Stop(
int,
double = 44.973723,
double = -93.235365);
44 void Report(std::ostream &out)
const;
78 std::list<Passenger *> passengers_;
The main class to define stop.
Definition: stop.h:22
Stop(int, double=44.973723, double=-93.235365)
Constructs a stop with latitude and longitude.
Definition: stop.cc:12
int AddPassengers(Passenger *)
Method to add passengers to the stop.
Definition: stop.cc:18
double GetLong()
Getter of longitude.
Definition: stop.cc:48
The main class to define bus.
Definition: bus.h:28
double GetLat()
Getter of latitude.
Definition: stop.cc:52
int GetId() const
Get if of the stops_.
Definition: stop.cc:44
std::string GetName()
Getter of stop name.
Definition: stop.cc:56
The main class to define passenger.
Definition: passenger.h:17
int LoadPassengers(Bus *bus)
Method to load passenger on bus.
Definition: stop.cc:23
size_t GetNumPassengers()
Getter of number of passengers.
Definition: stop.cc:60