ACF $AcfVersion:0$
CCompactXmlMemReadArchive.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// Qt includes
6#include <QtCore/QBuffer>
7#include <QtXml/QDomDocument>
8#include <QtXml/QDomNode>
9
10// ACF includes
12
13
14namespace iser
15{
16
17
24{
25public:
27
32 const QByteArray& inputString,
33 bool serializeHeader = true,
34 const iser::CArchiveTag& rootTag = s_acfRootTag);
35
36protected:
37 // reimplemented (istd::ILogger)
38 virtual void DecorateMessage(
40 int id,
41 int flags,
42 QString& message,
43 QString& messageSource) const override;
44
45private:
46 QBuffer m_buffer;
47};
48
49
50} // namespace iser
51
52
53
54
static CArchiveTag s_acfRootTag
Process tag used to group data in archive stream.
Definition CArchiveTag.h:22
Qt-based implementation of archive reading from XML file.
CCompactXmlMemReadArchive(const QByteArray &inputString, bool serializeHeader=true, const iser::CArchiveTag &rootTag=s_acfRootTag)
Constructor initializing archive from memory.
virtual void DecorateMessage(istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const override
Decorate message parts before outputting.
Qt-based implementation of archive reading from XML file.
InformationCategory
Category of information.
Contains general persistence mechanism with basic archives implementations.