LeviLamina
Loading...
Searching...
No Matches
FileHandlePool.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Core { class File; }
8namespace Core { class Path; }
9namespace Core { struct PooledFileHandle; }
10// clang-format on
11
12namespace Core {
13
14class FileHandlePool {
15public:
16 // member variables
17 // NOLINTBEGIN
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 FileHandlePool& operator=(FileHandlePool const&);
24 FileHandlePool(FileHandlePool const&);
25 FileHandlePool();
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCNAPI ::std::shared_ptr<::Core::PooledFileHandle>
31 _depositHandle(::Core::Path const& filePath, ::Core::File&& file);
32
33 MCNAPI ::std::shared_ptr<::Core::PooledFileHandle> acquireHandle(::Core::Path const& filePath);
34 // NOLINTEND
35};
36
37} // namespace Core
MCAPI ::std::shared_ptr<::Core::PooledFileHandle > acquireHandle(::Core::Path const &filePath)
MCAPI ::std::shared_ptr<::Core::PooledFileHandle > _depositHandle(::Core::Path const &filePath, ::Core::File &&file)
Definition File.h:18
Definition Path.h:11
Definition PooledFileHandle.h:7
Definition Alias.h:14