![]() |
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 <SWGPresetExport.h>
Inheritance diagram for SWGSDRangel::SWGPresetExport:
Collaboration diagram for SWGSDRangel::SWGPresetExport:Public Member Functions | |
| SWGPresetExport () | |
| SWGPresetExport (QString *json) | |
| virtual | ~SWGPresetExport () |
| void | init () |
| void | cleanup () |
| virtual QString | asJson () override |
| virtual QJsonObject * | asJsonObject () override |
| virtual void | fromJsonObject (QJsonObject &json) override |
| virtual SWGPresetExport * | fromJson (QString &jsonString) override |
| QString * | getFilePath () |
| void | setFilePath (QString *file_path) |
| SWGPresetIdentifier * | getPreset () |
| void | setPreset (SWGPresetIdentifier *preset) |
| virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
| virtual | ~SWGObject () |
Private Attributes | |
| QString * | file_path |
| bool | m_file_path_isSet |
| SWGPresetIdentifier * | preset |
| bool | m_preset_isSet |
Definition at line 33 of file SWGPresetExport.h.
| SWGSDRangel::SWGPresetExport::SWGPresetExport | ( | ) |
Definition at line 30 of file SWGPresetExport.cpp.
References file_path, m_file_path_isSet, m_preset_isSet, and preset.
| SWGSDRangel::SWGPresetExport::SWGPresetExport | ( | QString * | json | ) |
Definition at line 25 of file SWGPresetExport.cpp.
References fromJson(), and init().
Here is the call graph for this function:
|
virtual |
Definition at line 37 of file SWGPresetExport.cpp.
References cleanup().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 77 of file SWGPresetExport.cpp.
References asJsonObject().
Referenced by SWGSDRangel::SWGInstanceApi::instancePresetFilePost().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 88 of file SWGPresetExport.cpp.
References file_path, SWGSDRangel::SWGPresetIdentifier::isSet(), preset, and SWGSDRangel::toJsonValue().
Referenced by asJson().
Here is the call graph for this function:
Here is the caller graph for this function:| void SWGSDRangel::SWGPresetExport::cleanup | ( | ) |
Definition at line 50 of file SWGPresetExport.cpp.
References file_path, and preset.
Referenced by ~SWGPresetExport().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 60 of file SWGPresetExport.cpp.
References fromJsonObject().
Referenced by WebAPIRequestMapper::instancePresetFileService(), and SWGPresetExport().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 69 of file SWGPresetExport.cpp.
References file_path, preset, and SWGSDRangel::setValue().
Referenced by fromJson().
Here is the call graph for this function:
Here is the caller graph for this function:| QString * SWGSDRangel::SWGPresetExport::getFilePath | ( | ) |
Definition at line 101 of file SWGPresetExport.cpp.
References file_path.
Referenced by WebAPIAdapterSrv::instancePresetFilePost(), and WebAPIRequestMapper::validatePresetExport().
Here is the caller graph for this function:| SWGPresetIdentifier * SWGSDRangel::SWGPresetExport::getPreset | ( | ) |
Definition at line 111 of file SWGPresetExport.cpp.
References preset.
Referenced by WebAPIAdapterSrv::instancePresetFilePost(), and WebAPIRequestMapper::validatePresetExport().
Here is the caller graph for this function:| void SWGSDRangel::SWGPresetExport::init | ( | ) |
Definition at line 42 of file SWGPresetExport.cpp.
References file_path, m_file_path_isSet, m_preset_isSet, and preset.
Referenced by SWGPresetExport().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 122 of file SWGPresetExport.cpp.
References file_path, SWGSDRangel::SWGPresetIdentifier::isSet(), and preset.
Here is the call graph for this function:| void SWGSDRangel::SWGPresetExport::setFilePath | ( | QString * | file_path | ) |
Definition at line 105 of file SWGPresetExport.cpp.
References file_path, and m_file_path_isSet.
| void SWGSDRangel::SWGPresetExport::setPreset | ( | SWGPresetIdentifier * | preset | ) |
|
private |
Definition at line 56 of file SWGPresetExport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getFilePath(), init(), isSet(), setFilePath(), and SWGPresetExport().
|
private |
Definition at line 57 of file SWGPresetExport.h.
Referenced by init(), setFilePath(), and SWGPresetExport().
|
private |
Definition at line 60 of file SWGPresetExport.h.
Referenced by init(), setPreset(), and SWGPresetExport().
|
private |
Definition at line 59 of file SWGPresetExport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getPreset(), init(), isSet(), setPreset(), and SWGPresetExport().
1.8.13