6#include <QtXml/QDomDocument>
7#include <QtXml/QDomNode>
29 bool serializeHeader =
true,
37 virtual bool Process(QString& value)
override;
53 QString& messageSource)
const override;
59 QByteArray m_currentAttribute;
61 bool m_serializeHeader;
65 bool m_allowAttribute;
67 typedef QList<const iser::CArchiveTag*> TagsList;
static CArchiveTag s_acfRootTag
Process tag used to group data in archive stream.
Qt-based implementation of archive reading from XML file.
CCompactXmlReadArchiveBase(bool serializeHeader=true, const iser::CArchiveTag &rootTag=s_acfRootTag)
bool SetContent(QIODevice *devicePtr)
virtual bool IsTagSkippingSupported() const override
Checks if skipping to the end of a tag on EndTag() is supported.
virtual bool EndTag(const iser::CArchiveTag &tag) override
Ends a tagged section in the archive.
virtual bool BeginMultiTag(const iser::CArchiveTag &tag, const iser::CArchiveTag &subTag, int &count) override
Begins a tagged section containing multiple elements of the same type.
QDomElement m_currentParent
virtual bool ReadTextNode(QByteArray &text) override
Read single unformatted text node.
bool ReadStringNode(QString &text)
virtual bool BeginTag(const iser::CArchiveTag &tag) override
Begins a tagged section in the archive.
virtual void DecorateMessage(istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const override
Decorate message parts before outputting.
virtual bool Process(QString &value) override
Process primitive type.
Common archive implementation of text-based reading archives.
Base class for all XML implementations for ACF documents.
virtual bool Process(bool &value)=0
Processes (reads or writes) a boolean value.
Contains general persistence mechanism with basic archives implementations.