10#include <QtXml/QDomDocument>
11#include <QtXml/QDomNode>
33 bool serializeHeader =
true,
43 std::function<
bool(
int)> resizeFn =
nullptr)
override;
49 std::function<
bool(
int)> resizeFn =
nullptr)
override;
69 QString& messageSource)
const override;
75 QByteArray m_currentAttribute;
77 bool m_serializeHeader;
80 bool m_allowAttribute;
82 typedef QList<const CArchiveTag*> TagsList;
static CArchiveTag s_acfRootTag
Process tag used to group data in archive stream.
Qt-based implementation of archive reading from XML file.
bool ProcessGroupList(const iser::CArchiveTag &listTag, const iser::CArchiveTag &groupTag, int count, std::function< bool(int, iser::IArchive &)> groupArchiveFn, std::function< bool(int)> resizeFn=nullptr) override
bool BeginCountTag(const CArchiveTag &mainTag, const CArchiveTag &subTag, int &count)
bool ReadTextNode(QByteArray &text) override
Read single unformatted text node.
bool SetContent(QIODevice *devicePtr)
bool EndTag(const CArchiveTag &tag) override
End of archive tag.
bool ProcessLeaf(const CArchiveTag &tag, QString &value) override
Process primitive type.
bool BeginTag(const CArchiveTag &tag) override
Begin of archive tag.
QDomElement m_currentParent
void DecorateMessage(istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const override
Decorate message parts before outputting.
CTextReadArchiveBase BaseClass
bool ProcessAnyList(const iser::CArchiveTag &listTag, const iser::CArchiveTag &subTag, int count, std::function< bool(int, iser::IArchive &)> iterArchiveFn, std::function< bool(int)> resizeFn=nullptr) override
CCompactXmlReadArchiveBase(bool serializeHeader=true, const CArchiveTag &rootTag=s_acfRootTag)
bool IsTagSkippingSupported() const override
Check if skiping to the end of tag on EndTag is supported.
bool ReadStringNode(QString &text)
Common archive implementation of text-based reading archives.
bool ProcessLeaf(const CArchiveTag &tag, bool &value) override
Process primitive type.
Base class for all XML implementations for ICF documents.
Represent input/output persistence archive.
Contains general persistence mechanism with basic archives implementations.