Crazy Eddie's GUI System 0.8.7
|
Implementation of RegexMatcher using std::regex. More...
#include <StdRegexMatcher.h>
Public Member Functions | |
StdRegexMatcher () | |
Constructor. | |
~StdRegexMatcher () | |
Destructor. | |
void | setRegexString (const String ®ex) |
Set the regex string that will be matched against. More... | |
const String & | getRegexString () const |
Return reference to current regex string set. More... | |
bool | matchRegex (const String &str) const |
MatchState | getMatchStateOfString (const String &str) const |
Return the MatchState result for the given String. More... | |
![]() | |
virtual | ~RegexMatcher () |
Destructor. | |
virtual void | setRegexString (const String ®ex)=0 |
Set the regex string that will be matched against. More... | |
virtual const String & | getRegexString () const =0 |
Return reference to current regex string set. More... | |
virtual MatchState | getMatchStateOfString (const String &str) const =0 |
Return the MatchState result for the given String. More... | |
Additional Inherited Members | |
![]() | |
enum | MatchState { MS_VALID , MS_INVALID , MS_PARTIAL } |
Enumeration of possible states when cosidering a regex match. More... | |
Implementation of RegexMatcher using std::regex.
|
virtual |
Return the MatchState result for the given String.
Implements CEGUI::RegexMatcher.
|
virtual |
Return reference to current regex string set.
Implements CEGUI::RegexMatcher.
|
virtual |
Set the regex string that will be matched against.
Implements CEGUI::RegexMatcher.