1 #ifndef TORCBINARYPLISTSERIALISER_H 2 #define TORCBINARYPLISTSERIALISER_H 19 void Prepare (QByteArray &)
override;
20 void Begin (QByteArray &Dest)
override;
21 void AddProperty (QByteArray &Dest,
const QString &Name,
const QVariant &Value)
override;
22 void End (QByteArray &Dest)
override;
25 quint64 BinaryFromVariant (QByteArray &Dest,
const QString &Name,
const QVariant &Value);
26 quint64 BinaryFromStringList (QByteArray &Dest,
const QString &Name,
const QStringList &Value);
27 quint64 BinaryFromArray (QByteArray &Dest,
const QString &Name,
const QVariantList &Value);
28 quint64 BinaryFromMap (QByteArray &Dest,
const QString &Name,
const QVariantMap &Value);
29 quint64 BinaryFromQString (QByteArray &Dest,
const QString &Value);
30 void BinaryFromUInt (QByteArray &Dest, quint64 Value);
31 void BinaryFromUuid (QByteArray &Dest,
const QVariant &Value);
32 void BinaryFromData (QByteArray &Dest,
const QVariant &Value);
33 void CountObjects (quint64 &Count,
const QVariant &Value);
36 quint8 m_referenceSize;
37 QList<quint64> m_objectOffsets;
38 QHash<QString,quint64> m_strings;
41 #endif // TORCBINARYPLISTSERIALISER_H void Begin(QByteArray &Dest) override
TorcBinaryPListSerialiser()
void Prepare(QByteArray &) override
void AddProperty(QByteArray &Dest, const QString &Name, const QVariant &Value) override
void End(QByteArray &Dest) override
virtual ~TorcBinaryPListSerialiser()=default
HTTPResponseType ResponseType(void) override
Data serialiser for the Apple binary property list format.