ACF $AcfVersion:0$
CJsonMemWriteArchive.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// ACF includes
7
8
9namespace iser
10{
11
12
17{
18public:
20
22 const iser::IVersionInfo* versionInfoPtr = nullptr,
23 bool serializeHeader = true,
24 const iser::CArchiveTag& rootTag = s_acfRootTag);
25
29 const QByteArray& GetData() const;
30
31private:
32 QBuffer m_textBuffer;
33};
34
35
36} // namespace iser
37
static CArchiveTag s_acfRootTag
Process tag used to group data in archive stream.
Definition CArchiveTag.h:22
Implementation of an ACF Archive serializing to JSON string.
const QByteArray & GetData() const
Close the archive and get the created JSON string.
CJsonWriteArchiveBase BaseClass
CJsonMemWriteArchive(const iser::IVersionInfo *versionInfoPtr=nullptr, bool serializeHeader=true, const iser::CArchiveTag &rootTag=s_acfRootTag)
Implementation of an ACF Archive serializing to JSON string.
Provides access to version information.
Contains general persistence mechanism with basic archives implementations.