libt3widget
|
Filted file list implementation. More...
Public Member Functions | |
filtered_file_list_t (file_list_t *list) | |
virtual const std::string * | get_fs_name (size_t idx) const |
Get the file-system name for a particular idx . More... | |
virtual bool | is_dir (size_t idx) const |
Retrieve whether the file at index idx in the list is a directory. More... | |
![]() | |
filtered_list_t (file_list_t *list) | |
virtual void | set_filter (const signals::slot< bool, string_list_base_t *, size_t > &_test) |
Set the filter callback. More... | |
![]() | |
filtered_list_internal_t (file_list_t *list) | |
Make a new filtered_list_internal_t, wrapping an existing list. More... | |
virtual const std::string * | operator[] (size_t idx) const |
Retrieve element idx . More... | |
virtual void | reset_filter (void) |
Reset the filter. More... | |
virtual size_t | size (void) const |
Retrieve the size of the list. More... | |
Additional Inherited Members | |
![]() | |
void | update_list (void) |
Update the filtered list. More... | |
![]() | |
static bool | null_filter (file_list_t *, size_t) |
![]() | |
file_list_t * | base |
Base list of which this is a filtered view. More... | |
signals::connection | base_content_changed_connection |
Connection to base list's content_changed signal. More... | |
std::vector< size_t > | items |
Vector holding the indices in the base list of the items included in the filtered list. More... | |
optional< signals::slot< bool, file_list_t *, size_t > > | test |
Filter function. More... | |
Filted file list implementation.
|
inlinevirtual |
Get the file-system name for a particular idx
.
The file-system name is the name of the file as it is written in the file system. This is opposed to the name retrieved by operator
[] which has been converted to UTF-8.
Implements t3_widget::file_list_t.
|
inlinevirtual |
Retrieve whether the file at index idx
in the list is a directory.
Implements t3_widget::file_list_t.