Enroute Flight Navigation
A navigation app for VFR pilots
GeoMaps::GPX Class Reference

GPX file support class. More...

#include <GPX.h>

Static Public Member Functions

static bool isValid (const QString &fileName)
 Check if file contains valid GPX data.
 
static QVector< GeoMaps::Waypointread (const QString &fileName)
 Read a GPX file.
 

Detailed Description

GPX file support class.

The methods of this class read GPX waypoint files, as specified here:

Definition at line 33 of file GPX.h.

Member Function Documentation

◆ isValid()

static bool GeoMaps::GPX::isValid ( const QString & fileName)
static

Check if file contains valid GPX data.

Parameters
fileNameName of a file
Returns
True if the file is likely to contain valid GPX data.

◆ read()

static QVector< GeoMaps::Waypoint > GeoMaps::GPX::read ( const QString & fileName)
static

Read a GPX file.

This method reads a GPX file and generates a vector of waypoints.

Parameters
fileNameName of a CUP file
Returns
QVector with waypoints. The vector is empty in case of an error.

The documentation for this class was generated from the following file: