![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MappedFileHandle.h>
Inheritance diagram for IMappedFileHandle:Public Member Functions | |
| IMappedFileHandle (size_t InFileSize) | |
| virtual | ~IMappedFileHandle () |
| UE_FORCEINLINE_HINT int64 | GetFileSize () const |
| virtual IMappedFileRegion * | MapRegion (int64 Offset=0, int64 BytesToMap=MAX_int64, FFileMappingFlags Flags=EMappedFileFlags::ENone)=0 |
| virtual void | Flush (void) |
| IMappedFileHandle (const IMappedFileHandle &)=delete | |
| IMappedFileHandle & | operator= (const IMappedFileHandle &)=delete |
|
inline |
|
inlinevirtual |
Destructor, also the only way to close the file handle. It is not legal to delete an async file with outstanding requests. You must always call WaitCompletion before deleting a request.
|
delete |
|
inline |
Return the size of the mapped file.
|
pure virtual |
Map a region of the file.
| Offset | Offset into the file to start mapping. |
| BytesToMap | Number of bytes to map. Clamped to the size of the file. |
| Flags | A combination of EMappingFlags values |
Implemented in FMappedFileHandle, FUnixMappedFileHandle, FMappedFileHandleWindows, UE::IoStore::FMappedFileProxy, FMappedFileProxy, and FMappedFilePakProxy.
|
delete |