LeviLamina
Loading...
Searching...
No Matches
InMemoryEnv.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/storage/FlushableEnv.h"
7
8class InMemoryEnv : public ::FlushableEnv {
9public:
10 // member variables
11 // NOLINTBEGIN
15 // NOLINTEND
16
17public:
18 // prevent constructor by default
19 InMemoryEnv& operator=(InMemoryEnv const&);
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 0
27 virtual ~InMemoryEnv() /*override*/ = default;
28
29 // vIndex: 1
30 virtual ::leveldb::Status NewSequentialFile(::std::string const& f, ::leveldb::SequentialFile** r) /*override*/;
31
32 // vIndex: 2
33 virtual ::leveldb::Status NewRandomAccessFile(::std::string const& f, ::leveldb::RandomAccessFile** r) /*override*/;
34
35 // vIndex: 3
36 virtual ::leveldb::Status NewWritableFile(::std::string const& f, ::leveldb::WritableFile** r) /*override*/;
37
38 // vIndex: 4
39 virtual ::leveldb::Status
40 NewAppendableFile(::std::string const& fname, ::leveldb::WritableFile** result) /*override*/;
41
42 // vIndex: 7
43 virtual ::leveldb::Status DeleteFileA(::std::string const& f) /*override*/;
44
45 // vIndex: 11
46 virtual ::leveldb::Status RenameFile(::std::string const& from, ::std::string const& to) /*override*/;
47
48 // vIndex: 5
49 virtual bool FileExists(::std::string const& f) /*override*/;
50
51 // vIndex: 6
52 virtual ::leveldb::Status GetChildren(::std::string const& dir, ::std::vector<::std::string>* r) /*override*/;
53
54 // vIndex: 20
55 virtual void flushToPermanentStorage() /*override*/;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCAPI void _flushWithTransaction();
62 // NOLINTEND
63
64public:
65 // destructor thunk
66 // NOLINTBEGIN
67
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCAPI ::leveldb::Status $NewSequentialFile(::std::string const& f, ::leveldb::SequentialFile** r);
74
75 MCAPI ::leveldb::Status $NewRandomAccessFile(::std::string const& f, ::leveldb::RandomAccessFile** r);
76
77 MCAPI ::leveldb::Status $NewWritableFile(::std::string const& f, ::leveldb::WritableFile** r);
78
79 MCAPI ::leveldb::Status $NewAppendableFile(::std::string const& fname, ::leveldb::WritableFile** result);
80
81 MCAPI ::leveldb::Status $DeleteFileA(::std::string const& f);
82
83 MCAPI ::leveldb::Status $RenameFile(::std::string const& from, ::std::string const& to);
84
85 MCAPI bool $FileExists(::std::string const& f);
86
87 MCAPI ::leveldb::Status $GetChildren(::std::string const& dir, ::std::vector<::std::string>* r);
88
89 MCAPI void $flushToPermanentStorage();
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCAPI static void** $vftable();
96 // NOLINTEND
97};
Definition FlushableEnv.h:5
Definition InMemoryEnv.h:8
Definition Alias.h:14