LeviLamina
Loading...
Searching...
No Matches
LevelDbLazyFile.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5class LevelDbLazyFile {
6public:
7 // member variables
8 // NOLINTBEGIN
14 // NOLINTEND
15
16public:
17 // prevent constructor by default
18 LevelDbLazyFile& operator=(LevelDbLazyFile const&);
19 LevelDbLazyFile(LevelDbLazyFile const&);
20 LevelDbLazyFile();
21
22public:
23 // member functions
24 // NOLINTBEGIN
25 MCNAPI ::leveldb::Status Append(::leveldb::Slice const& slice);
26
27 MCNAPI ::leveldb::Status Close();
28
29 MCNAPI ::leveldb::Status Flush();
30
31 MCNAPI ::leveldb::Status Read(uint64 n, ::leveldb::Slice* result, char* scratch);
32
33 MCNAPI ::leveldb::Status Read(uint64 offset, uint64 n, ::leveldb::Slice* result, char* scratch) const;
34
35 MCNAPI ::leveldb::Status Skip(uint64 n);
36
37 MCNAPI auto _lazyOpen() const;
38
40 // NOLINTEND
41
42public:
43 // static variables
44 // NOLINTBEGIN
45 MCNAPI static ::std::atomic<uint64>& mFileCount();
46 // NOLINTEND
47
48public:
49 // destructor thunk
50 // NOLINTBEGIN
51 MCNAPI void $dtor();
52 // NOLINTEND
53};
MCAPI::leveldb::Status Skip(uint64 n)
MCAPI auto _lazyOpen() const
MCAPI::leveldb::Status Flush()
MCAPI::leveldb::Status Close()
MCAPI ~LevelDbLazyFile()
static MCAPI ::std::atomic< uint64 > & mFileCount()
MCAPI void $dtor()
MCAPI::leveldb::Status Append(::leveldb::Slice const &slice)
MCAPI::leveldb::Status Read(uint64 offset, uint64 n, ::leveldb::Slice *result, char *scratch) const
MCAPI::leveldb::Status Read(uint64 n, ::leveldb::Slice *result, char *scratch)
Definition Alias.h:14