1 #ifndef TORCXMLSERIALISER_H 2 #define TORCXMLSERIALISER_H 6 #include <QXmlStreamWriter> 20 virtual void Prepare (QByteArray &Dest)
override;
21 virtual void Begin (QByteArray &Dest)
override;
22 virtual void AddProperty (QByteArray &Dest,
const QString &Name,
const QVariant &Value)
override;
23 virtual void End (QByteArray &Dest)
override;
25 void VariantToXML (
const QString &Name,
const QVariant &Value);
26 void ListToXML (
const QString &Name,
const QVariantList &Value);
28 void MapToXML (
const QString &Name,
const QVariantMap &Value);
38 #endif // TORCXMLSERIALISER_H
void VariantToXML(const QString &Name, const QVariant &Value)
virtual void End(QByteArray &Dest) override
void StringListToXML(const QString &Name, const QStringList &Value)
void ListToXML(const QString &Name, const QVariantList &Value)
virtual void Begin(QByteArray &Dest) override
virtual void AddProperty(QByteArray &Dest, const QString &Name, const QVariant &Value) override
virtual ~TorcXMLSerialiser()=default
void MapToXML(const QString &Name, const QVariantMap &Value)
virtual HTTPResponseType ResponseType(void) override
QXmlStreamWriter m_xmlStream
virtual void Prepare(QByteArray &Dest) override
A serialiser for XML formatted output.