33#ifndef _QX_SERIALIZE_QJSON_QX_REGISTERED_CLASS_H_
34#define _QX_SERIALIZE_QJSON_QX_REGISTERED_CLASS_H_
47#include <QtCore/qjsonvalue.h>
48#include <QtCore/qjsonobject.h>
49#include <QtCore/qjsonarray.h>
63 static QJsonValue
save(
IxClass * pClass,
const void * pOwner,
const QString & format);
64 static qx_bool load(
const QJsonValue & j,
IxClass * pClass,
void * pOwner,
const QString & format);
74 static QJsonValue
save(
const T & t,
const QString & format)
80 static qx_bool load(
const QJsonValue & j, T & t,
const QString & format)
92#define QX_JSON_SERIALIZE_ONLY_ID "QX_JSON_SERIALIZE_ONLY_ID"
Common interface for all classes registered into QxOrm context.
Concrete class registered into QxOrm context.
qx::IxClass : common interface for all classes registered into QxOrm context
qx_bool : boolean type with code and description message when an error occured
qx::QxClass<T> : concrete class of type T registered into QxOrm context (this class is a singleton an...
qx::trait::is_qx_registered<T>::value : return true if T is registered into QxOrm context to provide ...
Root namespace for all QxOrm library features.
static qx_bool load(const QJsonValue &j, IxClass *pClass, void *pOwner, const QString &format)
static QJsonValue save(IxClass *pClass, const void *pOwner, const QString &format)
static QJsonValue save(const T &t, const QString &format)
static qx_bool load(const QJsonValue &j, T &t, const QString &format)
qx::trait::is_qx_registered<T>::value : return true if T is registered into QxOrm context to provide ...