LeviLamina
Loading...
Searching...
No Matches
TestMemoryStorageArea.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/FileAccessType.h"
7#include "mc/deps/core/file/file_system/memory_file_system/MemoryFileStorageArea.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Core { class FileSystemImpl; }
12namespace Core { class Result; }
13// clang-format on
14
15namespace Bedrock {
16
18public:
19 // member variables
20 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 2
34 virtual ::std::unique_ptr<::Core::FileSystemImpl> createTransaction(::Core::FileAccessType) /*override*/;
35
36 // vIndex: 3
37 virtual bool supportsSizeQuery() const /*override*/;
38
39 // vIndex: 5
40 virtual ::Core::Result getUsedSize(uint64&) /*override*/;
41
42 // vIndex: 4
43 virtual uint64 getTotalSize() const /*override*/;
44
45 // vIndex: 13
46 virtual bool supportsExtendSize() const /*override*/;
47
48 // vIndex: 14
49 virtual bool canExtendSize() const /*override*/;
50
51 // vIndex: 18
52 virtual void preemptiveExtendSize(
53 uint64 const expectedContentSize,
54 ::std::function<void()> successCallback,
55 ::std::function<void()> failureCallback
56 ) /*override*/;
57
58 // vIndex: 0
59 virtual ~TestMemoryStorageArea() /*override*/ = default;
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65
66 // NOLINTEND
67};
68
69} // namespace Bedrock
Definition TestMemoryStorageArea.h:17
Definition MemoryFileStorageArea.h:17
Definition Alias.h:14