SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
swagger
sdrangel
code
qt5
client
SWGPresetExport.h
Go to the documentation of this file.
1
13
/*
14
* SWGPresetExport.h
15
*
16
* Details to export a preset to file
17
*/
18
19
#ifndef SWGPresetExport_H_
20
#define SWGPresetExport_H_
21
22
#include <QJsonObject>
23
24
25
#include "
SWGPresetIdentifier.h
"
26
#include <QString>
27
28
#include "
SWGObject.h
"
29
#include "
export.h
"
30
31
namespace
SWGSDRangel
{
32
33
class
SWG_API
SWGPresetExport
:
public
SWGObject
{
34
public
:
35
SWGPresetExport
();
36
SWGPresetExport
(QString* json);
37
virtual
~
SWGPresetExport
();
38
void
init();
39
void
cleanup();
40
41
virtual
QString asJson ()
override
;
42
virtual
QJsonObject* asJsonObject()
override
;
43
virtual
void
fromJsonObject(QJsonObject &json)
override
;
44
virtual
SWGPresetExport
* fromJson(QString &jsonString)
override
;
45
46
QString* getFilePath();
47
void
setFilePath(QString* file_path);
48
49
SWGPresetIdentifier
* getPreset();
50
void
setPreset(
SWGPresetIdentifier
* preset);
51
52
53
virtual
bool
isSet()
override
;
54
55
private
:
56
QString*
file_path
;
57
bool
m_file_path_isSet
;
58
59
SWGPresetIdentifier
*
preset
;
60
bool
m_preset_isSet
;
61
62
};
63
64
}
65
66
#endif
/* SWGPresetExport_H_ */
export.h
SWGSDRangel::SWGPresetExport::m_preset_isSet
bool m_preset_isSet
Definition:
SWGPresetExport.h:60
SWGSDRangel::SWGPresetExport::file_path
QString * file_path
Definition:
SWGPresetExport.h:56
SWGObject.h
SWGSDRangel::SWGPresetIdentifier
Definition:
SWGPresetIdentifier.h:32
SWGSDRangel::SWGPresetExport
Definition:
SWGPresetExport.h:33
SWGPresetIdentifier.h
SWGSDRangel::SWGObject
Definition:
SWGObject.h:20
SWGSDRangel::SWGPresetExport::preset
SWGPresetIdentifier * preset
Definition:
SWGPresetExport.h:59
SWG_API
#define SWG_API
Definition:
export.h:124
SWGSDRangel::SWGPresetExport::m_file_path_isSet
bool m_file_path_isSet
Definition:
SWGPresetExport.h:57
SWGSDRangel
Definition:
bfmdemod.h:51
Generated on Fri Aug 2 2019 17:56:35 for SDRAngel by
1.8.13