ICF 3.1.1.10
Technical documentation of ICF Libraries
CSimpleXmlFileReadArchive.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#pragma once
7
8
9// Qt includes
10#include <QtCore/QFile>
11
12// ICF includes
15
16
17namespace ifile
18{
19
20
30 public CFileArchiveInfo
31{
32public:
35
36 explicit CSimpleXmlFileReadArchive(const QString& filePath, bool serializeHeader = true, const iser::CArchiveTag& rootTag = s_acfRootTag);
38
39protected:
40 // reimplemented (istd::ILogger)
43 int id,
44 int flags,
45 QString& message,
46 QString& messageSource) const override;
47
48private:
49 QFile m_file;
50};
51
52
53} // namespace ifile
54
55
Basic implementation of interface ifile::IFileArchiveInfo.
Simple implementation of archive reading from XML file.
iser::CXmlStreamReadArchiveBase BaseClass
CSimpleXmlFileReadArchive(const QString &filePath, bool serializeHeader=true, const iser::CArchiveTag &rootTag=s_acfRootTag)
void DecorateMessage(istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const override
Decorate message parts before outputting.
static CArchiveTag s_acfRootTag
Process tag used to group data in archive stream.
Definition CArchiveTag.h:25
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.

© Witold Gantzke and Kirill Lepskiy