All Downloads are FREE. Search and download functionalities are using the official Maven repository.

qt5cpp.helpers-header.mustache Maven / Gradle / Ivy

There is a newer version: 3.0.0-rc1
Show newest version
{{>licenseInfo}}
#ifndef SWGHELPERS_H
#define SWGHELPERS_H

#include 

{{#cppNamespaceDeclarations}}
namespace {{this}} {
{{/cppNamespaceDeclarations}}

    void setValue(void* value, QJsonValue obj, QString type, QString complexType);
    void toJsonArray(QList* value, QJsonArray* output, QString innerName, QString innerType);
    void toJsonValue(QString name, void* value, QJsonObject* output, QString type);
    bool isCompatibleJsonValue(QString type);
    QString stringValue(QString* value);
    QString stringValue(qint32 value);
    QString stringValue(qint64 value);
    QString stringValue(bool value);

{{#cppNamespaceDeclarations}}
}
{{/cppNamespaceDeclarations}}

#endif // SWGHELPERS_H




© 2015 - 2024 Weber Informatics LLC | Privacy Policy