C++ IP API  9.5.8
TCP & UDP for virtual user scripts
Facilita::SimplePattern Class Reference

A Pattern based on a single string. More...

Inheritance diagram for Facilita::SimplePattern:
Collaboration diagram for Facilita::SimplePattern:

Public Methods

 SimplePattern (const string &s)
 Construct this pattern. More...
 
 ~SimplePattern ()
 
int isSatisfiedBy (char ch)
 Not called directly by test scripts. More...
 
void reset (void)
 Not called directly by test scripts. More...
 
string toString ()
 
Returns
A string version of this pattern.
More...
 
- Public Methods inherited from Facilita::Pattern
 Pattern ()
 
virtual ~Pattern ()
 

Detailed Description

A Pattern based on a single string.

A search for this pattern will be satisfied if the string is found in the searched data. The internal read position on input stream is advanced to the byte following the end of found string.

Constructors

Facilita::SimplePattern::SimplePattern ( const string &  s)

Construct this pattern.

Parameters
sThe string to look for.
Facilita::SimplePattern::~SimplePattern ( )

Methods

int Facilita::SimplePattern::isSatisfiedBy ( char  ch)
virtual

Not called directly by test scripts.

Implements Facilita::Pattern.

void Facilita::SimplePattern::reset ( void  )
virtual

Not called directly by test scripts.

Implements Facilita::Pattern.

string Facilita::SimplePattern::toString ( )
virtual

Returns
A string version of this pattern.

Implements Facilita::Pattern.


The documentation for this class was generated from the following file: