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

#include <compiler.h>

Collaboration diagram for RegExStruct:

Public Member Functions

 RegExStruct ()
 
 RegExStruct (const RegExStruct &rhs)
 
 RegExStruct (const wxString &_desc, CompilerLineType _lt, const wxString &_regex, int _msg, int _filename=0, int _line=0, int _msg2=0, int _msg3=0)
 
RegExStructoperator= (const RegExStruct &obj)
 
bool operator!= (const RegExStruct &other)
 
bool operator== (const RegExStruct &other)
 
wxString GetRegExString () const
 
void SetRegExString (const wxString &str)
 
bool HasRegEx () const
 
const wxRegExGetRegEx () const
 

Public Attributes

wxString desc
 
CompilerLineType lt
 
int msg [3]
 
int filename
 
int line
 

Private Member Functions

void CompileRegEx () const
 

Private Attributes

wxString regex
 
wxRegEx regexObject
 
bool regexCompiled
 

Detailed Description

Definition at line 75 of file compiler.h.

Constructor & Destructor Documentation

◆ RegExStruct() [1/3]

RegExStruct::RegExStruct ( )
inline

Definition at line 77 of file compiler.h.

References _T, and msg.

◆ RegExStruct() [2/3]

RegExStruct::RegExStruct ( const RegExStruct rhs)
inline

Definition at line 82 of file compiler.h.

References msg.

◆ RegExStruct() [3/3]

RegExStruct::RegExStruct ( const wxString _desc,
CompilerLineType  _lt,
const wxString _regex,
int  _msg,
int  _filename = 0,
int  _line = 0,
int  _msg2 = 0,
int  _msg3 = 0 
)
inline

Definition at line 87 of file compiler.h.

References msg.

Member Function Documentation

◆ CompileRegEx()

void RegExStruct::CompileRegEx ( ) const
inlineprivate

Definition at line 151 of file compiler.h.

References wxRegEx::Compile(), wxString::empty(), regex, regexCompiled, and regexObject.

Referenced by GetRegEx().

◆ GetRegEx()

const wxRegEx& RegExStruct::GetRegEx ( ) const
inline

Definition at line 140 of file compiler.h.

References CompileRegEx(), and regexObject.

Referenced by Compiler::CheckForWarningsAndErrors().

◆ GetRegExString()

wxString RegExStruct::GetRegExString ( ) const
inline

Definition at line 130 of file compiler.h.

References regex.

Referenced by AdvancedCompilerOptionsDlg::FillRegexDetails(), and Compiler::SaveSettings().

◆ HasRegEx()

bool RegExStruct::HasRegEx ( ) const
inline

Definition at line 139 of file compiler.h.

References wxString::empty(), and regex.

Referenced by Compiler::CheckForWarningsAndErrors().

◆ operator!=()

bool RegExStruct::operator!= ( const RegExStruct other)
inline

Definition at line 114 of file compiler.h.

◆ operator=()

RegExStruct& RegExStruct::operator= ( const RegExStruct obj)
inline

Definition at line 101 of file compiler.h.

References desc, filename, line, lt, msg, regex, and regexCompiled.

◆ operator==()

bool RegExStruct::operator== ( const RegExStruct other)
inline

Definition at line 118 of file compiler.h.

References desc, filename, line, lt, msg, and regex.

◆ SetRegExString()

void RegExStruct::SetRegExString ( const wxString str)
inline

Definition at line 131 of file compiler.h.

References regex, and regexCompiled.

Referenced by AdvancedCompilerOptionsDlg::SaveRegexDetails().

Member Data Documentation

◆ desc

wxString RegExStruct::desc

◆ filename

int RegExStruct::filename

◆ line

int RegExStruct::line

◆ lt

CompilerLineType RegExStruct::lt

◆ msg

int RegExStruct::msg[3]

◆ regex

wxString RegExStruct::regex
private

◆ regexCompiled

bool RegExStruct::regexCompiled
mutableprivate

Definition at line 161 of file compiler.h.

Referenced by CompileRegEx(), operator=(), and SetRegExString().

◆ regexObject

wxRegEx RegExStruct::regexObject
mutableprivate

Definition at line 160 of file compiler.h.

Referenced by CompileRegEx(), and GetRegEx().


The documentation for this struct was generated from the following file: