C++ IP API
9.5.8
TCP & UDP for virtual user scripts
|
A Pattern which is a list other Pattern instances. More...
Public Methods | |
PatternList () | |
Default constructor. More... | |
void | append (const string &s) |
Append a SimplePattern to the end of the list. More... | |
void | append (Pattern &pattern) |
Append a Pattern to the end of the list. More... | |
int | getMatchIndex () |
| |
int | isSatisfiedBy (char ch) |
Not called directly by test scripts. More... | |
void | reset () |
Not called directly by test scripts. More... | |
string | toString () |
| |
Public Methods inherited from Facilita::Pattern | |
Pattern () | |
virtual | ~Pattern () |
A Pattern which is a list other Pattern instances.
A search for this Pattern is is satisfied if at least one of the contained Patterns is satisfied. The internal read position on input stream is advanced to the byte following the end of Pattern found. Each of the Patterns in the list is searched for in parallel. An entry in the list takes precedence in matching over entries that follow it.
Facilita::PatternList::PatternList | ( | ) |
Default constructor.
void Facilita::PatternList::append | ( | const string & | s | ) |
Append a SimplePattern to the end of the list.
s | The string on which to base the added Pattern. |
void Facilita::PatternList::append | ( | Pattern & | pattern | ) |
int Facilita::PatternList::getMatchIndex | ( | ) |
|
virtual |
Not called directly by test scripts.
Implements Facilita::Pattern.
|
virtual |
Not called directly by test scripts.
Implements Facilita::Pattern.
|
virtual |
Implements Facilita::Pattern.