CCompactXmlFileReadArchive.h
Go to the documentation of this file.
1 #ifndef ifile_CCompactXmlFileReadArchive_included
2 #define ifile_CCompactXmlFileReadArchive_included
3 
4 
5 // Qt includes
6 #include <QtXml/QDomDocument>
7 #include <QtXml/QDomNode>
8 
9 // ACF includes
11 #include <ifile/CFileArchiveInfo.h>
12 
13 
14 namespace ifile
15 {
16 
17 
26 {
27 public:
30 
35  const QString& filePath = "",
36  bool serializeHeader = true,
37  const iser::CArchiveTag& rootTag = s_acfRootTag);
38 
39  bool OpenFile(const QString& filePath);
40 
41 protected:
42  // reimplemented (istd::ILogger)
43  virtual void DecorateMessage(
45  int id,
46  int flags,
47  QString& message,
48  QString& messageSource) const;
49 
50 private:
51  QString m_openFileName;
52 };
53 
54 
55 } // namespace ifile
56 
57 
58 #endif // !ifile_CCompactXmlFileReadArchive_included
59 
60 
Basic implementation of interface ifile::IFileArchiveInfo.
static CArchiveTag s_acfRootTag
Definition: CArchiveBase.h:35
bool OpenFile(const QString &filePath)
virtual void DecorateMessage(istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const
Decorate message parts before outputting.
InformationCategory
Category of information.
Qt-based implementation of archive reading from XML file.
iser::CCompactXmlReadArchiveBase BaseClass
CCompactXmlFileReadArchive(const QString &filePath="", bool serializeHeader=true, const iser::CArchiveTag &rootTag=s_acfRootTag)
Constructor initializing archive to work with file.
Process tag used to group data in archive stream.
Definition: CArchiveTag.h:21
Qt-based implementation of archive reading from XML file.

© 2007-2017 Witold Gantzke and Kirill Lepskiy