libt3widget
|
Specialized filtered list template for string_list_base_t. More...
Public Member Functions | |
filtered_list_t (string_list_base_t *list) | |
![]() | |
filtered_list_internal_t (string_list_base_t *list) | |
Make a new filtered_list_internal_t, wrapping an existing list. | |
virtual const std::string * | operator[] (size_t idx) const |
Retrieve element idx . | |
virtual void | reset_filter (void) |
Reset the filter. | |
virtual void | set_filter (const sigc::slot< bool, string_list_base_t *, size_t > &_test) |
Set the filter callback. | |
virtual size_t | size (void) const |
Retrieve the size of the list. |
Additional Inherited Members | |
![]() | |
void | update_list (void) |
Update the filtered list. | |
![]() | |
string_list_base_t * | base |
Base list of which this is a filtered view. | |
sigc::connection | base_content_changed_connection |
Connection to base list's content_changed signal. | |
std::vector< size_t > | items |
Vector holding the indices in the base list of the items included in the filtered list. | |
sigc::slot< bool, string_list_base_t *, size_t > | test |
Filter function. |
Specialized filtered list template for string_list_base_t.
A typedef named filtered_string_list_t is provided for convenience.