|
EchoMap 2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
|
A drawable and selectable representation of a file or directory on the file-system. More...
Public Member Functions | |
| Entry (const std::filesystem::path &path, bool is_directory_hint) | |
| Create a new Entry for a regular file or directory. | |
| bool | draw () const noexcept |
| Draws the Entry as a Dear ImGui Selectable. | |
Public Attributes | |
| std::filesystem::path | path |
| The path represented by the Entry. | |
| std::string | name |
| The cached display name of the path. | |
| bool | is_directory |
| Directory sentinel flag. | |
Private Attributes | |
| std::string | imgui_id |
| Dear ImGui display name, including ID disambiguator. | |
| ImGuiSelectableFlags | flags |
| Dear ImGui flags for rendering the Selectable. | |
Friends | |
| std::strong_ordering | operator<=> (const Entry &lhs, const Entry &rhs) noexcept |
| Determines the ordering between two Entry objects. | |
| bool | operator== (const Entry &, const Entry &)=default |
| Determines equality between two Entry objects. | |
A drawable and selectable representation of a file or directory on the file-system.
Definition at line 60 of file FilesystemCombo.hpp.
| echomap::FilesystemCombo::Entry::Entry | ( | const std::filesystem::path & | path, |
| bool | is_directory_hint ) |
Create a new Entry for a regular file or directory.
| path | The path of the file to represent in the Entry. |
| is_directory_hint | Should the Entry represent a directory? |
Definition at line 63 of file FilesystemCombo.cpp.
|
nodiscardnoexcept |
|
friend |
Determines the ordering between two Entry objects.
Definition at line 88 of file FilesystemCombo.hpp.
Determines equality between two Entry objects.
|
private |
Dear ImGui flags for rendering the Selectable.
Definition at line 119 of file FilesystemCombo.hpp.
|
private |
Dear ImGui display name, including ID disambiguator.
Definition at line 118 of file FilesystemCombo.hpp.
| bool echomap::FilesystemCombo::Entry::is_directory |
Directory sentinel flag.
Definition at line 113 of file FilesystemCombo.hpp.
| std::string echomap::FilesystemCombo::Entry::name |
The cached display name of the path.
Definition at line 112 of file FilesystemCombo.hpp.
| std::filesystem::path echomap::FilesystemCombo::Entry::path |
The path represented by the Entry.
Definition at line 111 of file FilesystemCombo.hpp.