|
CeresEngine 0.2.0
A game development framework
|
File handle for the local file system. More...
#include <CeresEngine/Platform/POSIX/POSIXFileHandle.hpp>
Protected Member Functions | |
| void | readFileInfo () const |
| void | readLinkInfo () const |
Private Types | |
| using | super = LocalFileHandle |
Private Attributes | |
| void * | mFileInfo |
| Information about the current file (resolves links, created on demand) | |
| void * | mLinkInfo |
| Information about the current file (does not resolve links, created on demand) | |
Additional Inherited Members | |
Protected Attributes inherited from CeresEngine::LocalFileHandle | |
| RC< LocalFileSystem > | mFileSystem |
| The file system that created this handle. | |
| FilePath | mPath |
| Path to file or directory. | |
| std::filesystem::path | mFileSystemPath |
Same as mPath, but in the C++17 std::filesystem format. | |
File handle for the local file system.
| CeresEngine::POSIXFileHandle::POSIXFileHandle | ( | POSIXFileSystem & | fileSystem, |
| StringView | path | ||
| ) |
| CeresEngine::POSIXFileHandle::POSIXFileHandle | ( | POSIXFileSystem & | fileSystem, |
| String && | path | ||
| ) |
|
override |
|
overridevirtual |
Gets the time of last access.
Reimplemented from CeresEngine::LocalFileHandle.
|
overridevirtual |
Gets time of last modification.
Reimplemented from CeresEngine::LocalFileHandle.
|
protected |
|
protected |
|
overridevirtual |
Update file information.
Must reload and update the file information. It will for example be called after a file has been created, copied, or removed to ensure that the file information returned by the handle is correct.
Reimplemented from CeresEngine::LocalFileHandle.
|
mutableprivate |
Information about the current file (resolves links, created on demand)
|
mutableprivate |
Information about the current file (does not resolve links, created on demand)