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 <SWGArgInfo.h>
Public Member Functions | |
SWGArgInfo () | |
SWGArgInfo (QString *json) | |
virtual | ~SWGArgInfo () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGArgInfo * | fromJson (QString &jsonString) override |
QString * | getKey () |
void | setKey (QString *key) |
QString * | getValueType () |
void | setValueType (QString *value_type) |
QString * | getValueString () |
void | setValueString (QString *value_string) |
QString * | getName () |
void | setName (QString *name) |
QString * | getDescription () |
void | setDescription (QString *description) |
QString * | getUnits () |
void | setUnits (QString *units) |
SWGRangeFloat * | getRange () |
void | setRange (SWGRangeFloat *range) |
QList< QString * > * | getValueOptions () |
void | setValueOptions (QList< QString *> *value_options) |
QList< QString * > * | getOptionNames () |
void | setOptionNames (QList< QString *> *option_names) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QString * | key |
bool | m_key_isSet |
QString * | value_type |
bool | m_value_type_isSet |
QString * | value_string |
bool | m_value_string_isSet |
QString * | name |
bool | m_name_isSet |
QString * | description |
bool | m_description_isSet |
QString * | units |
bool | m_units_isSet |
SWGRangeFloat * | range |
bool | m_range_isSet |
QList< QString * > * | value_options |
bool | m_value_options_isSet |
QList< QString * > * | option_names |
bool | m_option_names_isSet |
Definition at line 34 of file SWGArgInfo.h.
SWGSDRangel::SWGArgInfo::SWGArgInfo | ( | ) |
Definition at line 30 of file SWGArgInfo.cpp.
References description, key, m_description_isSet, m_key_isSet, m_name_isSet, m_option_names_isSet, m_range_isSet, m_units_isSet, m_value_options_isSet, m_value_string_isSet, m_value_type_isSet, name, option_names, range, units, value_options, value_string, and value_type.
SWGSDRangel::SWGArgInfo::SWGArgInfo | ( | QString * | json | ) |
Definition at line 25 of file SWGArgInfo.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 51 of file SWGArgInfo.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 148 of file SWGArgInfo.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 159 of file SWGArgInfo.cpp.
References description, SWGSDRangel::SWGRangeFloat::isSet(), key, name, option_names, range, SWGSDRangel::toJsonArray(), SWGSDRangel::toJsonValue(), units, value_options, value_string, and value_type.
Referenced by asJson().
void SWGSDRangel::SWGArgInfo::cleanup | ( | ) |
Definition at line 78 of file SWGArgInfo.cpp.
References description, key, name, option_names, range, units, value_options, value_string, and value_type.
Referenced by ~SWGArgInfo().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 117 of file SWGArgInfo.cpp.
References fromJsonObject().
Referenced by SWGArgInfo().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 126 of file SWGArgInfo.cpp.
References description, key, name, option_names, range, SWGSDRangel::setValue(), units, value_options, value_string, and value_type.
Referenced by fromJson().
QString * SWGSDRangel::SWGArgInfo::getDescription | ( | ) |
QString * SWGSDRangel::SWGArgInfo::getKey | ( | ) |
Definition at line 193 of file SWGArgInfo.cpp.
References key.
QString * SWGSDRangel::SWGArgInfo::getName | ( | ) |
Definition at line 223 of file SWGArgInfo.cpp.
References name.
QList< QString * > * SWGSDRangel::SWGArgInfo::getOptionNames | ( | ) |
Definition at line 273 of file SWGArgInfo.cpp.
References option_names.
Referenced by SoapySDROutput::webapiFormatArgInfo(), and SoapySDRInput::webapiFormatArgInfo().
SWGRangeFloat * SWGSDRangel::SWGArgInfo::getRange | ( | ) |
Definition at line 253 of file SWGArgInfo.cpp.
References range.
Referenced by SoapySDROutput::webapiFormatArgInfo(), and SoapySDRInput::webapiFormatArgInfo().
QString * SWGSDRangel::SWGArgInfo::getUnits | ( | ) |
QList< QString * > * SWGSDRangel::SWGArgInfo::getValueOptions | ( | ) |
Definition at line 263 of file SWGArgInfo.cpp.
References value_options.
Referenced by SoapySDROutput::webapiFormatArgInfo(), and SoapySDRInput::webapiFormatArgInfo().
QString * SWGSDRangel::SWGArgInfo::getValueString | ( | ) |
QString * SWGSDRangel::SWGArgInfo::getValueType | ( | ) |
void SWGSDRangel::SWGArgInfo::init | ( | ) |
Definition at line 56 of file SWGArgInfo.cpp.
References description, key, m_description_isSet, m_key_isSet, m_name_isSet, m_option_names_isSet, m_range_isSet, m_units_isSet, m_value_options_isSet, m_value_string_isSet, m_value_type_isSet, name, option_names, range, units, value_options, value_string, and value_type.
Referenced by SWGArgInfo().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 284 of file SWGArgInfo.cpp.
References description, SWGSDRangel::SWGRangeFloat::isSet(), key, name, option_names, range, units, value_options, value_string, and value_type.
void SWGSDRangel::SWGArgInfo::setDescription | ( | QString * | description | ) |
Definition at line 237 of file SWGArgInfo.cpp.
References description, and m_description_isSet.
Referenced by SoapySDROutput::webapiFormatArgInfo(), and SoapySDRInput::webapiFormatArgInfo().
void SWGSDRangel::SWGArgInfo::setKey | ( | QString * | key | ) |
Definition at line 197 of file SWGArgInfo.cpp.
References key, and m_key_isSet.
Referenced by SoapySDROutput::webapiFormatArgInfo(), and SoapySDRInput::webapiFormatArgInfo().
void SWGSDRangel::SWGArgInfo::setName | ( | QString * | name | ) |
Definition at line 227 of file SWGArgInfo.cpp.
References m_name_isSet, and name.
Referenced by SoapySDROutput::webapiFormatArgInfo(), and SoapySDRInput::webapiFormatArgInfo().
void SWGSDRangel::SWGArgInfo::setOptionNames | ( | QList< QString *> * | option_names | ) |
Definition at line 277 of file SWGArgInfo.cpp.
References m_option_names_isSet, and option_names.
Referenced by SoapySDROutput::webapiFormatArgInfo(), and SoapySDRInput::webapiFormatArgInfo().
void SWGSDRangel::SWGArgInfo::setRange | ( | SWGRangeFloat * | range | ) |
Definition at line 257 of file SWGArgInfo.cpp.
References m_range_isSet, and range.
Referenced by SoapySDROutput::webapiFormatArgInfo(), and SoapySDRInput::webapiFormatArgInfo().
void SWGSDRangel::SWGArgInfo::setUnits | ( | QString * | units | ) |
Definition at line 247 of file SWGArgInfo.cpp.
References m_units_isSet, and units.
Referenced by SoapySDROutput::webapiFormatArgInfo(), and SoapySDRInput::webapiFormatArgInfo().
void SWGSDRangel::SWGArgInfo::setValueOptions | ( | QList< QString *> * | value_options | ) |
Definition at line 267 of file SWGArgInfo.cpp.
References m_value_options_isSet, and value_options.
Referenced by SoapySDROutput::webapiFormatArgInfo(), and SoapySDRInput::webapiFormatArgInfo().
void SWGSDRangel::SWGArgInfo::setValueString | ( | QString * | value_string | ) |
Definition at line 217 of file SWGArgInfo.cpp.
References m_value_string_isSet, and value_string.
Referenced by SoapySDROutput::webapiFormatArgInfo(), and SoapySDRInput::webapiFormatArgInfo().
void SWGSDRangel::SWGArgInfo::setValueType | ( | QString * | value_type | ) |
Definition at line 207 of file SWGArgInfo.cpp.
References m_value_type_isSet, and value_type.
Referenced by SoapySDROutput::webapiFormatArgInfo(), and SoapySDRInput::webapiFormatArgInfo().
|
private |
Definition at line 90 of file SWGArgInfo.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getDescription(), init(), isSet(), setDescription(), and SWGArgInfo().
|
private |
Definition at line 78 of file SWGArgInfo.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getKey(), init(), isSet(), setKey(), and SWGArgInfo().
|
private |
Definition at line 91 of file SWGArgInfo.h.
Referenced by init(), setDescription(), and SWGArgInfo().
|
private |
Definition at line 79 of file SWGArgInfo.h.
Referenced by init(), setKey(), and SWGArgInfo().
|
private |
Definition at line 88 of file SWGArgInfo.h.
Referenced by init(), setName(), and SWGArgInfo().
|
private |
Definition at line 103 of file SWGArgInfo.h.
Referenced by init(), setOptionNames(), and SWGArgInfo().
|
private |
Definition at line 97 of file SWGArgInfo.h.
Referenced by init(), setRange(), and SWGArgInfo().
|
private |
Definition at line 94 of file SWGArgInfo.h.
Referenced by init(), setUnits(), and SWGArgInfo().
|
private |
Definition at line 100 of file SWGArgInfo.h.
Referenced by init(), setValueOptions(), and SWGArgInfo().
|
private |
Definition at line 85 of file SWGArgInfo.h.
Referenced by init(), setValueString(), and SWGArgInfo().
|
private |
Definition at line 82 of file SWGArgInfo.h.
Referenced by init(), setValueType(), and SWGArgInfo().
|
private |
Definition at line 87 of file SWGArgInfo.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getName(), init(), isSet(), setName(), and SWGArgInfo().
|
private |
Definition at line 102 of file SWGArgInfo.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getOptionNames(), init(), isSet(), setOptionNames(), and SWGArgInfo().
|
private |
Definition at line 96 of file SWGArgInfo.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getRange(), init(), isSet(), setRange(), and SWGArgInfo().
|
private |
Definition at line 93 of file SWGArgInfo.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getUnits(), init(), isSet(), setUnits(), and SWGArgInfo().
|
private |
Definition at line 99 of file SWGArgInfo.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getValueOptions(), init(), isSet(), setValueOptions(), and SWGArgInfo().
|
private |
Definition at line 84 of file SWGArgInfo.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getValueString(), init(), isSet(), setValueString(), and SWGArgInfo().
|
private |
Definition at line 81 of file SWGArgInfo.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getValueType(), init(), isSet(), setValueType(), and SWGArgInfo().