Code::Blocks
SVN r11506
|
#include <gotofunctiondlg.h>
Public Member Functions | |
Iterator () | |
void | AddToken (const FunctionToken &token) |
const FunctionToken * | GetToken (int index) const |
int | GetTotalCount () const override |
const wxString & | GetItemFilterString (int index) const override |
wxString | GetDisplayText (int index, int column) const override |
void | SetColumnMode (bool flag) |
int | GetColumnWidth (int column) const override |
void | CalcColumnWidth (wxListCtrl &list) override |
void | Sort () |
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 | |
std::vector< FunctionToken > | m_tokens |
int | m_columnLength [3] |
bool | m_columnMode |
0 is for non-column mode, 1 and 2 are for column mode. More... | |
Additional Inherited Members | |
Protected Attributes inherited from IncrementalSelectIteratorIndexed | |
std::vector< int > | m_indices |
Definition at line 47 of file gotofunctiondlg.h.
GotoFunctionDlg::Iterator::Iterator | ( | ) |
Definition at line 32 of file gotofunctiondlg.cpp.
References m_columnMode.
void GotoFunctionDlg::Iterator::AddToken | ( | const FunctionToken & | token | ) |
Definition at line 36 of file gotofunctiondlg.cpp.
References m_tokens.
Referenced by CodeCompletion::OnGotoFunction().
|
overridevirtual |
Reimplemented from IncrementalSelectIterator.
Definition at line 84 of file gotofunctiondlg.cpp.
References m_columnLength, m_tokens, and wxT.
|
overridevirtual |
Reimplemented from IncrementalSelectIterator.
Definition at line 103 of file gotofunctiondlg.cpp.
References m_columnLength, and m_columnMode.
Referenced by GotoFunctionDlg::SwitchMode().
|
overridevirtual |
Implements IncrementalSelectIterator.
Definition at line 59 of file gotofunctiondlg.cpp.
References GotoFunctionDlg::FunctionToken::funcName, m_columnMode, IncrementalSelectIteratorIndexed::m_indices, m_tokens, GotoFunctionDlg::FunctionToken::paramsAndreturnType, and wxT.
|
overridevirtual |
Implements IncrementalSelectIterator.
Definition at line 54 of file gotofunctiondlg.cpp.
References m_tokens.
auto GotoFunctionDlg::Iterator::GetToken | ( | int | index | ) | const |
Definition at line 41 of file gotofunctiondlg.cpp.
References m_tokens.
Referenced by CodeCompletion::OnGotoFunction().
|
overridevirtual |
Implements IncrementalSelectIterator.
Definition at line 49 of file gotofunctiondlg.cpp.
References m_tokens.
void GotoFunctionDlg::Iterator::SetColumnMode | ( | bool | flag | ) |
Definition at line 79 of file gotofunctiondlg.cpp.
References m_columnMode.
Referenced by GotoFunctionDlg::SwitchMode().
void GotoFunctionDlg::Iterator::Sort | ( | ) |
Definition at line 111 of file gotofunctiondlg.cpp.
References wxString::CmpNoCase(), GotoFunctionDlg::FunctionToken::funcName, and m_tokens.
Referenced by CodeCompletion::OnGotoFunction().
|
private |
Definition at line 67 of file gotofunctiondlg.h.
Referenced by CalcColumnWidth(), and GetColumnWidth().
|
private |
0 is for non-column mode, 1 and 2 are for column mode.
Definition at line 68 of file gotofunctiondlg.h.
Referenced by GetColumnWidth(), GetDisplayText(), Iterator(), and SetColumnMode().
|
private |
Definition at line 66 of file gotofunctiondlg.h.
Referenced by AddToken(), CalcColumnWidth(), GetDisplayText(), GetItemFilterString(), GetToken(), GetTotalCount(), and Sort().