CCompactXmlMemWriteArchive.h
Go to the documentation of this file.
1 #ifndef iser_CCompactXmlMemWriteArchive_included
2 #define iser_CCompactXmlMemWriteArchive_included
3 
4 
5 // Qt includes
6 #include <QtCore/QFile>
7 #include <QtCore/QBuffer>
8 #include <QtXml/QDomDocument>
9 #include <QtXml/QDomNode>
10 
11 // ACF includes
13 
14 
15 namespace iser
16 {
17 
18 
27 {
28 public:
30 
36  const iser::IVersionInfo* versionInfoPtr = NULL,
37  bool serializeHeader = true,
38  const iser::CArchiveTag& rootTag = s_acfRootTag);
39 
43  const QByteArray& GetString() const;
44 
45 private:
46  QBuffer m_textBuffer;
47 };
48 
49 
50 } // namespace iser
51 
52 
53 #endif // !iser_CCompactXmlMemWriteArchive_included
54 
55 
static CArchiveTag s_acfRootTag
Definition: CArchiveBase.h:35
Provides access to version information.
Definition: IVersionInfo.h:22
CCompactXmlMemWriteArchive(const iser::IVersionInfo *versionInfoPtr=NULL, bool serializeHeader=true, const iser::CArchiveTag &rootTag=s_acfRootTag)
Constructor initializing archive to work with memory.
Qt-based implementation of archive for writing in XML format.
Base class of compact XML write archive.
#define NULL
Definition: istd.h:64
const QByteArray & GetString() const
Close the archive and get the created XML string.
Process tag used to group data in archive stream.
Definition: CArchiveTag.h:21

© 2007-2017 Witold Gantzke and Kirill Lepskiy