Updraft  1.0
Open source glider flight visualisation tool.
OpenAirspace::Parser Class Reference

Parsing OpenAirspace file into geometry. More...

#include <openairspace.h>

List of all members.

Public Member Functions

 Parser (const QString &fileName)
 OpenAirspace Parser Ctor Parses the gven OpenAirspace file.
Airspaceat (const int i)
const QString *const GetName (int i) const
size_t size ()
const Airspace::ACTypeGetClass (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.

Detailed Description

Parsing OpenAirspace file into geometry.


Constructor & Destructor Documentation

OpenAirspace::Parser::Parser ( const QString &  fileName) [explicit]

OpenAirspace Parser Ctor Parses the gven OpenAirspace file.

Parameters:
fileNameThe file to be parsed

The class destructor.


Member Function Documentation

Airspace* OpenAirspace::Parser::at ( const int  i) [inline]
Returns:
Airspace.
const QString* const OpenAirspace::Parser::GetCeiling ( int  i) const [inline]
Returns:
The ceiling of the AirSpace
Returns:
The class of the AirSpace
const QString* const OpenAirspace::Parser::GetFloor ( int  i) const [inline]
Returns:
The floor of the AirSpace
const QString* const OpenAirspace::Parser::GetName ( int  i) const [inline]
Returns:
The name of the AirSpace
const QVector<OpenAirspace::Position*>& OpenAirspace::Parser::GetTagCoor ( int  i) [inline]
Returns:
The tag coordinates of the AirSpace
size_t OpenAirspace::Parser::size ( ) [inline]
Returns:
The used airspaces count

Member Data Documentation

OpenAirspace contains several airspaces.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines