Public Member Functions | Static Public Member Functions
QMJsonType< T > Class Template Reference

#include <qmjsontype.h>

Inheritance diagram for QMJsonType< T >:
QMJsonTypeBase

Public Member Functions

 QMJsonType (T value)
 
virtual ~QMJsonType ()
 
virtual void set (const T &value)
 
virtual const T & get (void)
 
virtual QDebug print (QDebug dbg)
 
virtual bool isBaseType (void)
 
virtual QString toJson (int32_t tab, QMJsonSort sort)
 
virtual void toComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromJson (const QString &json, int32_t &index)
 
template<>
QString QM_JSON_EXPORT toJson (int32_t tab, QMJsonSort sort)
 
template<>
bool QM_JSON_EXPORT isBaseType (void)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromJson (const QString &json, int32_t &index)
 
template<>
QString QM_JSON_EXPORT toJson (int32_t tab, QMJsonSort sort)
 
template<>
bool QM_JSON_EXPORT isBaseType (void)
 
template<>
void QM_JSON_EXPORT toComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromJson (const QString &json, int32_t &index)
 
template<>
QString QM_JSON_EXPORT toJson (int32_t tab, QMJsonSort sort)
 
template<>
bool QM_JSON_EXPORT isBaseType (void)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromJson (const QString &json, int32_t &index)
 
template<>
QString QM_JSON_EXPORT toJson (int32_t tab, QMJsonSort sort)
 
template<>
bool QM_JSON_EXPORT isBaseType (void)
 
template<>
void QM_JSON_EXPORT toComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
void QM_JSON_EXPORT toComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
void QM_JSON_EXPORT toComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromJson (const QString &json, int32_t &index)
 
template<>
QString QM_JSON_EXPORT toJson (int32_t tab, QMJsonSort sort)
 
template<>
bool QM_JSON_EXPORT isBaseType (void)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromJson (const QString &json, int32_t &index)
 
template<>
QString QM_JSON_EXPORT toJson (int32_t tab, QMJsonSort sort)
 
template<>
bool QM_JSON_EXPORT isBaseType (void)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromJson (const QString &json, int32_t &index)
 
template<>
QString QM_JSON_EXPORT toJson (int32_t tab, QMJsonSort sort)
 
template<>
bool QM_JSON_EXPORT isBaseType (void)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromJson (const QString &json, int32_t &index)
 
template<>
QString QM_JSON_EXPORT toJson (int32_t tab, QMJsonSort sort)
 
template<>
bool QM_JSON_EXPORT isBaseType (void)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromJson (const QString &json, int32_t &index)
 
template<>
QString QM_JSON_EXPORT toJson (int32_t tab, QMJsonSort sort)
 
template<>
bool QM_JSON_EXPORT isBaseType (void)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromJson (const QString &json, int32_t &index)
 
template<>
QString QM_JSON_EXPORT toJson (int32_t tab, QMJsonSort sort)
 
template<>
bool QM_JSON_EXPORT isBaseType (void)
 
template<>
void QM_JSON_EXPORT toComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
void QM_JSON_EXPORT toComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
void QM_JSON_EXPORT toComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
void QM_JSON_EXPORT toComplexJson (const QMPointer< QMJsonObject > &obj)
 
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT fromComplexJson (const QMPointer< QMJsonObject > &obj)
 
- Public Member Functions inherited from QMJsonTypeBase
 QMJsonTypeBase ()
 
virtual ~QMJsonTypeBase ()
 

Static Public Member Functions

static QMPointer< QMJsonValuefromJson (const QString &json, int32_t &index)
 
static QMPointer< QMJsonValuefromComplexJson (const QMPointer< QMJsonObject > &obj)
 

Detailed Description

template<class T>
class QMJsonType< T >

Definition at line 130 of file qmjsontype.h.

Constructor & Destructor Documentation

template<class T >
QMJsonType< T >::QMJsonType ( value)

Definition at line 160 of file qmjsontype.h.

template<class T >
QMJsonType< T >::~QMJsonType ( )
virtual

Definition at line 166 of file qmjsontype.h.

Member Function Documentation

template<class T >
void QMJsonType< T >::set ( const T &  value)
virtual

Definition at line 171 of file qmjsontype.h.

template<class T >
const T & QMJsonType< T >::get ( void  )
virtual

Definition at line 177 of file qmjsontype.h.

template<class T >
QDebug QMJsonType< T >::print ( QDebug  dbg)
virtual

Implements QMJsonTypeBase.

Definition at line 183 of file qmjsontype.h.

template<class T >
bool QMJsonType< T >::isBaseType ( void  )
virtual

Implements QMJsonTypeBase.

Definition at line 213 of file qmjsontype.h.

template<class T >
QString QMJsonType< T >::toJson ( int32_t  tab,
QMJsonSort  sort 
)
virtual

Implements QMJsonTypeBase.

Definition at line 189 of file qmjsontype.h.

template<class T >
QMPointer< QMJsonValue > QMJsonType< T >::fromJson ( const QString &  json,
int32_t &  index 
)
static

Definition at line 198 of file qmjsontype.h.

template<class T >
void QMJsonType< T >::toComplexJson ( const QMPointer< QMJsonObject > &  obj)
virtual

Implements QMJsonTypeBase.

Definition at line 207 of file qmjsontype.h.

template<class T>
static QMPointer<QMJsonValue> QMJsonType< T >::fromComplexJson ( const QMPointer< QMJsonObject > &  obj)
static
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< bool >::fromJson ( const QString &  json,
int32_t &  index 
)
template<>
QString QM_JSON_EXPORT QMJsonType< bool >::toJson ( int32_t  tab,
QMJsonSort  sort 
)
virtual

Implements QMJsonTypeBase.

template<>
bool QM_JSON_EXPORT QMJsonType< bool >::isBaseType ( void  )
virtual

Implements QMJsonTypeBase.

template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< double >::fromJson ( const QString &  json,
int32_t &  index 
)
template<>
QString QM_JSON_EXPORT QMJsonType< double >::toJson ( int32_t  tab,
QMJsonSort  sort 
)
virtual

Implements QMJsonTypeBase.

template<>
bool QM_JSON_EXPORT QMJsonType< double >::isBaseType ( void  )
virtual

Implements QMJsonTypeBase.

template<>
void QM_JSON_EXPORT QMJsonType< QColor >::toComplexJson ( const QMPointer< QMJsonObject > &  obj)
virtual

Implements QMJsonTypeBase.

template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< QColor >::fromComplexJson ( const QMPointer< QMJsonObject > &  obj)
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< QMPointer< QMJsonArray > >::fromJson ( const QString &  json,
int32_t &  index 
)
template<>
QString QM_JSON_EXPORT QMJsonType< QMPointer< QMJsonArray > >::toJson ( int32_t  tab,
QMJsonSort  sort 
)
virtual

Implements QMJsonTypeBase.

template<>
bool QM_JSON_EXPORT QMJsonType< QMPointer< QMJsonArray > >::isBaseType ( void  )
virtual

Implements QMJsonTypeBase.

template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< QMPointer< QMJsonObject > >::fromJson ( const QString &  json,
int32_t &  index 
)
template<>
QString QM_JSON_EXPORT QMJsonType< QMPointer< QMJsonObject > >::toJson ( int32_t  tab,
QMJsonSort  sort 
)
virtual

Implements QMJsonTypeBase.

template<>
bool QM_JSON_EXPORT QMJsonType< QMPointer< QMJsonObject > >::isBaseType ( void  )
virtual

Implements QMJsonTypeBase.

template<>
void QM_JSON_EXPORT QMJsonType< QPoint >::toComplexJson ( const QMPointer< QMJsonObject > &  obj)
virtual

Implements QMJsonTypeBase.

template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< QPoint >::fromComplexJson ( const QMPointer< QMJsonObject > &  obj)
template<>
void QM_JSON_EXPORT QMJsonType< QRect >::toComplexJson ( const QMPointer< QMJsonObject > &  obj)
virtual

Implements QMJsonTypeBase.

template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< QRect >::fromComplexJson ( const QMPointer< QMJsonObject > &  obj)
template<>
void QM_JSON_EXPORT QMJsonType< QSize >::toComplexJson ( const QMPointer< QMJsonObject > &  obj)
virtual

Implements QMJsonTypeBase.

template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< QSize >::fromComplexJson ( const QMPointer< QMJsonObject > &  obj)
template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< QString >::fromJson ( const QString &  json,
int32_t &  index 
)
template<>
QString QM_JSON_EXPORT QMJsonType< QString >::toJson ( int32_t  tab,
QMJsonSort  sort 
)
virtual

Implements QMJsonTypeBase.

template<>
bool QM_JSON_EXPORT QMJsonType< QString >::isBaseType ( void  )
virtual

Implements QMJsonTypeBase.

template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< bool >::fromJson ( const QString &  json,
int32_t &  index 
)

Definition at line 33 of file qmjsontype_bool.cpp.

template<>
QString QM_JSON_EXPORT QMJsonType< bool >::toJson ( int32_t  tab,
QMJsonSort  sort 
)
virtual

Implements QMJsonTypeBase.

Definition at line 76 of file qmjsontype_bool.cpp.

template<>
bool QM_JSON_EXPORT QMJsonType< bool >::isBaseType ( void  )
virtual

Implements QMJsonTypeBase.

Definition at line 85 of file qmjsontype_bool.cpp.

template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< double >::fromJson ( const QString &  json,
int32_t &  index 
)

Definition at line 44 of file qmjsontype_double.cpp.

template<>
QString QM_JSON_EXPORT QMJsonType< double >::toJson ( int32_t  tab,
QMJsonSort  sort 
)
virtual

Implements QMJsonTypeBase.

Definition at line 76 of file qmjsontype_double.cpp.

template<>
bool QM_JSON_EXPORT QMJsonType< double >::isBaseType ( void  )
virtual

Implements QMJsonTypeBase.

Definition at line 85 of file qmjsontype_double.cpp.

template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< QMPointer< QMJsonArray > >::fromJson ( const QString &  json,
int32_t &  index 
)

Definition at line 33 of file qmjsontype_qmjsonarray.cpp.

template<>
QString QM_JSON_EXPORT QMJsonType< QMPointer< QMJsonArray > >::toJson ( int32_t  tab,
QMJsonSort  sort 
)
virtual

Implements QMJsonTypeBase.

Definition at line 64 of file qmjsontype_qmjsonarray.cpp.

template<>
bool QM_JSON_EXPORT QMJsonType< QMPointer< QMJsonArray > >::isBaseType ( void  )
virtual

Implements QMJsonTypeBase.

Definition at line 112 of file qmjsontype_qmjsonarray.cpp.

template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< QMPointer< QMJsonObject > >::fromJson ( const QString &  json,
int32_t &  index 
)

Definition at line 33 of file qmjsontype_qmjsonobject.cpp.

template<>
QString QM_JSON_EXPORT QMJsonType< QMPointer< QMJsonObject > >::toJson ( int32_t  tab,
QMJsonSort  sort 
)
virtual

Implements QMJsonTypeBase.

Definition at line 87 of file qmjsontype_qmjsonobject.cpp.

template<>
bool QM_JSON_EXPORT QMJsonType< QMPointer< QMJsonObject > >::isBaseType ( void  )
virtual

Implements QMJsonTypeBase.

Definition at line 213 of file qmjsontype_qmjsonobject.cpp.

template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< QString >::fromJson ( const QString &  json,
int32_t &  index 
)

Definition at line 33 of file qmjsontype_qstring.cpp.

template<>
QString QM_JSON_EXPORT QMJsonType< QString >::toJson ( int32_t  tab,
QMJsonSort  sort 
)
virtual

Implements QMJsonTypeBase.

Definition at line 85 of file qmjsontype_qstring.cpp.

template<>
bool QM_JSON_EXPORT QMJsonType< QString >::isBaseType ( void  )
virtual

Implements QMJsonTypeBase.

Definition at line 143 of file qmjsontype_qstring.cpp.

template<>
void QM_JSON_EXPORT QMJsonType< QColor >::toComplexJson ( const QMPointer< QMJsonObject > &  obj)
virtual

Implements QMJsonTypeBase.

Definition at line 53 of file qmjsontype_qcolor.cpp.

template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< QColor >::fromComplexJson ( const QMPointer< QMJsonObject > &  obj)

Definition at line 103 of file qmjsontype_qcolor.cpp.

template<>
void QM_JSON_EXPORT QMJsonType< QPoint >::toComplexJson ( const QMPointer< QMJsonObject > &  obj)
virtual

Implements QMJsonTypeBase.

Definition at line 33 of file qmjsontype_qpoint.cpp.

template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< QPoint >::fromComplexJson ( const QMPointer< QMJsonObject > &  obj)

Definition at line 44 of file qmjsontype_qpoint.cpp.

template<>
void QM_JSON_EXPORT QMJsonType< QRect >::toComplexJson ( const QMPointer< QMJsonObject > &  obj)
virtual

Implements QMJsonTypeBase.

Definition at line 33 of file qmjsontype_qrect.cpp.

template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< QRect >::fromComplexJson ( const QMPointer< QMJsonObject > &  obj)

Definition at line 44 of file qmjsontype_qrect.cpp.

template<>
void QM_JSON_EXPORT QMJsonType< QSize >::toComplexJson ( const QMPointer< QMJsonObject > &  obj)
virtual

Implements QMJsonTypeBase.

Definition at line 33 of file qmjsontype_qsize.cpp.

template<>
QMPointer< QMJsonValue > QM_JSON_EXPORT QMJsonType< QSize >::fromComplexJson ( const QMPointer< QMJsonObject > &  obj)

Definition at line 44 of file qmjsontype_qsize.cpp.


The documentation for this class was generated from the following file: