Updraft
1.0
Open source glider flight visualisation tool.
|
Parsing OpenAirspace file into geometry. More...
#include <openairspace.h>
Public Member Functions | |
Parser (const QString &fileName) | |
OpenAirspace Parser Ctor Parses the gven OpenAirspace file. | |
Airspace * | at (const int i) |
const QString *const | GetName (int i) const |
size_t | size () |
const Airspace::ACType & | GetClass (int i) |
const QString *const | GetFloor (int i) const |
const QString *const | GetCeiling (int i) const |
const QVector < OpenAirspace::Position * > & | GetTagCoor (int i) |
~Parser (void) | |
The class destructor. | |
Private Attributes | |
QVector< Airspace * > * | allAirspaces |
OpenAirspace contains several airspaces. |
Parsing OpenAirspace file into geometry.
OpenAirspace::Parser::Parser | ( | const QString & | fileName | ) | [explicit] |
OpenAirspace Parser Ctor Parses the gven OpenAirspace file.
fileName | The file to be parsed |
OpenAirspace::Parser::~Parser | ( | void | ) |
The class destructor.
Airspace* OpenAirspace::Parser::at | ( | const int | i | ) | [inline] |
const QString* const OpenAirspace::Parser::GetCeiling | ( | int | i | ) | const [inline] |
const Airspace::ACType& OpenAirspace::Parser::GetClass | ( | int | i | ) | [inline] |
const QString* const OpenAirspace::Parser::GetFloor | ( | int | i | ) | const [inline] |
const QString* const OpenAirspace::Parser::GetName | ( | int | i | ) | const [inline] |
const QVector<OpenAirspace::Position*>& OpenAirspace::Parser::GetTagCoor | ( | int | i | ) | [inline] |
size_t OpenAirspace::Parser::size | ( | ) | [inline] |
QVector<Airspace*>* OpenAirspace::Parser::allAirspaces [private] |
OpenAirspace contains several airspaces.