|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
A regular expression. More...
#include <RegularExpression.h>

Classes | |
| class | Expression |
Public Member Functions | |
| RegularExpression (const std::string &pattern, bool ignore=false) | |
| Constructor. | |
| RegularExpression (const RegularExpression &) | |
| ~RegularExpression () | |
| bool | match (const std::string &s) const |
| Match a string against the pattern. | |
| bool | OK () const |
| Check the regular expression for sanity. | |
Private Member Functions | |
| void | operator= (const RegularExpression &) |
| void | init () |
Private Attributes | |
| const std::string | patt |
| bool | caseIgnore |
| Expression * | expr |
| int | state |
A regular expression.
Definition at line 30 of file RegularExpression.h.
| RegularExpression::RegularExpression | ( | const std::string & | pattern, |
| bool | ignore = false |
||
| ) |
Constructor.
Definition at line 39 of file RegularExpression.cpp.
References init().

| RegularExpression::RegularExpression | ( | const RegularExpression & | rhs | ) |
Definition at line 44 of file RegularExpression.cpp.
References init().

| RegularExpression::~RegularExpression | ( | ) |
Definition at line 49 of file RegularExpression.cpp.
References expr.
|
private |
Definition at line 73 of file RegularExpression.cpp.
References caseIgnore, expr, patt, and state.
Referenced by RegularExpression(), and RegularExpression().
| bool RegularExpression::match | ( | const std::string & | s | ) | const |
Match a string against the pattern.
Definition at line 51 of file RegularExpression.cpp.
Referenced by Selector::handleElement(), and OpalData::printNames().
| bool RegularExpression::OK | ( | ) | const |
Check the regular expression for sanity.
Definition at line 71 of file RegularExpression.cpp.
|
private |
|
private |
Definition at line 57 of file RegularExpression.h.
Referenced by init().
|
private |
Definition at line 61 of file RegularExpression.h.
Referenced by init(), match(), OK(), and ~RegularExpression().
|
private |
Definition at line 54 of file RegularExpression.h.
Referenced by init().
|
private |
Definition at line 64 of file RegularExpression.h.