3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/file/DirectoryIterationFlags.h"
7#include "mc/deps/core/file/FileAccessType.h"
8#include "mc/deps/core/file/FileBufferingMode.h"
9#include "mc/deps/core/file/FileType.h"
10#include "mc/deps/core/file/file_system/FileSystemImpl.h"
11#include "mc/platform/brstd/function_ref.h"
15namespace Core {
class FileImpl; }
16namespace Core {
class FileOpenMode; }
17namespace Core {
class FileStorageArea; }
18namespace Core {
class FlatFileManifestTracker; }
19namespace Core {
class PathView; }
20namespace Core {
class Result; }
21namespace Core {
struct DirectoryIterationItem; }
35 virtual ::Core::Result _openFile(
36 ::std::unique_ptr<::Core::FileImpl>& uptFileOut,
39 ::Core::FileBufferingMode bufferingMode
49 virtual ::Core::Result _getFileSize(
::Core::PathView filePath, uint64* pFileSizeOut) ;
58 virtual ::Core::Result _deleteEmptyDirectory(
::Core::PathView directoryPath) ;
64 virtual ::Core::Result
68 virtual ::Core::Result _iterateOverDirectory(
70 ::Core::DirectoryIterationFlags flags,
78 virtual ::Core::Result _getLastModificationTime(
::Core::PathView filePath, int64* pModificationTime) ;
81 virtual ::Core::Result _getEntryType(
::Core::PathView entryPath, ::Core::FileType& fileTypeOut) ;
84 virtual ::Core::Result
95 ::Core::FileAccessType accessType,
96 ::std::shared_ptr<::Core::FileStorageArea> storageArea,
97 ::std::shared_ptr<::Core::FlatFileManifestTracker> manifestTracker
101 ::std::wstring
const& directoryPath,
102 ::Core::DirectoryIterationFlags flags,
106 MCNAPI ::Core::Result
114 ::Core::FileAccessType accessType,
115 ::std::shared_ptr<::Core::FileStorageArea> storageArea,
116 ::std::shared_ptr<::Core::FlatFileManifestTracker> manifestTracker
124 ::std::unique_ptr<::Core::FileImpl>& uptFileOut,
127 ::Core::FileBufferingMode bufferingMode
148 ::Core::DirectoryIterationFlags flags,
Definition FileOpenMode.h:7
Definition FileSystemImpl.h:31
Definition FileSystem_windows.h:26
MCAPI::Core::Result $_deleteFile(::Core::PathView path)
MCAPI::Core::Result _makeFailureFromFileSystemResult(::std::error_code const &errorCode, char const *function, char const *fileContext)
MCAPI void * $ctor(::Core::FileAccessType accessType, ::std::shared_ptr<::Core::FileStorageArea > storageArea, ::std::shared_ptr<::Core::FlatFileManifestTracker > manifestTracker)
MCAPI bool $_directoryExists(::Core::PathView directoryPath)
MCAPI::Core::Result $_openFile(::std::unique_ptr<::Core::FileImpl > &uptFileOut, ::Core::PathView filename, ::Core::FileOpenMode fileOpenMode, ::Core::FileBufferingMode bufferingMode)
MCAPI::Core::Result $_getLastModificationTime(::Core::PathView filePath, int64 *pModificationTime)
MCAPI::Core::Result $_deleteEmptyDirectory(::Core::PathView directoryPath)
MCAPI::Core::Result $_renameDirectory(::Core::PathView sourceDirectoryPath, ::Core::PathView targetDirectoryPath)
MCAPI::Core::Result $_getEntryType(::Core::PathView entryPath, ::Core::FileType &fileTypeOut)
MCAPI bool $_fileOrDirectoryExists(::Core::PathView entryPath)
MCAPI::Core::Result $_getFileSize(::Core::PathView filePath, uint64 *pFileSizeOut)
MCAPI bool $_fileExists(::Core::PathView filePath)
MCAPI::Core::Result _iterateOverDirectoryWide(::std::wstring const &directoryPath, ::Core::DirectoryIterationFlags flags, ::brstd::function_ref<::Core::Result(::Core::DirectoryIterationItem const &)> fx)
static MCAPI void ** $vftable()
MCAPI::Core::Result $_createOneDirectory(::Core::PathView directoryPath)
MCAPI FileSystem_windows(::Core::FileAccessType accessType, ::std::shared_ptr<::Core::FileStorageArea > storageArea, ::std::shared_ptr<::Core::FlatFileManifestTracker > manifestTracker)
MCAPI::Core::Result $_copyTimeAndAccessRights(::Core::PathView sourceEntryPath, ::Core::PathView targetEntryPath)
MCAPI::Core::Result $_iterateOverDirectory(::Core::PathView directoryPath, ::Core::DirectoryIterationFlags flags, ::brstd::function_ref<::Core::Result(::Core::DirectoryIterationItem const &)> fx)
MCAPI::Core::Result $_renameFile(::Core::PathView sourceFilePath, ::Core::PathView targetFilePath)
Definition function_ref.h:60
Definition DirectoryIterationItem.h:15