sandbox
Loading...
Searching...
No Matches
sbx::filesystem::filesystem_module Class Reference
Inheritance diagram for sbx::filesystem::filesystem_module:
sbx::core::module< filesystem_module > sbx::utility::noncopyable

Public Member Functions

auto update () -> void override
 
template<typename Type , typename... Args>
requires (std::is_base_of_v<filesystem_base, Type>)
auto create_filesystem (const alias &alias, Args &&... args) -> std::shared_ptr< Type >
 
template<typename Type , typename... Args>
auto create_filesystem (std::string &&alias, Args &&... args) -> std::shared_ptr< Type >
 
auto open_file (const std::string &path, const file_base::mode mode) -> file_ptr
 
auto create_file (const std::string &path) -> file_ptr
 
auto exists (const std::string &path) const -> bool
 
auto all_files () const -> std::vector< std::string >
 
auto unregister_alias (const alias &alias) -> void
 
auto is_alias_registered (const alias &alias) const -> bool
 
auto native_path_of (const std::string &virtual_path) const -> std::filesystem::path
 
auto native_path_of (const std::filesystem::path &virtual_path) const -> std::filesystem::path
 
- Public Member Functions inherited from sbx::utility::noncopyable
 noncopyable (const noncopyable &)=delete
 
 noncopyable (noncopyable &&) noexcept=default
 
auto operator= (const noncopyable &) -> noncopyable &=delete
 
auto operator= (noncopyable &&) noexcept -> noncopyable &=default
 

Additional Inherited Members

- Protected Types inherited from sbx::core::module< filesystem_module >
using base_type = module_manager::module_base
 
using dependencies = module_manager::dependencies< Dependencies... >
 
using stage = module_manager::stage
 
- Static Protected Member Functions inherited from sbx::core::module< filesystem_module >
static auto register_module (stage stage, dependencies< Dependencies... > &&dependencies={}) -> bool
 

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