10#include <QtCore/QTextStream>
11#include <QtCore/QIODevice>
Process tag used to group data in archive stream.
Common archive implementation of text-based storing archives.
bool ProcessLeaf(const CArchiveTag &tag, quint8 &value) override
Process primitive type.
bool ProcessLeaf(const CArchiveTag &tag, double &value) override
Process primitive type.
bool ProcessLeaf(const CArchiveTag &tag, char &value) override
Process primitive type.
bool ProcessLeaf(const CArchiveTag &tag, bool &value) override
Process primitive type.
bool ProcessLeaf(const CArchiveTag &tag, quint64 &value) override
Process primitive type.
bool ProcessLeaf(const CArchiveTag &tag, quint32 &value) override
Process primitive type.
virtual bool EndTag(const CArchiveTag &tag)=0
End of archive tag.
virtual bool BeginTag(const CArchiveTag &tag)=0
Begin of archive tag.
CWriteArchiveBase BaseClass
bool ProcessLeaf(const CArchiveTag &tag, QString &value) override
Process primitive type.
bool ProcessLeaf(const CArchiveTag &tag, quint16 &value) override
Process primitive type.
bool ProcessLeaf(const CArchiveTag &tag, float &value) override
Process primitive type.
bool ProcessGroup(const iser::CArchiveTag &tag, std::function< bool(iser::IArchive &)> groupArchiveFn) override
bool ProcessLeaf(const CArchiveTag &tag, QByteArray &value) override
Process primitive type.
bool ProcessLeaf(const CArchiveTag &tag, qint8 &value) override
Process primitive type.
bool ProcessBytes(const CArchiveTag &tag, void *dataPtr, int size) override
Process binary data block.
virtual bool WriteTextNode(const QByteArray &text)=0
Write single unformatted text node.
bool ProcessLeaf(const CArchiveTag &tag, qint64 &value) override
Process primitive type.
CTextWriteArchiveBase(const IVersionInfo *versionInfoPtr)
bool ProcessObject(const CArchiveTag &tag, ISerializable &object) override
Process object enclosed by some tag.
bool ProcessLeaf(const CArchiveTag &tag, qint32 &value) override
Process primitive type.
bool ProcessLeaf(const CArchiveTag &tag, qint16 &value) override
Process primitive type.
Basic implementation of an abstract archive for data writting.
Represent input/output persistence archive.
Common class for all classes which objects can be archived or restored from archive.
Provides access to version information.
Contains general persistence mechanism with basic archives implementations.