ACF $AcfVersion:0$
CCompactXmlFileReadArchive.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 <QtXml/QDomDocument>
7#include <QtXml/QDomNode>
8
9// ACF includes
12
13
14namespace ifile
15{
16
17
26{
27public:
30
35 const QString& filePath = "",
36 bool serializeHeader = true,
37 const iser::CArchiveTag& rootTag = s_acfRootTag);
38
39 bool OpenFile(const QString& filePath);
40
41protected:
42 // reimplemented (istd::ILogger)
43 virtual void DecorateMessage(
45 int id,
46 int flags,
47 QString& message,
48 QString& messageSource) const override;
49
50private:
51 QString m_openFileName;
52};
53
54
55} // namespace ifile
56
57
Qt-based implementation of archive reading from XML file.
iser::CCompactXmlReadArchiveBase BaseClass
virtual void DecorateMessage(istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const override
Decorate message parts before outputting.
bool OpenFile(const QString &filePath)
CCompactXmlFileReadArchive(const QString &filePath="", bool serializeHeader=true, const iser::CArchiveTag &rootTag=s_acfRootTag)
Constructor initializing archive to work with file.
Basic implementation of interface ifile::IFileArchiveInfo.
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.
InformationCategory
Category of information.
Contains interfaces and implementations of file system related components.