LeviLamina
Loading...
Searching...
No Matches
InMemoryFileStorage.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class InMemoryFile;
8namespace Core { class Path; }
9// clang-format on
10
11class InMemoryFileStorage {
12public:
13 // member variables
14 // NOLINTBEGIN
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 InMemoryFileStorage& operator=(InMemoryFileStorage const&);
24 InMemoryFileStorage(InMemoryFileStorage const&);
25 InMemoryFileStorage();
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCNAPI ::std::shared_ptr<::InMemoryFile> createFile(::Core::Path const& fileName);
31
32 MCNAPI bool deleteFile(::Core::Path const& fileName);
33
34 MCNAPI bool findFile(::Core::Path const& fileName, ::std::shared_ptr<::InMemoryFile>& outFile);
35
36 MCNAPI void flushToDisk();
37
38 MCNAPI void populateFileList(::std::vector<::std::string>& fileList);
39
41 // NOLINTEND
42
43public:
44 // destructor thunk
45 // NOLINTBEGIN
46 MCNAPI void $dtor();
47 // NOLINTEND
48};
Definition Path.h:12
MCAPI ~InMemoryFileStorage()
MCAPI bool findFile(::Core::Path const &fileName, ::std::shared_ptr<::InMemoryFile > &outFile)
MCAPI ::std::shared_ptr<::InMemoryFile > createFile(::Core::Path const &fileName)
MCAPI bool deleteFile(::Core::Path const &fileName)
MCAPI void populateFileList(::std::vector<::std::string > &fileList)
MCAPI void $dtor()
MCAPI void flushToDisk()
Definition InMemoryFile.h:13
Definition Alias.h:14