ACF $AcfVersion:0$
CJsonFileWriteArchive.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
9// ACF includes
11
12
13namespace ifile
14{
15
16
21{
22public:
24
26 const QString& filePath,
27 const iser::IVersionInfo* versionInfoPtr = nullptr,
28 bool serializeHeader = true,
29 const iser::CArchiveTag& rootTag = s_acfRootTag);
31
32 bool OpenFile(const QString& filePath);
33
34private:
35 QFile m_file;
36};
37
38
39} // namespace ifile
40
Implementation of an ACF Archive serializing to JSON string.
CJsonFileWriteArchive(const QString &filePath, const iser::IVersionInfo *versionInfoPtr=nullptr, bool serializeHeader=true, const iser::CArchiveTag &rootTag=s_acfRootTag)
bool OpenFile(const QString &filePath)
iser::CJsonWriteArchiveBase BaseClass
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.
Provides access to version information.
Contains interfaces and implementations of file system related components.