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 <SWGPresetImport.h>
Public Member Functions | |
SWGPresetImport () | |
SWGPresetImport (QString *json) | |
virtual | ~SWGPresetImport () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGPresetImport * | fromJson (QString &jsonString) override |
QString * | getGroupName () |
void | setGroupName (QString *group_name) |
QString * | getDescription () |
void | setDescription (QString *description) |
QString * | getFilePath () |
void | setFilePath (QString *file_path) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QString * | group_name |
bool | m_group_name_isSet |
QString * | description |
bool | m_description_isSet |
QString * | file_path |
bool | m_file_path_isSet |
Definition at line 32 of file SWGPresetImport.h.
SWGSDRangel::SWGPresetImport::SWGPresetImport | ( | ) |
Definition at line 30 of file SWGPresetImport.cpp.
References description, file_path, group_name, m_description_isSet, m_file_path_isSet, and m_group_name_isSet.
SWGSDRangel::SWGPresetImport::SWGPresetImport | ( | QString * | json | ) |
Definition at line 25 of file SWGPresetImport.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 39 of file SWGPresetImport.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 86 of file SWGPresetImport.cpp.
References asJsonObject().
Referenced by SWGSDRangel::SWGInstanceApi::instancePresetFilePut().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 97 of file SWGPresetImport.cpp.
References description, file_path, group_name, and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGPresetImport::cleanup | ( | ) |
Definition at line 54 of file SWGPresetImport.cpp.
References description, file_path, and group_name.
Referenced by ~SWGPresetImport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 67 of file SWGPresetImport.cpp.
References fromJsonObject().
Referenced by WebAPIRequestMapper::instancePresetFileService(), and SWGPresetImport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 76 of file SWGPresetImport.cpp.
References description, file_path, group_name, and SWGSDRangel::setValue().
Referenced by fromJson().
QString * SWGSDRangel::SWGPresetImport::getDescription | ( | ) |
Definition at line 123 of file SWGPresetImport.cpp.
References description.
Referenced by WebAPIAdapterSrv::instancePresetFilePut().
QString * SWGSDRangel::SWGPresetImport::getFilePath | ( | ) |
Definition at line 133 of file SWGPresetImport.cpp.
References file_path.
Referenced by WebAPIAdapterSrv::instancePresetFilePut(), and WebAPIRequestMapper::instancePresetFileService().
QString * SWGSDRangel::SWGPresetImport::getGroupName | ( | ) |
Definition at line 113 of file SWGPresetImport.cpp.
References group_name.
Referenced by WebAPIAdapterSrv::instancePresetFilePut().
void SWGSDRangel::SWGPresetImport::init | ( | ) |
Definition at line 44 of file SWGPresetImport.cpp.
References description, file_path, group_name, m_description_isSet, m_file_path_isSet, and m_group_name_isSet.
Referenced by SWGPresetImport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 144 of file SWGPresetImport.cpp.
References description, file_path, and group_name.
void SWGSDRangel::SWGPresetImport::setDescription | ( | QString * | description | ) |
Definition at line 127 of file SWGPresetImport.cpp.
References description, and m_description_isSet.
void SWGSDRangel::SWGPresetImport::setFilePath | ( | QString * | file_path | ) |
Definition at line 137 of file SWGPresetImport.cpp.
References file_path, and m_file_path_isSet.
void SWGSDRangel::SWGPresetImport::setGroupName | ( | QString * | group_name | ) |
Definition at line 117 of file SWGPresetImport.cpp.
References group_name, and m_group_name_isSet.
|
private |
Definition at line 61 of file SWGPresetImport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getDescription(), init(), isSet(), setDescription(), and SWGPresetImport().
|
private |
Definition at line 64 of file SWGPresetImport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getFilePath(), init(), isSet(), setFilePath(), and SWGPresetImport().
|
private |
Definition at line 58 of file SWGPresetImport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getGroupName(), init(), isSet(), setGroupName(), and SWGPresetImport().
|
private |
Definition at line 62 of file SWGPresetImport.h.
Referenced by init(), setDescription(), and SWGPresetImport().
|
private |
Definition at line 65 of file SWGPresetImport.h.
Referenced by init(), setFilePath(), and SWGPresetImport().
|
private |
Definition at line 59 of file SWGPresetImport.h.
Referenced by init(), setGroupName(), and SWGPresetImport().