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 <SWGChannelListItem.h>
Public Member Functions | |
SWGChannelListItem () | |
SWGChannelListItem (QString *json) | |
virtual | ~SWGChannelListItem () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGChannelListItem * | fromJson (QString &jsonString) override |
QString * | getName () |
void | setName (QString *name) |
QString * | getIdUri () |
void | setIdUri (QString *id_uri) |
QString * | getId () |
void | setId (QString *id) |
qint32 | getDirection () |
void | setDirection (qint32 direction) |
QString * | getVersion () |
void | setVersion (QString *version) |
qint32 | getIndex () |
void | setIndex (qint32 index) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QString * | name |
bool | m_name_isSet |
QString * | id_uri |
bool | m_id_uri_isSet |
QString * | id |
bool | m_id_isSet |
qint32 | direction |
bool | m_direction_isSet |
QString * | version |
bool | m_version_isSet |
qint32 | index |
bool | m_index_isSet |
Definition at line 32 of file SWGChannelListItem.h.
SWGSDRangel::SWGChannelListItem::SWGChannelListItem | ( | ) |
Definition at line 30 of file SWGChannelListItem.cpp.
References direction, id_uri, index, m_direction_isSet, m_id_isSet, m_id_uri_isSet, m_index_isSet, m_name_isSet, m_version_isSet, name, and version.
SWGSDRangel::SWGChannelListItem::SWGChannelListItem | ( | QString * | json | ) |
Definition at line 25 of file SWGChannelListItem.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 45 of file SWGChannelListItem.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 109 of file SWGChannelListItem.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 120 of file SWGChannelListItem.cpp.
References direction, id_uri, index, m_direction_isSet, m_index_isSet, name, SWGSDRangel::toJsonValue(), and version.
Referenced by asJson().
void SWGSDRangel::SWGChannelListItem::cleanup | ( | ) |
Definition at line 66 of file SWGChannelListItem.cpp.
References id, id_uri, name, and version.
Referenced by ~SWGChannelListItem().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 84 of file SWGChannelListItem.cpp.
References fromJsonObject().
Referenced by SWGChannelListItem().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 93 of file SWGChannelListItem.cpp.
References direction, id_uri, index, name, SWGSDRangel::setValue(), and version.
Referenced by fromJson().
qint32 SWGSDRangel::SWGChannelListItem::getDirection | ( | ) |
QString * SWGSDRangel::SWGChannelListItem::getId | ( | ) |
QString * SWGSDRangel::SWGChannelListItem::getIdUri | ( | ) |
qint32 SWGSDRangel::SWGChannelListItem::getIndex | ( | ) |
QString * SWGSDRangel::SWGChannelListItem::getName | ( | ) |
QString * SWGSDRangel::SWGChannelListItem::getVersion | ( | ) |
void SWGSDRangel::SWGChannelListItem::init | ( | ) |
Definition at line 50 of file SWGChannelListItem.cpp.
References direction, id_uri, index, m_direction_isSet, m_id_isSet, m_id_uri_isSet, m_index_isSet, m_name_isSet, m_version_isSet, name, and version.
Referenced by SWGChannelListItem().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 206 of file SWGChannelListItem.cpp.
References id_uri, m_direction_isSet, m_index_isSet, name, and version.
void SWGSDRangel::SWGChannelListItem::setDirection | ( | qint32 | direction | ) |
Definition at line 179 of file SWGChannelListItem.cpp.
References direction, and m_direction_isSet.
void SWGSDRangel::SWGChannelListItem::setId | ( | QString * | id | ) |
void SWGSDRangel::SWGChannelListItem::setIdUri | ( | QString * | id_uri | ) |
Definition at line 159 of file SWGChannelListItem.cpp.
References id_uri, and m_id_uri_isSet.
void SWGSDRangel::SWGChannelListItem::setIndex | ( | qint32 | index | ) |
void SWGSDRangel::SWGChannelListItem::setName | ( | QString * | name | ) |
void SWGSDRangel::SWGChannelListItem::setVersion | ( | QString * | version | ) |
Definition at line 189 of file SWGChannelListItem.cpp.
References m_version_isSet, and version.
|
private |
Definition at line 76 of file SWGChannelListItem.h.
Referenced by asJsonObject(), fromJsonObject(), getDirection(), init(), setDirection(), and SWGChannelListItem().
|
private |
Definition at line 73 of file SWGChannelListItem.h.
|
private |
Definition at line 70 of file SWGChannelListItem.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getIdUri(), init(), isSet(), setIdUri(), and SWGChannelListItem().
|
private |
Definition at line 82 of file SWGChannelListItem.h.
Referenced by asJsonObject(), fromJsonObject(), getIndex(), init(), setIndex(), and SWGChannelListItem().
|
private |
Definition at line 77 of file SWGChannelListItem.h.
Referenced by asJsonObject(), init(), isSet(), setDirection(), and SWGChannelListItem().
|
private |
Definition at line 74 of file SWGChannelListItem.h.
Referenced by init(), setId(), and SWGChannelListItem().
|
private |
Definition at line 71 of file SWGChannelListItem.h.
Referenced by init(), setIdUri(), and SWGChannelListItem().
|
private |
Definition at line 83 of file SWGChannelListItem.h.
Referenced by asJsonObject(), init(), isSet(), setIndex(), and SWGChannelListItem().
|
private |
Definition at line 68 of file SWGChannelListItem.h.
Referenced by init(), setName(), and SWGChannelListItem().
|
private |
Definition at line 80 of file SWGChannelListItem.h.
Referenced by init(), setVersion(), and SWGChannelListItem().
|
private |
Definition at line 67 of file SWGChannelListItem.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getName(), init(), isSet(), setName(), and SWGChannelListItem().
|
private |
Definition at line 79 of file SWGChannelListItem.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getVersion(), init(), isSet(), setVersion(), and SWGChannelListItem().