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 <SWGPresetGroup.h>
Public Member Functions | |
SWGPresetGroup () | |
SWGPresetGroup (QString *json) | |
virtual | ~SWGPresetGroup () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGPresetGroup * | fromJson (QString &jsonString) override |
QString * | getGroupName () |
void | setGroupName (QString *group_name) |
qint32 | getNbPresets () |
void | setNbPresets (qint32 nb_presets) |
QList< SWGPresetItem * > * | getPresets () |
void | setPresets (QList< SWGPresetItem *> *presets) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QString * | group_name |
bool | m_group_name_isSet |
qint32 | nb_presets |
bool | m_nb_presets_isSet |
QList< SWGPresetItem * > * | presets |
bool | m_presets_isSet |
Definition at line 34 of file SWGPresetGroup.h.
SWGSDRangel::SWGPresetGroup::SWGPresetGroup | ( | ) |
Definition at line 30 of file SWGPresetGroup.cpp.
References group_name, m_group_name_isSet, m_nb_presets_isSet, m_presets_isSet, nb_presets, and presets.
SWGSDRangel::SWGPresetGroup::SWGPresetGroup | ( | QString * | json | ) |
Definition at line 25 of file SWGPresetGroup.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 39 of file SWGPresetGroup.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 88 of file SWGPresetGroup.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 99 of file SWGPresetGroup.cpp.
References group_name, m_nb_presets_isSet, nb_presets, presets, SWGSDRangel::toJsonArray(), and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGPresetGroup::cleanup | ( | ) |
Definition at line 54 of file SWGPresetGroup.cpp.
References group_name, and presets.
Referenced by ~SWGPresetGroup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 69 of file SWGPresetGroup.cpp.
References fromJsonObject().
Referenced by SWGPresetGroup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 78 of file SWGPresetGroup.cpp.
References group_name, nb_presets, presets, and SWGSDRangel::setValue().
Referenced by fromJson().
QString * SWGSDRangel::SWGPresetGroup::getGroupName | ( | ) |
qint32 SWGSDRangel::SWGPresetGroup::getNbPresets | ( | ) |
QList< SWGPresetItem * > * SWGSDRangel::SWGPresetGroup::getPresets | ( | ) |
Definition at line 135 of file SWGPresetGroup.cpp.
References presets.
void SWGSDRangel::SWGPresetGroup::init | ( | ) |
Definition at line 44 of file SWGPresetGroup.cpp.
References group_name, m_group_name_isSet, m_nb_presets_isSet, m_presets_isSet, nb_presets, and presets.
Referenced by SWGPresetGroup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 146 of file SWGPresetGroup.cpp.
References group_name, m_nb_presets_isSet, and presets.
void SWGSDRangel::SWGPresetGroup::setGroupName | ( | QString * | group_name | ) |
Definition at line 119 of file SWGPresetGroup.cpp.
References group_name, and m_group_name_isSet.
void SWGSDRangel::SWGPresetGroup::setNbPresets | ( | qint32 | nb_presets | ) |
Definition at line 129 of file SWGPresetGroup.cpp.
References m_nb_presets_isSet, and nb_presets.
void SWGSDRangel::SWGPresetGroup::setPresets | ( | QList< SWGPresetItem *> * | presets | ) |
Definition at line 139 of file SWGPresetGroup.cpp.
References m_presets_isSet, and presets.
|
private |
Definition at line 60 of file SWGPresetGroup.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getGroupName(), init(), isSet(), setGroupName(), and SWGPresetGroup().
|
private |
Definition at line 61 of file SWGPresetGroup.h.
Referenced by init(), setGroupName(), and SWGPresetGroup().
|
private |
Definition at line 64 of file SWGPresetGroup.h.
Referenced by asJsonObject(), init(), isSet(), setNbPresets(), and SWGPresetGroup().
|
private |
Definition at line 67 of file SWGPresetGroup.h.
Referenced by init(), setPresets(), and SWGPresetGroup().
|
private |
Definition at line 63 of file SWGPresetGroup.h.
Referenced by asJsonObject(), fromJsonObject(), getNbPresets(), init(), setNbPresets(), and SWGPresetGroup().
|
private |
Definition at line 66 of file SWGPresetGroup.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getPresets(), init(), isSet(), setPresets(), and SWGPresetGroup().