MythTV
master
|
#include <libmythbase/http/serialisers/mythxmlserialiser.h>
Public Member Functions | |
MythXMLSerialiser (const QString &Name, const QVariant &Value) | |
Public Member Functions inherited from MythSerialiser | |
MythSerialiser () | |
HTTPData | Result () |
Protected Member Functions | |
void | AddObject (const QString &Name, const QVariant &Value) |
void | AddValue (const QString &Name, const QVariant &Value) |
void | AddQObject (const QObject *Object) |
void | AddStringList (const QVariant &Values) |
void | AddList (const QString &Name, const QVariant &Values) |
void | AddMap (const QString &Name, const QVariantMap &Map) |
void | AddProperty (const QString &Name, const QVariant &Value, const QMetaObject *MetaObject, const QMetaProperty *MetaProperty) |
Static Private Member Functions | |
static QString | GetItemName (const QString &Name) |
static QString | GetContentName (const QString &Name, const QMetaObject *MetaObject) |
FIXME We shouldn't be doing this on the fly. More... | |
Private Attributes | |
QXmlStreamWriter | m_writer |
bool | m_first { true } |
Additional Inherited Members | |
Static Public Member Functions inherited from MythSerialiser | |
static HTTPData | Serialise (const QString &Name, const QVariant &Value, const QStringList &Accept) |
Serialise the given data with an encoding suggested by Accept. More... | |
Protected Attributes inherited from MythSerialiser | |
QBuffer | m_buffer |
HTTPData | m_result { nullptr } |
Definition at line 12 of file mythxmlserialiser.h.
MythXMLSerialiser::MythXMLSerialiser | ( | const QString & | Name, |
const QVariant & | Value | ||
) |
Definition at line 10 of file mythxmlserialiser.cpp.
|
protected |
Definition at line 21 of file mythxmlserialiser.cpp.
Referenced by MythXMLSerialiser().
|
protected |
Definition at line 35 of file mythxmlserialiser.cpp.
Referenced by AddList(), AddMap(), AddObject(), and AddProperty().
|
protected |
Definition at line 84 of file mythxmlserialiser.cpp.
Referenced by AddValue().
|
protected |
Definition at line 134 of file mythxmlserialiser.cpp.
Referenced by AddValue().
|
protected |
Definition at line 145 of file mythxmlserialiser.cpp.
Referenced by AddValue().
|
protected |
Definition at line 156 of file mythxmlserialiser.cpp.
Referenced by AddValue().
|
protected |
Definition at line 117 of file mythxmlserialiser.cpp.
Referenced by AddQObject().
|
staticprivate |
Definition at line 172 of file mythxmlserialiser.cpp.
Referenced by AddMap(), and GetContentName().
|
staticprivate |
FIXME We shouldn't be doing this on the fly.
Definition at line 182 of file mythxmlserialiser.cpp.
Referenced by AddObject(), and AddProperty().
|
private |
Definition at line 31 of file mythxmlserialiser.h.
Referenced by AddList(), AddMap(), AddObject(), AddProperty(), AddQObject(), AddStringList(), AddValue(), and MythXMLSerialiser().
Definition at line 32 of file mythxmlserialiser.h.
Referenced by AddObject().