ACF $AcfVersion:0$
CSimpleXmlFileReadArchive.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/QFile>
7
8// ACF includes
11
12
13namespace ifile
14{
15
16
28 public CFileArchiveInfo
29{
30public:
33
34 explicit CSimpleXmlFileReadArchive(const QString& filePath, bool serializeHeader = true, const iser::CArchiveTag& rootTag = s_acfRootTag);
36
37protected:
38 // reimplemented (istd::ILogger)
39 virtual void DecorateMessage(
41 int id,
42 int flags,
43 QString& message,
44 QString& messageSource) const override;
45
46private:
47 QFile m_file;
48};
49
50
51} // namespace ifile
52
53
Basic implementation of interface ifile::IFileArchiveInfo.
Simple implementation of archive reading from XML file.
CSimpleXmlFileReadArchive(const QString &filePath, bool serializeHeader=true, const iser::CArchiveTag &rootTag=s_acfRootTag)
virtual void DecorateMessage(istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const override
Decorate message parts before outputting.
iser::CXmlStreamReadArchiveBase BaseClass
static CArchiveTag s_acfRootTag
Process tag used to group data in archive stream.
Definition CArchiveTag.h:22
Base implementation of a reading archive for XML format using a stream implementation.
InformationCategory
Category of information.
Contains interfaces and implementations of file system related components.