Vector BLF

Loading...
Searching...
No Matches
RestorePoints.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#include <Vector/BLF/RestorePoint.h>
14
15#include <Vector/BLF/vector_blf_export.h>
16
17 namespace Vector {
18 namespace BLF {
19
28 struct VECTOR_BLF_EXPORT RestorePoints final {
34 virtual void read(AbstractFile & is);
35
41 virtual void write(AbstractFile & os);
42
48 virtual uint32_t calculateObjectSize() const;
49
64 uint32_t objectSize {0x00180008};
65
74 uint32_t objectInterval {1000};
75
79 std::vector<RestorePoint> restorePoints {};
80
81};
82
83}
84}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::RestorePoints
Definition RestorePoints.h:28
Vector::BLF::RestorePoints::restorePoints
std::vector< RestorePoint > restorePoints
Definition RestorePoints.h:79
Vector::BLF::RestorePoints::read
virtual void read(AbstractFile &is)
Definition RestorePoints.cpp:12
Vector::BLF::RestorePoints::objectSize
uint32_t objectSize
Definition RestorePoints.h:64
Vector::BLF::RestorePoints::write
virtual void write(AbstractFile &os)
Definition RestorePoints.cpp:19
Vector::BLF::RestorePoints::calculateObjectSize
virtual uint32_t calculateObjectSize() const
Definition RestorePoints.cpp:28
Vector::BLF::RestorePoints::objectInterval
uint32_t objectInterval
Definition RestorePoints.h:74