Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- #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);
- }
|