18 #include <QJsonDocument> 61 streams =
new QList<SWGTestMiStreamSettings*>();
87 QByteArray array (json.toStdString().c_str());
88 QJsonDocument doc = QJsonDocument::fromJson(array);
89 QJsonObject jsonObject = doc.object();
115 QJsonDocument doc(*obj);
116 QByteArray bytes = doc.toJson();
118 return QString(bytes);
123 QJsonObject* obj =
new QJsonObject();
196 QList<SWGTestMiStreamSettings*>*
209 bool isObjectUpdated =
false;
216 if(
streams->size() > 0){ isObjectUpdated =
true;
break;}
218 return isObjectUpdated;
bool m_reverse_api_port_isSet
void toJsonValue(QString name, void *value, QJsonObject *output, QString type)
qint32 getReverseApiDeviceIndex()
void setUseReverseApi(qint32 use_reverse_api)
virtual bool isSet() override
virtual QString asJson() override
QString * getFileRecordName()
bool m_file_record_name_isSet
QString * file_record_name
void setStreams(QList< SWGTestMiStreamSettings *> *streams)
void setReverseApiDeviceIndex(qint32 reverse_api_device_index)
bool m_use_reverse_api_isSet
QList< SWGTestMiStreamSettings * > * streams
QString * reverse_api_address
qint32 getReverseApiPort()
void setValue(void *value, QJsonValue obj, QString type, QString complexType)
qint32 getUseReverseApi()
QList< SWGTestMiStreamSettings * > * getStreams()
void toJsonArray(QList< void *> *value, QJsonObject *output, QString innerName, QString innerType)
virtual SWGTestMISettings * fromJson(QString &jsonString) override
void setReverseApiAddress(QString *reverse_api_address)
qint32 reverse_api_device_index
virtual ~SWGTestMISettings()
void setFileRecordName(QString *file_record_name)
QString * getReverseApiAddress()
void setReverseApiPort(qint32 reverse_api_port)
bool m_reverse_api_device_index_isSet
virtual QJsonObject * asJsonObject() override
virtual void fromJsonObject(QJsonObject &json) override
bool m_reverse_api_address_isSet