OptimisationProblem/structures/Missions.h

35 lines
584 B
C
Raw Normal View History

2023-07-17 00:19:10 +02:00
#pragma once
#include "Mission.h"
#include "Centers.h"
#include <string>
#include <vector>
#include <sstream>
#include <fstream>
#include <iostream>
#include <iterator>
typedef std::vector<Mission*> MissionList;
class Missions
{
private:
MissionList missions;
public:
Missions(const char* basePath, Centers& centers): Missions(std::string(basePath), centers)
{};
Missions(std::string basePath, Centers& centers);
MissionList::iterator begin()
{
return missions.begin();
}
MissionList::iterator end()
{
return missions.end();
}
MissionList* copy();
int size();
};