Namespacing and Lib for files
This commit is contained in:
@@ -44,8 +44,8 @@ namespace germanairlinesva_simdata
|
||||
germanairlinesva_geodata::point center,
|
||||
std::uint8_t radius);
|
||||
|
||||
std::uint8_t *getBinaryData() { return file.data(); }
|
||||
std::size_t getBinaryLength() { return file.size(); }
|
||||
inline std::uint8_t *getBinaryData() { return file.data(); }
|
||||
inline std::size_t getBinaryLength() { return file.size(); }
|
||||
|
||||
std::string to_string() const
|
||||
{
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef GERMANAIRLINESVA_GACONNECTOR_GEODATA_H
|
||||
#define GERMANAIRLINESVA_GACONNECTOR_GEODATA_H
|
||||
|
||||
#define _USE_MATH_DEFINES
|
||||
|
||||
#ifdef IBM
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
@@ -49,8 +49,8 @@ namespace germanairlinesva_simdata
|
||||
std::uint16_t length,
|
||||
std::uint16_t trueHeading);
|
||||
|
||||
std::uint8_t *getBinaryData() { return file.data(); }
|
||||
std::size_t getBinaryLength() { return file.size(); }
|
||||
inline std::uint8_t *getBinaryData() { return file.data(); }
|
||||
inline std::size_t getBinaryLength() { return file.size(); }
|
||||
|
||||
std::string to_string() const
|
||||
{
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
#ifndef GERMANAIRLINESVA_GACONNECTOR_SIMULATORDATABASE_H
|
||||
#define GERMANAIRLINESVA_GACONNECTOR_SIMULATORDATABASE_H
|
||||
|
||||
#include "gate.h"
|
||||
#include "runway.h"
|
||||
|
||||
#define CURRENT_VERSION 1
|
||||
|
||||
#include <cstdint>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
@@ -14,6 +9,11 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "gate.h"
|
||||
#include "runway.h"
|
||||
|
||||
#define CURRENT_VERSION 1
|
||||
|
||||
/*
|
||||
* Header
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user