41 lines
1.2 KiB
C++
41 lines
1.2 KiB
C++
#ifndef GERMANAIRLINESVA_FILE_SIMDATAXP_H
|
|
#define GERMANAIRLINESVA_FILE_SIMDATAXP_H
|
|
|
|
#include <fstream>
|
|
#include <map>
|
|
#include <string>
|
|
|
|
#include "simdata/gate.h"
|
|
#include "simdata/runway.h"
|
|
#include "util.hpp"
|
|
|
|
namespace germanairlinesva
|
|
{
|
|
namespace file
|
|
{
|
|
namespace simdata
|
|
{
|
|
int scan(
|
|
const std::string defaultFile,
|
|
const std::string sceneryPack,
|
|
const std::string logFile,
|
|
std::map<std::string, std::pair<std::vector<const Gate>, std::vector<const Runway>>>
|
|
&airports);
|
|
|
|
void makeAirport(
|
|
const std::string &kind,
|
|
std::ifstream &infile,
|
|
std::map<std::string, std::pair<std::vector<const Gate>, std::vector<const Runway>>>
|
|
&airports,
|
|
std::ofstream &logfile);
|
|
void makeGate15(std::vector<const Gate> &gates,
|
|
const std::vector<std::string> &fields);
|
|
void makeRunway(std::vector<const Runway> &runways,
|
|
const std::vector<std::string> &fields);
|
|
void makeGate1300(std::vector<const Gate> &gates,
|
|
const std::vector<std::string> &fields);
|
|
} // namespace simdata
|
|
} // namespace file
|
|
} // namespace germanairlinesva
|
|
|
|
#endif |