processaircraft.h
#ifndef PROCESSAIRCRAFT_H
#define PROCESSAIRCRAFT_H
#include <QtCore>
#include "src/opl.h"
class ProcessAircraft
{
public:
ProcessAircraft(const QVector<QStringList> &raw_csv_data)
: rawData(raw_csv_data){};
void init(){
parseRawData();
processParsedData();
};
QHash<QString, QHash<QString, QVariant> > getProcessedTailMaps() const;
QHash<QString, int> getProcessedTailIds() const;
private:
void parseRawData();
void processParsedData();
QVector<QStringList> rawData;
QVector<QStringList> unique_tails;
QHash<QString, QHash<QString, QVariant>> processedTailMaps;
QHash<QString, int> processedTailIds;
};
#endif // PROCESSAIRCRAFT_H
ProcessAircraft
Definition: processaircraft.h:7