libt3widget
|
Abstract base class for string and file lists, but not for filtered lists. More...
Additional Inherited Members | |
![]() | |
virtual const std::string * | operator[] (size_t idx) const =0 |
Retrieve element idx . | |
virtual size_t | size (void) const =0 |
Retrieve the size of the list. |
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.