CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::POSIXFileSystem Class Reference

Representation of the local file system. More...

#include <CeresEngine/Platform/POSIX/POSIXFileSystem.hpp>

Inheritance diagram for CeresEngine::POSIXFileSystem:
CeresEngine::LocalFileSystem CeresEngine::IFileSystem CeresEngine::RefCounted< IFileSystem > CeresEngine::AppleFileSystem CeresEngine::LinuxFileSystem

Public Member Functions

 POSIXFileSystem ()
 
virtual ~POSIXFileSystem ()
 
virtual FileHandle open (StringView path) override
 
virtual FileHandle open (String &&path) override
 
- Public Member Functions inherited from CeresEngine::LocalFileSystem
 LocalFileSystem ()
 
virtual ~LocalFileSystem ()
 
FileWatcher createFileWatcher (ExecutionContext &executionContext, const FileHandle &directory, const FileEvents &events=FileEvent::Default, bool recursive=true) override
 Watches a directory for changes.
 
- 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 IFileSystemgetLocal () noexcept
 Gets the underlying platform local file system implementation.
 

Detailed Description

Representation of the local file system.

Member Typedef Documentation

◆ super

Constructor & Destructor Documentation

◆ POSIXFileSystem()

CeresEngine::POSIXFileSystem::POSIXFileSystem ( )

◆ ~POSIXFileSystem()

virtual CeresEngine::POSIXFileSystem::~POSIXFileSystem ( )
virtual

Member Function Documentation

◆ open() [1/2]

virtual FileHandle CeresEngine::POSIXFileSystem::open ( String &&  path)
overridevirtual

Reimplemented from CeresEngine::LocalFileSystem.

◆ open() [2/2]

virtual FileHandle CeresEngine::POSIXFileSystem::open ( StringView  path)
overridevirtual

Reimplemented from CeresEngine::LocalFileSystem.


The documentation for this class was generated from the following file: