You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718
  1. #include <string>
  2. #include <vector>
  3. #include "Vehicle.hpp"
  4. using namespace std;
  5. class VehicleManager
  6. {
  7. private:
  8. vector<Vehicle> vehicles;
  9. public:
  10. VehicleManager();
  11. VehicleManager(string jsonFile);
  12. bool add(Vehicle newVehicle);
  13. bool remove(Vehicle toRemove);
  14. Vehicle get(int id);
  15. void toJson(string jsonFile);
  16. }