Code::Blocks  SVN r11506
Public Member Functions | Private Attributes | List of all members
IncrementalSelectArrayIterator Class Reference

Simple iterator that uses wxArrayString as data source. More...

#include <incremental_select_helper.h>

Inheritance diagram for IncrementalSelectArrayIterator:
Collaboration diagram for IncrementalSelectArrayIterator:

Public Member Functions

 IncrementalSelectArrayIterator (const wxArrayString &items)
 
int GetTotalCount () const override
 
const wxStringGetItemFilterString (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 wxArrayStringm_items
 
int m_columnWidth
 

Additional Inherited Members

- Protected Attributes inherited from IncrementalSelectIteratorIndexed
std::vector< int > m_indices
 

Detailed Description

Simple iterator that uses wxArrayString as data source.

Definition at line 97 of file incremental_select_helper.h.

Constructor & Destructor Documentation

◆ IncrementalSelectArrayIterator()

IncrementalSelectArrayIterator::IncrementalSelectArrayIterator ( const wxArrayString items)

Definition at line 309 of file incremental_select_helper.cpp.

Member Function Documentation

◆ CalcColumnWidth()

void IncrementalSelectArrayIterator::CalcColumnWidth ( wxListCtrl list)
overridevirtual

Reimplemented from IncrementalSelectIterator.

Definition at line 330 of file incremental_select_helper.cpp.

References wxString::length(), m_columnWidth, and m_items.

◆ GetColumnWidth()

int IncrementalSelectArrayIterator::GetColumnWidth ( int  column) const
overridevirtual

Reimplemented from IncrementalSelectIterator.

Definition at line 326 of file incremental_select_helper.cpp.

References m_columnWidth.

◆ GetDisplayText()

wxString IncrementalSelectArrayIterator::GetDisplayText ( int  index,
int  column 
) const
overridevirtual

◆ GetItemFilterString()

const wxString & IncrementalSelectArrayIterator::GetItemFilterString ( int  index) const
overridevirtual

Implements IncrementalSelectIterator.

Definition at line 318 of file incremental_select_helper.cpp.

References m_items.

◆ GetTotalCount()

int IncrementalSelectArrayIterator::GetTotalCount ( ) const
overridevirtual

Implements IncrementalSelectIterator.

Definition at line 314 of file incremental_select_helper.cpp.

References m_items.

Member Data Documentation

◆ m_columnWidth

int IncrementalSelectArrayIterator::m_columnWidth
private

Definition at line 109 of file incremental_select_helper.h.

Referenced by CalcColumnWidth(), and GetColumnWidth().

◆ m_items

const wxArrayString& IncrementalSelectArrayIterator::m_items
private

The documentation for this class was generated from the following files: