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
SWGObject.h
Go to the documentation of this file.
1
13
#ifndef _SWG_OBJECT_H_
14
#define _SWG_OBJECT_H_
15
16
#include <QJsonValue>
17
18
namespace
SWGSDRangel
{
19
20
class
SWGObject
{
21
public
:
22
virtual
QJsonObject*
asJsonObject
() {
23
return
new
QJsonObject();
24
}
25
virtual
~SWGObject
() {}
26
virtual
SWGObject
*
fromJson
(QString &jsonString) {
27
Q_UNUSED(jsonString);
28
return
new
SWGObject
();
29
}
30
virtual
void
fromJsonObject
(QJsonObject &json) {
31
Q_UNUSED(json);
32
}
33
virtual
QString
asJson
() {
34
return
QString(
""
);
35
}
36
virtual
bool
isSet
() {
37
return
false
;
38
}
39
};
40
41
}
42
43
#endif
/* _SWG_OBJECT_H_ */
SWGSDRangel::SWGObject::~SWGObject
virtual ~SWGObject()
Definition:
SWGObject.h:25
SWGSDRangel::SWGObject::isSet
virtual bool isSet()
Definition:
SWGObject.h:36
SWGSDRangel::SWGObject
Definition:
SWGObject.h:20
SWGSDRangel::SWGObject::asJson
virtual QString asJson()
Definition:
SWGObject.h:33
SWGSDRangel::SWGObject::fromJson
virtual SWGObject * fromJson(QString &jsonString)
Definition:
SWGObject.h:26
SWGSDRangel::SWGObject::asJsonObject
virtual QJsonObject * asJsonObject()
Definition:
SWGObject.h:22
SWGSDRangel::SWGObject::fromJsonObject
virtual void fromJsonObject(QJsonObject &json)
Definition:
SWGObject.h:30
SWGSDRangel
Definition:
bfmdemod.h:51
Generated on Fri Aug 2 2019 17:56:34 for SDRAngel by
1.8.13