highlighter application  1.1
HCE project utils : highlighter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
HighlightingAlgorithmRegexpr.hpp
Go to the documentation of this file.
1 
14 #ifndef HIGHLIGHTING_ALGORITHM_REGEXPR_HPP
15 #define HIGHLIGHTING_ALGORITHM_REGEXPR_HPP
16 
17 #include <map>
18 #include <Poco/SharedPtr.h>
19 #include <string>
20 #include <vector>
21 
22 #include "InDataStruct.hpp"
24 #include "WordPos.hpp"
25 
27 {
28  private:
29  std::string name;
30  public:
31  HighlightingAlgorithmRegexpr():name("(A-Poco::Regexpr)") {}
32  virtual void process(const std::vector<std::pair<SearchType, std::string> > &searchStrings, const Poco::SharedPtr<std::string> contentPtr,
33  ContentsStorageBase::WordPosPtrType wordMapPtr, std::map<unsigned int, WordPos> &wordOffsetMap);
34  virtual std::string getName() {return name;}
36 };
37 
38 #endif