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

#include <compilermessages.h>

Inheritance diagram for CompilerMessages:
Collaboration diagram for CompilerMessages:

Public Member Functions

 CompilerMessages (const wxArrayString &titles, const wxArrayInt &widths)
 
virtual ~CompilerMessages ()
 
virtual void SetCompilerErrors (CompilerErrors *errors)
 
virtual void FocusError (int nr)
 
void AutoFitColumns (int column)
 
virtual wxWindowCreateControl (wxWindow *parent)
 
void DestroyControls ()
 
virtual bool HasFeature (Feature::Enum feature) const
 
virtual void AppendAdditionalMenuItems (wxMenu &menu)
 
- Public Member Functions inherited from ListCtrlLogger
 ListCtrlLogger (const wxArrayString &titles, const wxArrayInt &widths, bool fixedPitchFont=false)
 
 ~ListCtrlLogger () override
 
void CopyContentsToClipboard (bool selectionOnly=false) override
 
void UpdateSettings () override
 
void Append (const wxString &msg, Logger::level lv=info) override
 
virtual void Append (const wxArrayString &colValues, Logger::level lv=info, int autoSize=-1)
 
virtual size_t GetItemsCount () const
 
void Clear () override
 
wxWindowCreateControl (wxWindow *parent) override
 
bool HasFeature (Feature::Enum feature) const override
 
- Public Member Functions inherited from Logger
 Logger ()
 
virtual ~Logger ()
 
virtual void CopyContentsToClipboard (cb_optional bool selectionOnly=false)
 
virtual wxWindowCreateControl (cb_optional wxWindow *parent)
 
virtual bool GetWrapMode () const
 
virtual bool HasFeature (cb_optional Feature::Enum feature) const
 
virtual void AppendAdditionalMenuItems (cb_optional wxMenu &menu)
 

Private Member Functions

void OnClick (wxCommandEvent &event)
 
void OnDoubleClick (wxCommandEvent &event)
 
void OnFit (wxCommandEvent &event)
 
void OnAutoFit (wxCommandEvent &event)
 
void FitColumns ()
 

Private Attributes

CompilerErrorsm_pErrors
 
bool m_autoFit
 

Additional Inherited Members

- Public Types inherited from Logger
enum  level {
  caption, info, warning, success,
  error, critical, failure, pagetitle,
  spacer, asterisk
}
 
enum  { num_levels = asterisk +1 }
 
- Protected Member Functions inherited from ListCtrlLogger
wxString GetItemAsText (long item) const
 
- Protected Attributes inherited from ListCtrlLogger
wxListCtrlcontrol
 
bool fixed
 
wxArrayString titles
 
wxArrayInt widths
 
ListStyles style [num_levels]
 

Detailed Description

Definition at line 15 of file compilermessages.h.

Constructor & Destructor Documentation

◆ CompilerMessages()

CompilerMessages::CompilerMessages ( const wxArrayString titles,
const wxArrayInt widths 
)

◆ ~CompilerMessages()

CompilerMessages::~CompilerMessages ( )
virtual

Definition at line 44 of file compilermessages.cpp.

References OnAutoFit(), OnClick(), OnDoubleClick(), and OnFit().

Member Function Documentation

◆ AppendAdditionalMenuItems()

void CompilerMessages::AppendAdditionalMenuItems ( wxMenu menu)
virtual

◆ AutoFitColumns()

void CompilerMessages::AutoFitColumns ( int  column)
virtual

Reimplemented from ListCtrlLogger.

Definition at line 149 of file compilermessages.cpp.

References FitColumns(), and m_autoFit.

Referenced by SetCompilerErrors().

◆ CreateControl()

wxWindow * CompilerMessages::CreateControl ( wxWindow parent)
virtual

◆ DestroyControls()

void CompilerMessages::DestroyControls ( )

Definition at line 81 of file compilermessages.cpp.

References Manager::Get(), and Manager::GetAppWindow().

Referenced by SetCompilerErrors().

◆ FitColumns()

void CompilerMessages::FitColumns ( )
private

◆ FocusError()

void CompilerMessages::FocusError ( int  nr)
virtual

◆ HasFeature()

bool CompilerMessages::HasFeature ( Feature::Enum  feature) const
virtual

Definition at line 89 of file compilermessages.cpp.

References Logger::Feature::Additional, and ListCtrlLogger::HasFeature().

Referenced by SetCompilerErrors().

◆ OnAutoFit()

void CompilerMessages::OnAutoFit ( wxCommandEvent event)
private

◆ OnClick()

void CompilerMessages::OnClick ( wxCommandEvent event)
private

◆ OnDoubleClick()

void CompilerMessages::OnDoubleClick ( wxCommandEvent event)
private

Definition at line 131 of file compilermessages.cpp.

References OnClick().

Referenced by CreateControl(), SetCompilerErrors(), and ~CompilerMessages().

◆ OnFit()

void CompilerMessages::OnFit ( wxCommandEvent event)
private

Definition at line 138 of file compilermessages.cpp.

References FitColumns().

Referenced by CreateControl(), SetCompilerErrors(), and ~CompilerMessages().

◆ SetCompilerErrors()

virtual void CompilerMessages::SetCompilerErrors ( CompilerErrors errors)
inlinevirtual

Member Data Documentation

◆ m_autoFit

bool CompilerMessages::m_autoFit
private

Definition at line 39 of file compilermessages.h.

Referenced by AppendAdditionalMenuItems(), AutoFitColumns(), and OnAutoFit().

◆ m_pErrors

CompilerErrors* CompilerMessages::m_pErrors
private

Definition at line 38 of file compilermessages.h.

Referenced by OnClick(), and SetCompilerErrors().


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