highlighter application
1.1
HCE project utils : highlighter
Main Page
Namespaces
Classes
Files
File List
File Members
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
"
23
#include "
HighlightingAlgorithmBase.hpp
"
24
#include "
WordPos.hpp
"
25
26
class
HighlightingAlgorithmRegexpr
:
public
HighlightingAlgorithmBase
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;}
35
virtual
~HighlightingAlgorithmRegexpr
() {}
36
};
37
38
#endif
sources
src
HighlightingAlgorithmRegexpr.hpp
Generated on Mon Jan 13 2014 16:16:16 for highlighter application by
1.8.1.2