LeviLamina
Loading...
Searching...
No Matches
InMemoryFile.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/PathBuffer.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Core { class Path; }
11// clang-format on
12
13class InMemoryFile {
14public:
15 // member variables
16 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 InMemoryFile& operator=(InMemoryFile const&);
29 InMemoryFile(InMemoryFile const&);
30 InMemoryFile();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCNAPI explicit InMemoryFile(::Core::Path const& fileName);
36
37 MCNAPI ::leveldb::Status append(::leveldb::Slice const& data);
38
39 MCNAPI ::leveldb::Status flushToDisk(::leveldb::Env* env);
40
41 MCNAPI ::Core::PathBuffer<::std::string> getFilename() const;
42
43 MCNAPI void rename(::Core::Path const& newFilename);
44
45 MCNAPI ~InMemoryFile();
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCNAPI void* $ctor(::Core::Path const& fileName);
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCNAPI void $dtor();
58 // NOLINTEND
59};
Definition Path.h:12
MCAPI ::Core::PathBuffer<::std::string > getFilename() const
MCAPI ~InMemoryFile()
MCAPI InMemoryFile(::Core::Path const &fileName)
MCAPI void $dtor()
MCAPI void * $ctor(::Core::Path const &fileName)
MCAPI::leveldb::Status append(::leveldb::Slice const &data)
MCAPI::leveldb::Status flushToDisk(::leveldb::Env *env)
MCAPI void rename(::Core::Path const &newFilename)
Definition Alias.h:14