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.
|
- #include <string>
- #include <vector>
- #include "Vehicle.hpp"
- using namespace std;
-
- class VehicleManager
- {
- private:
- vector<Vehicle> vehicles;
-
- public:
- VehicleManager();
- VehicleManager(string jsonFile);
- bool add(Vehicle newVehicle);
- bool remove(Vehicle toRemove);
- Vehicle get(int id);
- void toJson(string jsonFile);
- }
|