C++ IP API  9.5.5
TCP & UDP for virtual user scripts
SimplePattern.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include "Pattern.h"
5 
6 using namespace std;
7 using namespace Facilita;
8 namespace Facilita {
17 class FC_API SimplePattern : public Pattern {
18  private:
19 
20  protected:
21 #pragma warning(disable:4251)
22  string _pattern;
23 #pragma warning(default:4251)
24  int *_next; // array of next pattern positions
25  int _pposn; // pattern position
26  public:
29  SimplePattern(const string &s);
30  ~SimplePattern();
32  int isSatisfiedBy(char ch);
34  void reset(void);
36  string toString();
37 };
38 }
A Pattern based on a single string.
Definition: SimplePattern.h:17
STL namespace.
An Interface to which sub-classes must conform.
Definition: Pattern.h:13
Definition: IpEndPoint.h:9