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.
|
#include <SWGNamedEnum.h>
Public Member Functions | |
SWGNamedEnum () | |
SWGNamedEnum (QString *json) | |
virtual | ~SWGNamedEnum () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGNamedEnum * | fromJson (QString &jsonString) override |
QString * | getName () |
void | setName (QString *name) |
qint32 | getValue () |
void | setValue (qint32 value) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QString * | name |
bool | m_name_isSet |
qint32 | value |
bool | m_value_isSet |
Definition at line 32 of file SWGNamedEnum.h.
SWGSDRangel::SWGNamedEnum::SWGNamedEnum | ( | ) |
Definition at line 30 of file SWGNamedEnum.cpp.
References m_name_isSet, m_value_isSet, name, and value.
SWGSDRangel::SWGNamedEnum::SWGNamedEnum | ( | QString * | json | ) |
Definition at line 25 of file SWGNamedEnum.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 37 of file SWGNamedEnum.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 75 of file SWGNamedEnum.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 86 of file SWGNamedEnum.cpp.
References m_value_isSet, name, SWGSDRangel::toJsonValue(), and value.
Referenced by asJson().
void SWGSDRangel::SWGNamedEnum::cleanup | ( | ) |
Definition at line 50 of file SWGNamedEnum.cpp.
References name.
Referenced by ~SWGNamedEnum().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 58 of file SWGNamedEnum.cpp.
References fromJsonObject().
Referenced by SWGNamedEnum().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 67 of file SWGNamedEnum.cpp.
References name, SWGSDRangel::setValue(), and value.
Referenced by fromJson().
QString * SWGSDRangel::SWGNamedEnum::getName | ( | ) |
qint32 SWGSDRangel::SWGNamedEnum::getValue | ( | ) |
void SWGSDRangel::SWGNamedEnum::init | ( | ) |
Definition at line 42 of file SWGNamedEnum.cpp.
References m_name_isSet, m_value_isSet, name, and value.
Referenced by SWGNamedEnum().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 120 of file SWGNamedEnum.cpp.
References m_value_isSet, and name.
void SWGSDRangel::SWGNamedEnum::setName | ( | QString * | name | ) |
void SWGSDRangel::SWGNamedEnum::setValue | ( | qint32 | value | ) |
|
private |
Definition at line 56 of file SWGNamedEnum.h.
Referenced by init(), setName(), and SWGNamedEnum().
|
private |
Definition at line 59 of file SWGNamedEnum.h.
Referenced by asJsonObject(), init(), isSet(), setValue(), and SWGNamedEnum().
|
private |
Definition at line 55 of file SWGNamedEnum.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getName(), init(), isSet(), setName(), and SWGNamedEnum().
|
private |
Definition at line 58 of file SWGNamedEnum.h.
Referenced by asJsonObject(), fromJsonObject(), getValue(), init(), setValue(), and SWGNamedEnum().