|
IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
|
Typedefs | |
| using | TraversePathCallback |
Enumerations | |
| enum class | PathFlags : ice::u8 { None = 0x00 , Normalized = 0x01 } |
| enum class | FileOpenFlags : ice::u8 { None = 0b0000'0000 , Read = 0b0000'0000 , Write = 0b0000'0001 , Exclusive = 0b0001'0000 , Asynchronous = 0b0010'0000 } |
| enum class | FileRequestStatus : ice::u8 { Error , Pending , Completed } |
| enum class | TraverseAction : ice::u8 { Continue , Break , SkipSubDir } |
| enum class | EntityType : ice::u8 { File , Directory } |
Functions | |
| bool | exists_file (ice::native_file::FilePath path) noexcept |
| auto | open_file (ice::native_file::FilePath path, ice::native_file::FileOpenFlags flags=FileOpenFlags::Read) noexcept -> ice::native_file::File |
| auto | open_file (ice::native_aio::AIOPort port, ice::native_file::FilePath path, ice::native_file::FileOpenFlags flags=FileOpenFlags::Read) noexcept -> ice::Expected< ice::native_file::File > |
| auto | sizeof_file (ice::native_file::File const &native_file) noexcept -> ice::usize |
| auto | sizeof_file (ice::native_file::FilePath path) noexcept -> ice::usize |
| auto | read_file (ice::native_file::File const &native_file, ice::usize requested_read_size, ice::Memory memory) noexcept -> ice::usize |
| auto | read_file (ice::native_file::File const &native_file, ice::usize requested_read_offset, ice::usize requested_read_size, ice::Memory memory) noexcept -> ice::usize |
| auto | read_file_request (ice::native_aio::AIORequest &request, ice::native_file::File const &native_file, ice::usize requested_read_offset, ice::usize requested_read_size, ice::Memory memory) noexcept -> ice::native_file::FileRequestStatus |
| auto | write_file (ice::native_file::File const &native_file, ice::usize write_offset, ice::Data data) noexcept -> ice::usize |
| auto | write_file_request (ice::native_aio::AIORequest &request, ice::native_file::File const &native_file, ice::usize write_offset, ice::Data data) noexcept -> ice::native_file::FileRequestStatus |
| auto | append_file (ice::native_file::File const &native_file, ice::Data data) noexcept -> ice::usize |
| bool | traverse_directories (ice::native_file::FilePath starting_dir, ice::native_file::TraversePathCallback callback, void *userdata) noexcept |
| bool | create_directory (ice::native_file::FilePath path) noexcept |
| bool | is_directory (ice::native_file::FilePath path) noexcept |
| void | path_from_string (ice::native_file::HeapFilePath &out_filepath, ice::String path_string) noexcept |
| void | path_to_string (ice::native_file::FilePath path, ice::HeapString<> &out_string) noexcept |
| void | path_join_string (ice::native_file::HeapFilePath &path, ice::String string) noexcept |
| template<PathFlags Flags = PathFlags::None, typename... Strings> requires (std::convertible_to<Strings, ice::String> && ...) | |
| auto | path_from_strings (ice::Allocator &alloc, Strings &&... strings) noexcept -> ice::native_file::HeapFilePath |
Variables | |
| static constexpr ErrorCode | E_FileHandleInvalid { "E.8800:FileSystem:File handle is invalid." } |
| static constexpr ErrorCode | E_FilePathProvidedIsInvalid { "E.8801:FileSystem:File path provided is invalid." } |
| static constexpr ErrorCode | E_FileFailedToBindToAIOPort { "E.8802:FileSystem:File handle failed to bind to provided AIO port." } |
| static constexpr ErrorCode | E_FileFailedToReadRequestedSize { "E.8803:FileSystem:Failed to read requested number of bytes from file." } |
Copyright 2023 - 2026, Dandielo dandi.nosp@m.elo@.nosp@m.icesh.nosp@m.ard..nosp@m.net SPDX-License-Identifier: MIT
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |