Code::Blocks
SVN r11506
|
#include <ccdebuginfo.h>
Public Member Functions | |
CCDebugInfo (wxWindow *parent, ParserBase *parser, Token *token) | |
virtual | ~CCDebugInfo () |
void | FillFiles () |
void | FillDirs () |
void | FillMacros () |
void | DisplayTokenInfo () |
void | FillChildren () |
void | FillAncestors () |
void | FillDescendants () |
Public Member Functions inherited from wxScrollingDialog | |
wxScrollingDialog () | |
wxScrollingDialog (wxWindow *parent, int id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const wxString &name=_("dialogBox")) | |
Public Member Functions inherited from wxDialog | |
virtual int | ShowModal () |
Static Public Attributes | |
static const long | ID_TEXTCTRL1 = wxNewId() |
static const long | ID_BUTTON1 = wxNewId() |
static const long | ID_STATICTEXT18 = wxNewId() |
static const long | ID_STATICTEXT2 = wxNewId() |
static const long | ID_STATICTEXT10 = wxNewId() |
static const long | ID_STATICTEXT12 = wxNewId() |
static const long | ID_STATICTEXT4 = wxNewId() |
static const long | ID_STATICTEXT6 = wxNewId() |
static const long | ID_STATICTEXT8 = wxNewId() |
static const long | ID_STATICTEXT37 = wxNewId() |
static const long | ID_STATICTEXT41 = wxNewId() |
static const long | ID_STATICTEXT14 = wxNewId() |
static const long | ID_STATICTEXT16 = wxNewId() |
static const long | ID_STATICTEXT33 = wxNewId() |
static const long | ID_STATICTEXT39 = wxNewId() |
static const long | ID_STATICTEXT1 = wxNewId() |
static const long | ID_STATICTEXT20 = wxNewId() |
static const long | ID_STATICTEXT24 = wxNewId() |
static const long | ID_BUTTON4 = wxNewId() |
static const long | ID_COMBOBOX3 = wxNewId() |
static const long | ID_BUTTON5 = wxNewId() |
static const long | ID_COMBOBOX2 = wxNewId() |
static const long | ID_BUTTON3 = wxNewId() |
static const long | ID_COMBOBOX1 = wxNewId() |
static const long | ID_BUTTON2 = wxNewId() |
static const long | ID_STATICTEXT26 = wxNewId() |
static const long | ID_BUTTON7 = wxNewId() |
static const long | ID_STATICTEXT28 = wxNewId() |
static const long | ID_BUTTON8 = wxNewId() |
static const long | ID_STATICTEXT35 = wxNewId() |
static const long | ID_PANEL1 = wxNewId() |
static const long | ID_LISTBOX1 = wxNewId() |
static const long | ID_PANEL2 = wxNewId() |
static const long | ID_LISTBOX2 = wxNewId() |
static const long | ID_PANEL3 = wxNewId() |
static const long | ID_LISTBOX3 = wxNewId() |
static const long | ID_PANEL4 = wxNewId() |
static const long | ID_NOTEBOOK1 = wxNewId() |
static const long | ID_BUTTON6 = wxNewId() |
Protected Member Functions | |
void | OnInit (wxInitDialogEvent &event) |
void | OnFindClick (wxCommandEvent &event) |
void | OnGoAscClick (wxCommandEvent &event) |
void | OnGoDescClick (wxCommandEvent &event) |
void | OnGoParentClick (wxCommandEvent &event) |
void | OnGoChildrenClick (wxCommandEvent &event) |
void | OnSave (wxCommandEvent &event) |
void | OnGoDeclClick (wxCommandEvent &event) |
void | OnGoImplClick (wxCommandEvent &event) |
Private Attributes | |
ParserBase * | m_Parser |
Token * | m_Token |
Definition at line 33 of file ccdebuginfo.h.
CCDebugInfo::CCDebugInfo | ( | wxWindow * | parent, |
ParserBase * | parser, | ||
Token * | token | ||
) |
Definition at line 140 of file ccdebuginfo.cpp.
References _(), _T, wxBoxSizer::Add(), wxStdDialogButtonSizer::AddButton(), wxFlexGridSizer::AddGrowableCol(), wxBookCtrlBase::AddPage(), wxBoxSizer::Fit(), ID_TEXTCTRL1, OnFindClick(), OnGoAscClick(), OnGoChildrenClick(), OnGoDeclClick(), OnGoDescClick(), OnGoImplClick(), OnGoParentClick(), OnInit(), OnSave(), wxStdDialogButtonSizer::Realize(), wxBoxSizer::SetSizeHints(), wxALIGN_BOTTOM, wxALIGN_CENTER_VERTICAL, wxALIGN_TOP, wxALL, wxBOTTOM, wxCB_READONLY, wxDEFAULT_DIALOG_STYLE, wxDefaultPosition, wxDefaultSize, wxDefaultValidator, wxEmptyString, wxEVT_INIT_DIALOG, wxEXPAND, wxHORIZONTAL, wxID_ANY, wxID_CANCEL, wxLEFT, wxLI_HORIZONTAL, wxRESIZE_BORDER, wxRIGHT, wxTAB_TRAVERSAL, wxTOP, and wxVERTICAL.
|
virtual |
Definition at line 383 of file ccdebuginfo.cpp.
void CCDebugInfo::DisplayTokenInfo | ( | ) |
Definition at line 439 of file ccdebuginfo.cpp.
References _(), _T, TokenTree::at(), wxString::c_str(), wxString::Format(), Token::m_Name, TokenTree::RecalcInheritanceChain(), wxString::Replace(), wxString::wx_str(), and wxEmptyString.
void CCDebugInfo::FillAncestors | ( | ) |
Definition at line 534 of file ccdebuginfo.cpp.
References _(), _T, TokenTree::at(), TokenTree::Clear(), wxString::Format(), Token::m_Name, and wxString::wx_str().
void CCDebugInfo::FillChildren | ( | ) |
Definition at line 518 of file ccdebuginfo.cpp.
References _(), _T, TokenTree::at(), TokenTree::Clear(), wxString::Format(), Token::m_Name, and wxString::wx_str().
void CCDebugInfo::FillDescendants | ( | ) |
Definition at line 550 of file ccdebuginfo.cpp.
References _(), _T, TokenTree::at(), TokenTree::Clear(), wxString::Format(), Token::m_Name, and wxString::wx_str().
void CCDebugInfo::FillDirs | ( | ) |
Definition at line 407 of file ccdebuginfo.cpp.
References wxArrayString::GetCount(), and wxString::IsEmpty().
void CCDebugInfo::FillFiles | ( | ) |
Definition at line 389 of file ccdebuginfo.cpp.
References wxString::Append(), TokenTree::Clear(), BasicSearchTree::GetString(), wxString::IsEmpty(), TokenTree::m_FilenameMap, and BasicSearchTree::size().
void CCDebugInfo::FillMacros | ( | ) |
Definition at line 423 of file ccdebuginfo.cpp.
References wxString::Append(), wxString::IsEmpty(), and wxT.
|
protected |
Definition at line 583 of file ccdebuginfo.cpp.
References _(), wxArrayString::Add(), TokenTree::at(), cbGetSingleChoiceIndex(), Token::DisplayName(), Token::m_Name, wxString::Matches(), TokenTree::size(), and wxString::ToULong().
Referenced by CCDebugInfo().
|
protected |
Definition at line 636 of file ccdebuginfo.cpp.
Referenced by CCDebugInfo().
|
protected |
Definition at line 683 of file ccdebuginfo.cpp.
Referenced by CCDebugInfo().
|
protected |
Definition at line 814 of file ccdebuginfo.cpp.
References EditorBase::Activate(), Manager::Get(), Manager::GetEditorManager(), cbEditor::GotoLine(), EditorManager::IsBuiltinOpen(), and EditorManager::Open().
Referenced by CCDebugInfo().
|
protected |
Definition at line 655 of file ccdebuginfo.cpp.
Referenced by CCDebugInfo().
|
protected |
Definition at line 838 of file ccdebuginfo.cpp.
References EditorBase::Activate(), Manager::Get(), Manager::GetEditorManager(), cbEditor::GotoLine(), EditorManager::IsBuiltinOpen(), and EditorManager::Open().
Referenced by CCDebugInfo().
|
protected |
Definition at line 674 of file ccdebuginfo.cpp.
Referenced by CCDebugInfo().
|
protected |
Definition at line 566 of file ccdebuginfo.cpp.
References _(), and wxString::Format().
Referenced by CCDebugInfo().
|
protected |
Definition at line 702 of file ccdebuginfo.cpp.
References _(), _T, wxArrayString::Add(), TokenTree::at(), cbGetSingleChoiceIndex(), cbMessageBox(), Token::DisplayName(), BasicSearchTree::dump(), TokenTree::FindTokensInFile(), Manager::Get(), wxArrayString::GetCount(), Token::GetFormattedArgs(), BasicSearchTree::GetString(), Token::GetTokenKindString(), wxString::IsEmpty(), TokenTree::m_FilenameMap, Token::m_ImplLine, Token::m_Line, Token::m_Name, Token::m_TokenKind, TokenTree::m_Tree, CCDebugInfoHelper::SaveCCDebugInfo(), SearchTree< T >::Serialize(), BasicSearchTree::size(), tkFunction, and tkUndefined.
Referenced by CCDebugInfo().
|
protected |
Definition at line 115 of file ccdebuginfo.h.
|
protected |
Definition at line 129 of file ccdebuginfo.h.
|
protected |
Definition at line 133 of file ccdebuginfo.h.
|
protected |
Definition at line 132 of file ccdebuginfo.h.
|
protected |
Definition at line 105 of file ccdebuginfo.h.
|
protected |
Definition at line 103 of file ccdebuginfo.h.
|
protected |
Definition at line 131 of file ccdebuginfo.h.
|
static |
Definition at line 49 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 72 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 70 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 66 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 68 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 86 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 74 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 76 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 71 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 69 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 67 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 79 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 81 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 83 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 85 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 78 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 80 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 82 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 84 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 63 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 52 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 53 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 59 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 60 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 50 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 51 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 64 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 65 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 73 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 75 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 61 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 77 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 57 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 62 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 54 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 58 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 55 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 56 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
static |
Definition at line 48 of file ccdebuginfo.h.
Referenced by CCDebugInfoHelper::SaveCCDebugInfo().
|
protected |
Definition at line 121 of file ccdebuginfo.h.
|
protected |
Definition at line 120 of file ccdebuginfo.h.
|
protected |
Definition at line 108 of file ccdebuginfo.h.
|
private |
Definition at line 138 of file ccdebuginfo.h.
|
private |
Definition at line 139 of file ccdebuginfo.h.
|
protected |
Definition at line 117 of file ccdebuginfo.h.
|
protected |
Definition at line 111 of file ccdebuginfo.h.
|
protected |
Definition at line 107 of file ccdebuginfo.h.
|
protected |
Definition at line 113 of file ccdebuginfo.h.
|
protected |
Definition at line 119 of file ccdebuginfo.h.
|
protected |
Definition at line 106 of file ccdebuginfo.h.
|
protected |
Definition at line 104 of file ccdebuginfo.h.
|
protected |
Definition at line 109 of file ccdebuginfo.h.
|
protected |
Definition at line 130 of file ccdebuginfo.h.
|
protected |
Definition at line 124 of file ccdebuginfo.h.
|
protected |
Definition at line 134 of file ccdebuginfo.h.
|
protected |
Definition at line 126 of file ccdebuginfo.h.
|
protected |
Definition at line 123 of file ccdebuginfo.h.
|
protected |
Definition at line 114 of file ccdebuginfo.h.
|
protected |
Definition at line 128 of file ccdebuginfo.h.
|
protected |
Definition at line 118 of file ccdebuginfo.h.
|
protected |
Definition at line 125 of file ccdebuginfo.h.
|
protected |
Definition at line 112 of file ccdebuginfo.h.
|
protected |
Definition at line 110 of file ccdebuginfo.h.
|
protected |
Definition at line 116 of file ccdebuginfo.h.
|
protected |
Definition at line 122 of file ccdebuginfo.h.
|
protected |
Definition at line 127 of file ccdebuginfo.h.