ACF $AcfVersion:0$
CReadArchiveBase.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
6#include <iser/CArchiveBase.h>
8
9
10namespace iser
11{
12
13
18{
19public:
20 // reimplemented (iser::IArchive)
21 virtual bool IsStoring() const override;
22 virtual const IVersionInfo& GetVersionInfo() const override;
23 virtual bool ProcessBits(void* dataPtr, int bitsCount, int bytesCount) override;
24
25protected:
31
32private:
33 CArchiveHeaderInfo m_versionInfo;
34};
35
36
37} // namespace iser
38
39
40
41
Base implementation of iser::IArchive interface.
Represents functions related to ACF header.
Basic implementation of an abstract archive for data reading.
virtual bool IsStoring() const override
Checks if this archive is in storing (writing) or loading (reading) mode.
virtual const IVersionInfo & GetVersionInfo() const override
Gets version information for the archived stream.
virtual bool ProcessBits(void *dataPtr, int bitsCount, int bytesCount) override
Process binary data block.
bool SerializeAcfHeader()
Serialize standard header.
Provides access to version information.
Contains general persistence mechanism with basic archives implementations.