ldas-tools-al 2.6.4
|
POSIX Regular Expression. More...
#include <regex.hh>
Public Member Functions | |
Regex () | |
Constructor. | |
Regex (const std::string ®ex, int flags=REG_EXTENDED) | |
Constructor. | |
Regex (const char *regex, int flags=REG_EXTENDED) | |
Constructor. | |
Regex (const Regex &Source) | |
Constructor. | |
~Regex () throw ( ) | |
Destructor. | |
bool | compiled () const |
Get compilation status. | |
const regex_t & | getPattern () const |
Get Compiled Pattern. | |
const std::string & | getRegex () const |
Get Regular Expression. | |
Regex & | operator= (const Regex &Source) |
Regex () | |
Regex (const std::string ®ex, int flags=REG_EXTENDED) | |
Regex (const char *regex, int flags=REG_EXTENDED) | |
Regex (const Regex &Source) | |
~Regex () throw ( ) | |
bool | compiled () const |
const regex_t & | getPattern () const |
const std::string & | getRegex () const |
Regex & | operator= (const Regex &Source) |
Private Member Functions | |
void | compile () |
void | compile () |
Private Attributes | |
std::string | mRegex |
regex_t | mPattern |
int | mFlags |
bool | mCompiled |
POSIX Regular Expression.
This class represents a POSIX regular expression.
Regex::Regex | ( | ) |
Constructor.
This constructor compiles the given regular expression.
|
explicit |
Constructor.
This constructor compiles the given regular expression.
regex | |
cflags |
LdasException |
|
explicit |
Constructor.
This constructor compiles the given regular expression.
regex | |
cflags |
LdasException |
Regex::Regex | ( | const Regex & | Source | ) |
Constructor.
This constructor compiles the given regular expression.
Source |
LdasException |
Regex::~Regex | ( | ) | ||||
throw | ( | ) |
Destructor.
This just frees the compiled regex pattern.
Regex::Regex | ( | ) |
|
explicit |
|
explicit |
Regex::Regex | ( | const Regex & | Source | ) |
Regex::~Regex | ( | ) | ||||
throw | ( | ) |
|
private |
|
private |
|
inline |
Get compilation status.
bool Regex::compiled | ( | ) | const |
|
inline |
Get Compiled Pattern.
const regex_t & Regex::getPattern | ( | ) | const |
|
inline |
Get Regular Expression.
const std::string & Regex::getRegex | ( | ) | const |
|
private |
|
private |
|
private |
|
private |