|
Enroute Flight Navigation
A navigation app for VFR pilots
|
Collection of visual approach charts. More...
#include <VACCollection.h>
Public Member Functions | |
| VACCollection (const QString &fileName) | |
| Standard constructor. | |
| ~VACCollection () | |
| Standard destructor. | |
| QList< GeoMaps::VAC > | charts () const |
| Charts contained in the collection. | |
| QString | attribution () const |
| Attribution for the charts of this collection. | |
| QString | name () const |
| Name of the collection. | |
| QByteArray | imageData (const QString &chartName) |
| Retrieve raster data for a single chart. | |
| Public Member Functions inherited from FileFormats::DataFileAbstract | |
| bool | isValid () const |
| Validity check. | |
| QString | error () const |
| Error string. | |
| QStringList | warnings () const |
| Warnings. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from FileFormats::DataFileAbstract | |
| static QSharedPointer< QFile > | openFileURL (const QString &fileName) |
| Open file, file URL or Android content URL. | |
Collection of visual approach charts.
This class reads collections of visual approach charts, as distributed by the enroute data server. Internally, these collections are SQLite databases with the following schema.
The constructor reads the chart index, but no raster data, and is therefore lightweight even for large collections.
Definition at line 52 of file VACCollection.h.
| FileFormats::VACCollection::VACCollection | ( | const QString & | fileName | ) |
Standard constructor.
Constructs an object from a VAC collection file. The file is supposed to exist and remain intact throughout the existence of this class instance.
| fileName | Name of the VAC collection file |
|
inlinenodiscard |
Attribution for the charts of this collection.
Collections distributed by the enroute data server name the agency that publishes the charts, along with the license under which the charts are distributed. The attribution is set by the data server and is therefore not translated.
Definition at line 89 of file VACCollection.h.
|
inlinenodiscard |
Charts contained in the collection.
The VACs returned here have their member 'fileName' set to the file name of the collection file, and their member 'collection' set to the name of this collection. Use imageData() to obtain raster data.
Definition at line 77 of file VACCollection.h.
|
nodiscard |
Retrieve raster data for a single chart.
| chartName | Name of the chart, as found in charts() |
|
inlinenodiscard |
Name of the collection.
Definition at line 96 of file VACCollection.h.