![]() |
Regular expression processing, conforming with POSIX extended regular expressions. More...
#include <Regexp.h>
Inheritance diagram for HSEP::Regexp:
Collaboration diagram for HSEP::Regexp:Public Member Functions | |
| Regexp (string &pRegExpDefinition) | |
| Creates a Regexp instance based on the provided POSIX extended regular expression. | |
| Regexp (const char *pRegExpDefinition) | |
| Creates a Regexp instance based on the provided POSIX extended regular expression. | |
| ~Regexp () | |
| bool | match (string pValue) |
| Checks if the provided text match the internally stored POSIX extended regular expression. | |
| string & | text () |
| Returns the stored regular expression. | |
Public Member Functions inherited from HSEP::HSEPObject | |
| string & | lastErrorRef () |
| Returns a reference to the last stored error message. | |
| ErrorCode | lastCode () |
| Returns the last stored code. | |
| bool | valid () |
| Permits to know if the object has a valid internal state. | |
| string & | typeRef () |
| Permits to know the type of this particular object. | |
Additional Inherited Members | |
Protected Member Functions inherited from HSEP::HSEPObject | |
| HSEPObject (const char *pType) | |
| Constructor, providing the base for the state controlling instance. | |
| virtual | ~HSEPObject () |
| void | setLastError (string &pErrorMsgRef) |
| Assigns an error message text to the last executed operation. | |
| void | setLastError (const string &pErrorMsgRef) |
| Assigns an error message text to the last executed operation. | |
| void | setLastError (const char *pErrorMsg) |
| Assigns an error message text to the last executed operation. | |
| void | setValid () |
| Defines that the object has a valid state. | |
| void | setInvalid () |
| Defines that the object has an invalid state. | |
| void | setLastCode (const ErrorCode pErrorCode) |
| Defines the internal result code for the object. | |
Regular expression processing, conforming with POSIX extended regular expressions.
| HSEP::Regexp::Regexp | ( | string & | pRegExpDefinition | ) |
Creates a Regexp instance based on the provided POSIX extended regular expression.
| pRegExpDefinition |
Definition at line 112 of file Regexp.cpp.
| HSEP::Regexp::Regexp | ( | const char * | pRegExpDefinition | ) |
Creates a Regexp instance based on the provided POSIX extended regular expression.
| pRegExpDefinition |
Definition at line 116 of file Regexp.cpp.
| HSEP::Regexp::~Regexp | ( | ) |
Definition at line 120 of file Regexp.cpp.
| bool HSEP::Regexp::match | ( | string | pValue | ) |
Checks if the provided text match the internally stored POSIX extended regular expression.
| pValue | Value to be checked. |
Definition at line 125 of file Regexp.cpp.
Referenced by HSEP::RegexpChecker::key(), and HSEP::RegexpChecker::match().
Here is the caller graph for this function:
|
inline |
Returns the stored regular expression.
Usually this is used for reference purposes.
Definition at line 75 of file Regexp.h.
Referenced by HSEP::RegexpChecker::key().
Here is the caller graph for this function: