35 lines
584 B
C++
35 lines
584 B
C++
#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();
|
|
|
|
};
|