|
1
2
3
4
5
6
7
8
9
10
|
/*
* File: segrules.hpp
* Author: mlenart
*
* Created on 25 luty 2014, 16:35
*/
#ifndef SEGRULES_HPP
#define SEGRULES_HPP
|
|
11
12
13
|
#include <utility>
#include <map>
#include <string>
|
|
14
|
#include "SegrulesFSA.hpp"
|
|
15
|
|
|
16
|
typedef std::map<std::string, std::string> SegrulesOptions;
|
|
17
18
|
//typedef State<unsigned char> SegrulesStateType;
//typedef FSA<unsigned char> SegrulesFSAType;
|
|
19
|
|
|
20
|
std::map<SegrulesOptions, SegrulesFSA*> createSegrulesFSAsMap(const unsigned char* analyzerPtr);
|
|
21
22
23
|
SegrulesOptions getDefaultSegrulesOptions(const unsigned char* ptr);
SegrulesFSA* getDefaultSegrulesFSA(const map<SegrulesOptions, SegrulesFSA*>& map, const unsigned char* analyzerPtr);
void debugMap(const map<SegrulesOptions, SegrulesFSA*>& res);
|
|
24
25
26
|
#endif /* SEGRULES_HPP */
|