CCompactXmlMemReadArchive.h
Go to the documentation of this file.
1 #ifndef iser_CCompactXmlMemReadArchive_included
2 #define iser_CCompactXmlMemReadArchive_included
3 
4 
5 // Qt includes
6 #include <QtCore/QBuffer>
7 #include <QtXml/QDomDocument>
8 #include <QtXml/QDomNode>
9 
10 // ACF includes
12 
13 
14 namespace iser
15 {
16 
17 
24 {
25 public:
27 
32  const QByteArray& inputString,
33  bool serializeHeader = true,
34  const iser::CArchiveTag& rootTag = s_acfRootTag);
35 
36 protected:
37  // reimplemented (istd::ILogger)
38  virtual void DecorateMessage(
40  int id,
41  int flags,
42  QString& message,
43  QString& messageSource) const;
44 
45 private:
46  QBuffer m_buffer;
47 };
48 
49 
50 } // namespace iser
51 
52 
53 #endif // !iser_CCompactXmlMemReadArchive_included
54 
55 
virtual void DecorateMessage(istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const
Decorate message parts before outputting.
static CArchiveTag s_acfRootTag
Definition: CArchiveBase.h:35
InformationCategory
Category of information.
CCompactXmlMemReadArchive(const QByteArray &inputString, bool serializeHeader=true, const iser::CArchiveTag &rootTag=s_acfRootTag)
Constructor initializing archive from memory.
Qt-based implementation of archive reading from XML file.
CCompactXmlReadArchiveBase BaseClass
Qt-based implementation of archive reading from XML file.
Process tag used to group data in archive stream.
Definition: CArchiveTag.h:21

© 2007-2017 Witold Gantzke and Kirill Lepskiy