Vector BLF

Loading...
Searching...
No Matches
RestorePoint.h
1// SPDX-FileCopyrightText: 2013-2021 Tobias Lorenz <tobias.lorenz@gmx.net>
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#pragma once
6
7#include <Vector/BLF/platform.h>
8
9#include <cstdint>
10#include <vector>
11
12#include <Vector/BLF/AbstractFile.h>
13
14#include <Vector/BLF/vector_blf_export.h>
15
16 namespace Vector {
17 namespace BLF {
18
30 struct VECTOR_BLF_EXPORT RestorePoint final {
36 virtual void read(AbstractFile & is);
37
43 virtual void write(AbstractFile & os);
44
50 static uint32_t calculateObjectSize();
51
58 uint64_t timeStamp {};
59
66 uint64_t compressedFilePosition {};
67
75 uint32_t uncompressedFileOffset {};
76
93 uint32_t unknownRestorePoint {};
94};
95
96}
97}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::RestorePoint
Definition RestorePoint.h:30
Vector::BLF::RestorePoint::read
virtual void read(AbstractFile &is)
Definition RestorePoint.cpp:10
Vector::BLF::RestorePoint::calculateObjectSize
static uint32_t calculateObjectSize()
Definition RestorePoint.cpp:24
Vector::BLF::RestorePoint::compressedFilePosition
uint64_t compressedFilePosition
Definition RestorePoint.h:66
Vector::BLF::RestorePoint::unknownRestorePoint
uint32_t unknownRestorePoint
Definition RestorePoint.h:93
Vector::BLF::RestorePoint::timeStamp
uint64_t timeStamp
Definition RestorePoint.h:58
Vector::BLF::RestorePoint::uncompressedFileOffset
uint32_t uncompressedFileOffset
Definition RestorePoint.h:75
Vector::BLF::RestorePoint::write
virtual void write(AbstractFile &os)
Definition RestorePoint.cpp:17