swift
|
Objects that can be use for auto-publishing. Auto publishing means we sent those data to the DB. More...
Public Member Functions | |
void | clear () |
Clear all. | |
bool | isEmpty () const |
Any data? | |
QString | toDatabaseJson () const |
Simple database JSON. | |
int | fromDatabaseJson (const QString &jsonData, bool clear=true) |
Read from database JSON. | |
bool | readFromJsonFile (const QString &fileAndPath, bool clear=true) |
Read from JSON file. | |
int | readFromJsonFiles (const QString &dirPath=CSwiftDirectories::logDirectory()) |
Read all JSON files matching the base name. | |
CStatusMessageList | analyzeAgainstDBData (const CAircraftModelList &dbModels) |
Analyze against DB data. | |
QString | getSummary () const |
Summary. | |
QSet< QString > | allModelStrings () const |
All affected model strings. | |
void | insert (const QString &modelString, const physical_quantities::CLength &cg) |
Insert values we might want to update in the DB. | |
void | insert (const QString &modelString, const CSimulatorInfo &simulator) |
Insert values we might want to update in the DB. | |
bool | writeJsonToFile () const |
Write to file. | |
bool | writeJsonToFile (const QString &pathAndFile) const |
Write to file. | |
Static Public Member Functions | |
static const QString & | fileBaseName () |
File base name. | |
static const QString & | fileAppendix () |
File appendix. | |
static bool | existAutoPublishFiles (const QString &dirPath=CSwiftDirectories::logDirectory()) |
Do any auto pubish files exist? | |
static int | deleteAutoPublishFiles (const QString &dirPath=CSwiftDirectories::logDirectory()) |
Delete any existing auto publish files. | |
Objects that can be use for auto-publishing. Auto publishing means we sent those data to the DB.
Definition at line 62 of file autopublishdata.h.