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 <SWGArgValue.h>
Public Member Functions | |
SWGArgValue () | |
SWGArgValue (QString *json) | |
virtual | ~SWGArgValue () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGArgValue * | fromJson (QString &jsonString) override |
QString * | getKey () |
void | setKey (QString *key) |
QString * | getValueType () |
void | setValueType (QString *value_type) |
QString * | getValueString () |
void | setValueString (QString *value_string) |
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 |
Definition at line 32 of file SWGArgValue.h.
SWGSDRangel::SWGArgValue::SWGArgValue | ( | ) |
Definition at line 30 of file SWGArgValue.cpp.
References key, m_key_isSet, m_value_string_isSet, m_value_type_isSet, value_string, and value_type.
SWGSDRangel::SWGArgValue::SWGArgValue | ( | QString * | json | ) |
Definition at line 25 of file SWGArgValue.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 39 of file SWGArgValue.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 86 of file SWGArgValue.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 97 of file SWGArgValue.cpp.
References key, SWGSDRangel::toJsonValue(), value_string, and value_type.
Referenced by asJson().
void SWGSDRangel::SWGArgValue::cleanup | ( | ) |
Definition at line 54 of file SWGArgValue.cpp.
References key, value_string, and value_type.
Referenced by ~SWGArgValue().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 67 of file SWGArgValue.cpp.
References fromJsonObject().
Referenced by SWGArgValue().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 76 of file SWGArgValue.cpp.
References key, SWGSDRangel::setValue(), value_string, and value_type.
Referenced by fromJson().
QString * SWGSDRangel::SWGArgValue::getKey | ( | ) |
Definition at line 113 of file SWGArgValue.cpp.
References key.
QString * SWGSDRangel::SWGArgValue::getValueString | ( | ) |
Definition at line 133 of file SWGArgValue.cpp.
References value_string.
Referenced by SoapySDROutput::webapiVariantFromArgValue(), and SoapySDRInput::webapiVariantFromArgValue().
QString * SWGSDRangel::SWGArgValue::getValueType | ( | ) |
Definition at line 123 of file SWGArgValue.cpp.
References value_type.
Referenced by SoapySDROutput::webapiVariantFromArgValue(), and SoapySDRInput::webapiVariantFromArgValue().
void SWGSDRangel::SWGArgValue::init | ( | ) |
Definition at line 44 of file SWGArgValue.cpp.
References key, m_key_isSet, m_value_string_isSet, m_value_type_isSet, value_string, and value_type.
Referenced by SWGArgValue().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 144 of file SWGArgValue.cpp.
References key, value_string, and value_type.
void SWGSDRangel::SWGArgValue::setKey | ( | QString * | key | ) |
void SWGSDRangel::SWGArgValue::setValueString | ( | QString * | value_string | ) |
Definition at line 137 of file SWGArgValue.cpp.
References m_value_string_isSet, and value_string.
Referenced by SoapySDROutput::webapiFormatArgValue(), and SoapySDRInput::webapiFormatArgValue().
void SWGSDRangel::SWGArgValue::setValueType | ( | QString * | value_type | ) |
Definition at line 127 of file SWGArgValue.cpp.
References m_value_type_isSet, and value_type.
Referenced by SoapySDROutput::webapiFormatArgValue(), and SoapySDRInput::webapiFormatArgValue().
|
private |
Definition at line 58 of file SWGArgValue.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getKey(), init(), isSet(), setKey(), and SWGArgValue().
|
private |
Definition at line 59 of file SWGArgValue.h.
Referenced by init(), setKey(), and SWGArgValue().
|
private |
Definition at line 65 of file SWGArgValue.h.
Referenced by init(), setValueString(), and SWGArgValue().
|
private |
Definition at line 62 of file SWGArgValue.h.
Referenced by init(), setValueType(), and SWGArgValue().
|
private |
Definition at line 64 of file SWGArgValue.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getValueString(), init(), isSet(), setValueString(), and SWGArgValue().
|
private |
Definition at line 61 of file SWGArgValue.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getValueType(), init(), isSet(), setValueType(), and SWGArgValue().