Code::Blocks
SVN r11506
|
Simple iterator that uses wxArrayString as data source. More...
#include <incremental_select_helper.h>
Public Member Functions | |
IncrementalSelectArrayIterator (const wxArrayString &items) | |
int | GetTotalCount () const override |
const wxString & | GetItemFilterString (int index) const override |
wxString | GetDisplayText (int index, int column) const override |
int | GetColumnWidth (int column) const override |
void | CalcColumnWidth (wxListCtrl &list) override |
Public Member Functions inherited from IncrementalSelectIteratorIndexed | |
~IncrementalSelectIteratorIndexed () override | |
int | GetFilteredCount () const override |
void | Reset () override |
void | AddIndex (int index) override |
int | GetUnfilteredIndex (int index) const override |
Public Member Functions inherited from IncrementalSelectIterator | |
virtual | ~IncrementalSelectIterator () |
Private Attributes | |
const wxArrayString & | m_items |
int | m_columnWidth |
Additional Inherited Members | |
Protected Attributes inherited from IncrementalSelectIteratorIndexed | |
std::vector< int > | m_indices |
Simple iterator that uses wxArrayString as data source.
Definition at line 97 of file incremental_select_helper.h.
IncrementalSelectArrayIterator::IncrementalSelectArrayIterator | ( | const wxArrayString & | items | ) |
Definition at line 309 of file incremental_select_helper.cpp.
|
overridevirtual |
Reimplemented from IncrementalSelectIterator.
Definition at line 330 of file incremental_select_helper.cpp.
References wxString::length(), m_columnWidth, and m_items.
|
overridevirtual |
Reimplemented from IncrementalSelectIterator.
Definition at line 326 of file incremental_select_helper.cpp.
References m_columnWidth.
|
overridevirtual |
Implements IncrementalSelectIterator.
Definition at line 322 of file incremental_select_helper.cpp.
References IncrementalSelectIteratorIndexed::m_indices, and m_items.
|
overridevirtual |
Implements IncrementalSelectIterator.
Definition at line 318 of file incremental_select_helper.cpp.
References m_items.
|
overridevirtual |
Implements IncrementalSelectIterator.
Definition at line 314 of file incremental_select_helper.cpp.
References m_items.
|
private |
Definition at line 109 of file incremental_select_helper.h.
Referenced by CalcColumnWidth(), and GetColumnWidth().
|
private |
Definition at line 108 of file incremental_select_helper.h.
Referenced by CalcColumnWidth(), GetDisplayText(), GetItemFilterString(), and GetTotalCount().