12#ifndef ICAORESOLVER_HPP
13#define ICAORESOLVER_HPP
15#include "usmtf_export.h"
18#include <unordered_map>
32 std::string
LookUpCode(
const std::string& aIcaoCode)
const noexcept;
35 void LoadCodeMap(
bool aForceReload =
false)
noexcept;
38 std::unordered_map<std::string, std::string> ReadConf()
const noexcept;
43 static std::unordered_map<std::string, std::string> mCodes;
44 static std::unordered_map<std::string, std::string> mConf;
45 static bool mHasLoadedCodes;
46 static bool mHasLoadedConf;
std::string LookUpCode(const std::string &aIcaoCode) const noexcept
Looks up an ICAO code and returns formatted position data.
Definition ICAO_Resolver.cpp:31
ICAO_Resolver()
Definition ICAO_Resolver.cpp:26
void LoadCodeMap(bool aForceReload=false) noexcept
Definition ICAO_Resolver.cpp:41