libt3widget
List of all members
t3_widget::string_list_base_t Class Reference

Abstract base class for string and file lists, but not for filtered lists. More...

Inheritance diagram for t3_widget::string_list_base_t:
t3_widget::list_base_t t3_widget::filtered_list_internal_t< string_list_base_t > t3_widget::file_list_t t3_widget::string_list_t t3_widget::filtered_list_t< string_list_base_t > t3_widget::filtered_list_internal_t< file_list_t > t3_widget::file_name_list_t t3_widget::filtered_list_t< file_list_t > t3_widget::filtered_file_list_t

Additional Inherited Members

- Public Member Functions inherited from t3_widget::list_base_t
virtual const std::string * operator[] (size_t idx) const =0
 Retrieve element idx. More...
 
virtual size_t size (void) const =0
 Retrieve the size of the list. More...
 

Detailed Description

Abstract base class for string and file lists, but not for filtered lists.

Because filtered lists need to provide the same basic members as string/file lists, i.e. size and operator[], they have to derive from list_base_t. However, to prevent them from having multiple instances of the content_changed signal, this is added in this base class. In other cases using virtual inheritance would have solved this problem, but because of the templating below the distance to the base class will not always be the same.