Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Types | Private Member Functions | Private Attributes

Execution Class Reference

Inheritance diagram for Execution:
Inheritance graph
Collaboration diagram for Execution:
Collaboration graph

List of all members.

Public Member Functions

void AddButtonId (wxWindowID id)
 Add an id to the list of custom button identifiers that should be in the button sizer.
virtual bool CanDoLayoutAdaptation ()
 Can we do the adaptation?
bool Create (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"))
virtual bool DoLayoutAdaptation ()
 Do the adaptation.
 Execution (wxWindow *parent, wxWindowID id=-1)
wxArrayInt & GetButtonIds ()
virtual wxWindow * GetContentWindow () const
 Returns a content window if there is one.
wxDialog * GetDialog () const
bool GetLayoutAdaptationDone () const
int GetLayoutAdaptationLevel () const
 Get level of adaptation.
void Init ()
bool IsUserButtonId (wxWindowID id)
 Is this id in the custom button id array?
void SetDialog (wxDialog *dialog)
void SetLayoutAdaptationDone (bool adaptationDone)
 Returns true if the adaptation has been done.
void SetLayoutAdaptationLevel (int level)
virtual bool Show (bool show=true)
 Override Show to rejig the control and sizer hierarchy if necessary.
virtual int ShowModal ()
 Override ShowModal to rejig the control and sizer hierarchy if necessary.

Static Public Member Functions

static bool GetLayoutAdaptation ()
 Global switch for layout adaptation.
static wxDialogLayoutAdapterGetLayoutAdapter ()
static void SetLayoutAdaptation (bool enable)
static wxDialogLayoutAdapterSetLayoutAdapter (wxDialogLayoutAdapter *adapter)
 Set layout adapter class, returning old adapter.

Static Public Attributes

static const long ID_BTN_EXIT = wxNewId()
static const long ID_BTN_INVERT = wxNewId()
static const long ID_BTN_RUN = wxNewId()
static const long ID_BTN_SELECT_ALL = wxNewId()
static const long ID_BTN_SELECT_NONE = wxNewId()
static const long ID_CHK_DEBUG_LOG = wxNewId()
static const long ID_CHK_FWD_DECL = wxNewId()
static const long ID_CHK_IGNORE = wxNewId()
static const long ID_CHK_OBSOLETE_LOG = wxNewId()
static const long ID_CHK_SIMULATION = wxNewId()
static const long ID_GAU_PROGRESS = wxNewId()
static const long ID_LST_SETS = wxNewId()
static const long ID_RB_OPTIONS = wxNewId()
static const long ID_RB_SCOPE = wxNewId()
static const long ID_RDO_FILE_TYPE = wxNewId()

Protected Member Functions

void OnBtnExitClick (wxCommandEvent &event)
void OnBtnInvertClick (wxCommandEvent &event)
void OnBtnRunClick (wxCommandEvent &event)
void OnBtnSelectAllClick (wxCommandEvent &event)
void OnBtnSelectNoneClick (wxCommandEvent &event)
void OnChkSimulationClick (wxCommandEvent &event)
void OnClose (wxCloseEvent &event)

Protected Attributes

wxArrayInt m_buttonIds
wxDialog * m_dialog
wxButton * m_Exit
wxRadioBox * m_FileType
wxCheckBox * m_FwdDecl
wxCheckBox * m_Ignore
wxButton * m_Invert
int m_layoutAdaptationLevel
bool m_layoutLayoutAdaptationDone
wxCheckBox * m_ObsoleteLog
wxRadioBox * m_Options
wxGauge * m_Progress
wxCheckBox * m_Protocol
wxButton * m_Run
wxRadioBox * m_Scope
wxButton * m_SelectAll
wxButton * m_SelectNone
wxCheckListBox * m_Sets
wxCheckBox * m_Simulation
wxStaticBoxSizer * sizAdvancedOptions
wxBoxSizer * sizAllNoneInvert
wxStaticBoxSizer * sizExecute
wxStaticBoxSizer * sizHeaderSets
wxBoxSizer * sizLeft
wxBoxSizer * sizMain
wxBoxSizer * sizRight
wxBoxSizer * sizRunExit

Static Protected Attributes

static bool sm_layoutAdaptation = true
static wxDialogLayoutAdaptersm_layoutAdapter = NULL

Private Types

enum  EProcessor { ProcessHeaderFiles, ProcessSourceFiles }

Private Member Functions

void AddFilesFromProject (wxArrayString &Files, cbProject *Project)
void LoadSettings ()
void OperateToken (const wxString &Token, const wxArrayString &Groups, const wxArrayString &IncludedHeaders, const wxArrayString &ExistingFwdDecls, const wxChar &Ch, const wxString &Line, wxArrayString &RequiredHeaders, wxArrayString &RequiredFwdDecls)
int ProcessFile (wxString &GlobalFileName, const wxArrayString &Groups)
int RunScan (const wxArrayString &FilesToProcess, const wxArrayString &Groups)
void SaveSettings ()
void ToggleControls (bool Disable)

Private Attributes

Bindings m_Bindings
bool m_Execute
FileAnalysis m_FileAnalysis
wxArrayString m_Log
EProcessor m_Processor
wxArrayString m_TokensProcessed

Detailed Description

Definition at line 37 of file execution.h.

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

Generated by  Doxygen 1.6.0   Back to index