|
HikoGUI
A low latency retained GUI
|
Files | |
| file | file.hpp |
| Defines the file class. | |
| file | file_view.hpp |
| Defines the file_view class. | |
| file | resource_view.hpp |
| Defines resource_view. | |
Data Structures | |
| class | hi::v1::file |
| A File object. More... | |
| class | hi::v1::file_view |
| Map a file into virtual memory. More... | |
| class | hi::v1::const_resource_view |
| A read-only view of a resource. More... | |
| class | hi::v1::glob_pattern |
| A glob pattern. More... | |
| class | hi::v1::URI |
| A Uniform Resource Identifier. More... | |
| class | hi::v1::URL |
| Universal Resource Locator. More... | |
Functions | |
| generator< std::filesystem::path > | hi::v1::glob (glob_pattern pattern) |
| Find paths on the filesystem that match the glob pattern. | |
| generator< std::filesystem::path > | hi::v1::glob (std::string_view pattern) |
| Find paths on the filesystem that match the glob pattern. | |
| generator< std::filesystem::path > | hi::v1::glob (std::string pattern) |
| Find paths on the filesystem that match the glob pattern. | |
| generator< std::filesystem::path > | hi::v1::glob (char const *pattern) |
| Find paths on the filesystem that match the glob pattern. | |
| generator< std::filesystem::path > | hi::v1::glob (std::filesystem::path pattern) |
| Find paths on the filesystem that match the glob pattern. | |
| generator< std::filesystem::path > | hi::v1::glob (path_location location, std::filesystem::path ref) |
| Find paths on the filesystem that match the glob pattern. | |
| generator< std::filesystem::path > | hi::v1::glob (path_location location, std::string_view ref) |
| Find paths on the filesystem that match the glob pattern. | |
| generator< std::filesystem::path > | hi::v1::glob (path_location location, std::string ref) |
| Find paths on the filesystem that match the glob pattern. | |
| generator< std::filesystem::path > | hi::v1::glob (path_location location, char const *ref) |
| Find paths on the filesystem that match the glob pattern. | |
| generator< std::filesystem::path > | hi::v1::get_paths (path_location location) |
| Get a set of paths. | |
| std::optional< std::filesystem::path > | hi::v1::find_path (path_location location, std::filesystem::path const &ref) noexcept |
| Find a path. | |
| std::filesystem::path | hi::v1::get_path (path_location location) |
| Get the single and only path. | |
This module contains file handling utilities:
file and file_view class to read, write and rename files.file is a RAII object holding an handle to an open file. You can use access_mode flags to control how a file is opened:
A file_view is a RAII object holding a memory-mapping of the file. This object allows easy and fast access to the data in a file, as-if the file was a std::span<> or std::string_view.
|
strong |
The mode in which way to open a file.
These flags can be combined by using OR.
|
strong |
File and Directory locations.
|
strong |
|
inlinenoexcept |
Find a path.
| location | The location to search for filesystem-object. |
| ref | A relative path to the filesystem-object. |
|
inline |
Get the single and only path.
| location | The location. |
| When | there is not exactly one path. |
| generator< std::filesystem::path > hi::v1::get_paths | ( | path_location | location | ) |
Get a set of paths.
| location | The location. |
Find paths on the filesystem that match the glob pattern.
| pattern | The pattern to search the filesystem for. |
|
inline |
Find paths on the filesystem that match the glob pattern.
| pattern | The pattern to search the filesystem for. |
|
inline |
Find paths on the filesystem that match the glob pattern.
| location | The path-location to search files in |
| ref | A relative path pattern to search the path-location |
|
inline |
Find paths on the filesystem that match the glob pattern.
| location | The path-location to search files in |
| ref | A relative path pattern to search the path-location |
|
inline |
Find paths on the filesystem that match the glob pattern.
| location | The path-location to search files in |
| ref | A relative path pattern to search the path-location |
|
inline |
Find paths on the filesystem that match the glob pattern.
| location | The path-location to search files in |
| ref | A relative path pattern to search the path-location |
|
inline |
Find paths on the filesystem that match the glob pattern.
| pattern | The pattern to search the filesystem for. |
|
inline |
Find paths on the filesystem that match the glob pattern.
| pattern | The pattern to search the filesystem for. |
|
inline |
Find paths on the filesystem that match the glob pattern.
| pattern | The pattern to search the filesystem for. |