ACF $AcfVersion:0$
CCompactXmlMemWriteArchive.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#include <QtCore/QBuffer>
8#include <QtXml/QDomDocument>
9#include <QtXml/QDomNode>
10
11// ACF includes
13
14
15namespace iser
16{
17
18
27{
28public:
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
45private:
46 QBuffer m_textBuffer;
47};
48
49
50} // namespace iser
51
52
53
54
static CArchiveTag s_acfRootTag
Process tag used to group data in archive stream.
Definition CArchiveTag.h:22
Qt-based implementation of archive for writing in XML format.
const QByteArray & GetString() const
Close the archive and get the created XML string.
CCompactXmlMemWriteArchive(const iser::IVersionInfo *versionInfoPtr=NULL, bool serializeHeader=true, const iser::CArchiveTag &rootTag=s_acfRootTag)
Constructor initializing archive to work with memory.
Base class of compact XML write archive.
Provides access to version information.
#define NULL
Definition istd.h:74
Contains general persistence mechanism with basic archives implementations.