19 #ifndef SWGFileSourceReport_H_ 20 #define SWGFileSourceReport_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
45 QString* getFileName();
46 void setFileName(QString* file_name);
48 qint32 getFileSampleRate();
49 void setFileSampleRate(qint32 file_sample_rate);
51 qint32 getFileSampleSize();
52 void setFileSampleSize(qint32 file_sample_size);
54 QString* getAbsoluteTime();
55 void setAbsoluteTime(QString* absolute_time);
57 QString* getElapsedTime();
58 void setElapsedTime(QString* elapsed_time);
60 QString* getDurationTime();
61 void setDurationTime(QString* duration_time);
63 qint32 getSampleRate();
64 void setSampleRate(qint32 sample_rate);
66 float getChannelPowerDb();
67 void setChannelPowerDb(
float channel_power_db);
70 virtual bool isSet()
override;
bool m_file_sample_size_isSet
bool m_absolute_time_isSet
bool m_duration_time_isSet
bool m_elapsed_time_isSet
bool m_channel_power_db_isSet
bool m_file_sample_rate_isSet