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

#include <compileroptions.h>

Collaboration diagram for CompilerOptions:

Public Member Functions

 CompilerOptions ()
 
 CompilerOptions (const CompilerOptions &other)
 
CompilerOptionsoperator= (const CompilerOptions &other)
 
 ~CompilerOptions ()
 
void ClearOptions ()
 
void AddOption (CompOption *coption, int index=-1)
 
void AddOption (const wxString &name, const wxString &option, const wxString &category=_("General"), const wxString &additionalLibs=wxEmptyString, const wxString &checkAgainst=wxEmptyString, const wxString &checkMessage=wxEmptyString, const wxString &supersedes=wxEmptyString, bool exclusive=false, int index=-1)
 
void RemoveOption (int index)
 
unsigned int GetCount () const
 
CompOptionGetOption (int index)
 
CompOptionGetOptionByName (const wxString &name)
 
CompOptionGetOptionByOption (const wxString &option)
 
CompOptionGetOptionByAdditionalLibs (const wxString &libs)
 

Private Attributes

OptionsArray m_Options
 

Detailed Description

Definition at line 30 of file compileroptions.h.

Constructor & Destructor Documentation

◆ CompilerOptions() [1/2]

CompilerOptions::CompilerOptions ( )

Definition at line 13 of file compileroptions.cpp.

◆ CompilerOptions() [2/2]

CompilerOptions::CompilerOptions ( const CompilerOptions other)

Definition at line 17 of file compileroptions.cpp.

◆ ~CompilerOptions()

CompilerOptions::~CompilerOptions ( )

Definition at line 34 of file compileroptions.cpp.

References ClearOptions().

Member Function Documentation

◆ AddOption() [1/2]

void CompilerOptions::AddOption ( CompOption coption,
int  index = -1 
)

◆ AddOption() [2/2]

void CompilerOptions::AddOption ( const wxString name,
const wxString option,
const wxString category = _("General"),
const wxString additionalLibs = wxEmptyString,
const wxString checkAgainst = wxEmptyString,
const wxString checkMessage = wxEmptyString,
const wxString supersedes = wxEmptyString,
bool  exclusive = false,
int  index = -1 
)

◆ ClearOptions()

void CompilerOptions::ClearOptions ( )

◆ GetCount()

unsigned int CompilerOptions::GetCount ( ) const
inline

◆ GetOption()

CompOption* CompilerOptions::GetOption ( int  index)
inline

◆ GetOptionByAdditionalLibs()

CompOption * CompilerOptions::GetOptionByAdditionalLibs ( const wxString libs)

◆ GetOptionByName()

CompOption * CompilerOptions::GetOptionByName ( const wxString name)

◆ GetOptionByOption()

CompOption * CompilerOptions::GetOptionByOption ( const wxString option)

◆ operator=()

CompilerOptions & CompilerOptions::operator= ( const CompilerOptions other)

Definition at line 23 of file compileroptions.cpp.

References AddOption(), ClearOptions(), and m_Options.

◆ RemoveOption()

void CompilerOptions::RemoveOption ( int  index)

Definition at line 90 of file compileroptions.cpp.

References m_Options.

Referenced by CompilerOptionsDlg::OnFlagsPopup().

Member Data Documentation

◆ m_Options

OptionsArray CompilerOptions::m_Options
private

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