|
CeresEngine 0.2.0
A game development framework
|
Representation of the local file system on Windows. More...
#include <CeresEngine/Platform/Win32/Win32FileSystem.hpp>
Public Member Functions | |
| Win32FileSystem () | |
Creates a new Win32FileSystem instance. | |
| ~Win32FileSystem () final | |
Destroys the Win32FileSystem instance. | |
| FileHandle | open (StringView path) final |
| Opens a file or directory in file system. | |
| FileHandle | open (String &&path) final |
| Opens a file or directory in file system. | |
| FileWatcher | createFileWatcher (ExecutionContext &executionContext, const FileHandle &directory, const FileEvents &events=FileEvent::Default, bool recursive=true) final |
| Watches a directory for changes. | |
Public Member Functions inherited from CeresEngine::LocalFileSystem | |
| LocalFileSystem () | |
| virtual | ~LocalFileSystem () |
Public Member Functions inherited from CeresEngine::IFileSystem | |
| IFileSystem () | |
| virtual | ~IFileSystem () |
| FileHandle | open (const char *path) |
| Opens a file or directory in file system. | |
Public Member Functions inherited from CeresEngine::RefCounted< IFileSystem > | |
| RefCounted (Args &&... args) | |
Creates a new RefCounted object and constructs a new Deleter by forwarding Args to it. | |
| void | retain () noexcept |
| Retains the object by increment it's reference count by one. | |
| bool | release () noexcept |
| Relases the object by decrementing it's reference count by one. | |
Private Types | |
| using | super = LocalFileSystem |
Additional Inherited Members | |
Static Public Member Functions inherited from CeresEngine::IFileSystem | |
| static IFileSystem * | getLocal () noexcept |
| Gets the underlying platform local file system implementation. | |
Representation of the local file system on Windows.
| CeresEngine::Win32FileSystem::Win32FileSystem | ( | ) |
Creates a new Win32FileSystem instance.
|
final |
Destroys the Win32FileSystem instance.
|
finalvirtual |
Watches a directory for changes.
| executionContext | The execution context where the callbacks will be called from. |
| directory | A handle to directory that shall be watched. |
| events | The events that are watched (combination of FileEvent values). |
| recursive | Determines whether the directory will be recursively watched. |
Reimplemented from CeresEngine::LocalFileSystem.
|
finalvirtual |
Opens a file or directory in file system.
| path | The path to file or directory |
Reimplemented from CeresEngine::LocalFileSystem.
|
finalvirtual |
Opens a file or directory in file system.
| path | The path to file or directory |
Reimplemented from CeresEngine::LocalFileSystem.