File: match.h

package info (click to toggle)
intel2gas 1.3.3-13
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 460 kB
  • ctags: 130
  • sloc: cpp: 1,286; makefile: 83
file content (16 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _MATCH_H_
#define _MATCH_H_

#include <string>

class Match {
  public:
    enum Type {EXACT, BEST, NOTHING};
    virtual ~Match() const = 0;
    virtual int minSize() const = 0;
    virtual int maxSize() const = 0;
    virtual Type match(string text, string &result) = 0;
  private:
};

#endif //!_MATCH_H_