LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QtJsonAbstract Class Reference

#include <qtjsonabstract.h>

Collaboration diagram for QtJsonAbstract:
[legend]

Public Types

typedef QList< QPair< QString,
QVariant > > 
ContentsList
 
typedef QList< QPair< QString,
QVariant > >::iterator 
ContentsListIterator
 
typedef QList< QPair< QString,
QVariant > >::const_iterator 
ContentsListConstIterator
 

Public Member Functions

QtJsonAbstractadd (const QString &k, qint32 v)
 
QtJsonAbstractadd (const QString &k, qreal v)
 
QtJsonAbstractadd (const QString &k, bool v)
 
QtJsonAbstractadd (const QString &k, const QString &v)
 
QtJsonAbstractadd (const QString &k, const QList< QVariant > &a)
 
QtJsonAbstractadd (const QString &k, const QtJsonAbstract &object)
 
QVariant extract (const QString &k) const
 
QList< QPair< QString, QVariant > > extractAll () const
 
QtJsonAbstractclone () const
 
QString toString ()
 

Static Public Member Functions

static QtJsonAbstractadd (QtJsonAbstract *p_target, const QString &k, const QList< QVariant > &a)
 
static QtJsonAbstractcreate ()
 
static QtJsonAbstractjsonParse (const QString &s)
 
static QtJsonAbstractjsonParseFromStream (QDataStream &stream)
 
static void throwAway (QtJsonAbstract *p_object)
 

Public Attributes

json_object * o
 

Friends

QDataStream & operator<< (QDataStream &, const QtJsonAbstract &)
 
QDataStream & operator>> (QDataStream &, QtJsonAbstract &)
 
QDebug & operator<< (QDebug &, const QtJsonAbstract &)
 

Member Typedef Documentation

typedef QList<QPair<QString,QVariant> > QtJsonAbstract::ContentsList
typedef QList<QPair<QString,QVariant> >::const_iterator QtJsonAbstract::ContentsListConstIterator
typedef QList<QPair<QString,QVariant> >::iterator QtJsonAbstract::ContentsListIterator

Member Function Documentation

QtJsonAbstract * QtJsonAbstract::add ( const QString &  k,
qint32  v 
)
QtJsonAbstract * QtJsonAbstract::add ( const QString &  k,
qreal  v 
)
QtJsonAbstract * QtJsonAbstract::add ( const QString &  k,
bool  v 
)
QtJsonAbstract * QtJsonAbstract::add ( const QString &  k,
const QString &  v 
)
QtJsonAbstract * QtJsonAbstract::add ( const QString &  k,
const QList< QVariant > &  a 
)
QtJsonAbstract * QtJsonAbstract::add ( const QString &  k,
const QtJsonAbstract object 
)
QtJsonAbstract * QtJsonAbstract::add ( QtJsonAbstract p_target,
const QString &  k,
const QList< QVariant > &  a 
)
static
QtJsonAbstract * QtJsonAbstract::clone ( ) const
QtJsonAbstract * QtJsonAbstract::create ( )
static
QVariant QtJsonAbstract::extract ( const QString &  k) const
QList< QPair< QString, QVariant > > QtJsonAbstract::extractAll ( ) const
QtJsonAbstract * QtJsonAbstract::jsonParse ( const QString &  s)
static
QtJsonAbstract * QtJsonAbstract::jsonParseFromStream ( QDataStream &  stream)
static
void QtJsonAbstract::throwAway ( QtJsonAbstract p_object)
static
QString QtJsonAbstract::toString ( )

Friends And Related Function Documentation

QDataStream& operator<< ( QDataStream &  ,
const QtJsonAbstract  
)
friend
QDebug& operator<< ( QDebug &  ,
const QtJsonAbstract  
)
friend
QDataStream& operator>> ( QDataStream &  ,
QtJsonAbstract  
)
friend

Member Data Documentation

json_object* QtJsonAbstract::o
mutable

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