Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Interface for Regex matching support classes. More...
Inherits CEGUI::AllocatedObject< RegexMatcher >, and CEGUI::AllocatedObject< RegexMatcher >.
Inherited by CEGUI::PCRERegexMatcher, CEGUI::PCRERegexMatcher, and RegexMatcher_wrapper.
Public Types | |
enum | MatchState { MS_VALID, MS_INVALID, MS_PARTIAL, MS_VALID, MS_INVALID, MS_PARTIAL } |
Enumeration of possible states when cosidering a regex match. More... | |
enum | MatchState { MS_VALID, MS_INVALID, MS_PARTIAL, MS_VALID, MS_INVALID, MS_PARTIAL } |
Enumeration of possible states when cosidering a regex match. More... | |
Public Member Functions | |
virtual | ~RegexMatcher () |
Destructor. | |
virtual void | setRegexString (const String ®ex)=0 |
Set the regex string that will be matched against. | |
virtual const String & | getRegexString () const =0 |
Return reference to current regex string set. | |
virtual MatchState | getMatchStateOfString (const String &str) const =0 |
Return the MatchState result for the given String. | |
virtual | ~RegexMatcher () |
Destructor. | |
virtual void | setRegexString (const String ®ex)=0 |
Set the regex string that will be matched against. | |
virtual const String & | getRegexString () const =0 |
Return reference to current regex string set. | |
virtual MatchState | getMatchStateOfString (const String &str) const =0 |
Return the MatchState result for the given String. | |
Interface for Regex matching support classes.
Enumeration of possible states when cosidering a regex match.
Enumerator | |
---|---|
MS_VALID | String matches the regular expression completely. |
MS_INVALID | String does not match the regular expression at all. |
MS_PARTIAL | String partially matches. Changes to the string could result in either an MS_VALID or MS_INVALID MatchState. |
MS_VALID | String matches the regular expression completely. |
MS_INVALID | String does not match the regular expression at all. |
MS_PARTIAL | String partially matches. Changes to the string could result in either an MS_VALID or MS_INVALID MatchState. |
Enumeration of possible states when cosidering a regex match.
Enumerator | |
---|---|
MS_VALID | String matches the regular expression completely. |
MS_INVALID | String does not match the regular expression at all. |
MS_PARTIAL | String partially matches. Changes to the string could result in either an MS_VALID or MS_INVALID MatchState. |
MS_VALID | String matches the regular expression completely. |
MS_INVALID | String does not match the regular expression at all. |
MS_PARTIAL | String partially matches. Changes to the string could result in either an MS_VALID or MS_INVALID MatchState. |