highlighter application
1.1
HCE project utils : highlighter
Main Page
Namespaces
Classes
Files
File List
File Members
highlighter application
HCE project utilities highlighter
Namespaces
Classes
Files
File List
sources
src
Application.cpp
Application.hpp
ContentsStorageBase.cpp
ContentsStorageBase.hpp
ContentsStorageSimple.cpp
ContentsStorageSimple.hpp
CrossThreadBuf.cpp
CrossThreadBuf.hpp
ErrorStruct.cpp
ErrorStruct.hpp
HighlightAlgorithmException.hpp
HighlightComponent.cpp
HighlightComponent.hpp
HighlightingAlgorithmBase.hpp
HighlightingAlgorithmInitialize.cpp
HighlightingAlgorithmInitialize.hpp
HighlightingAlgorithmRefine.cpp
HighlightingAlgorithmRefine.hpp
HighlightingAlgorithmRegexpr.cpp
HighlightingAlgorithmRegexpr.hpp
HighlightingAlgorithmSimple.cpp
HighlightingAlgorithmSimple.hpp
HighlightJsonException.hpp
HighlightJsonWrapper.cpp
HighlightJsonWrapper.hpp
HighlightStringGenerator.cpp
HighlightStringGenerator.hpp
HighlightStringStickerBase.hpp
HighlightStringStickerSimple.cpp
HighlightStringStickerSimple.hpp
InDataHighlight.hpp
InDataStruct.hpp
JsonObjectExeption.hpp
JsonObjExtractor.cpp
JsonObjExtractor.hpp
main.cpp
NotStricktChain.hpp
OutDataHighlight.hpp
OutDataStruct.hpp
SearchStringParseException.hpp
SearchStringParser.cpp
SearchStringParser.hpp
SerializeCacheData.hpp
WordPos.hpp
utils
main.cpp
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
HighlightingAlgorithmSimple.hpp
Go to the documentation of this file.
1
14
#ifndef HIGHLIGHTING_ALGORITHM_SIMPLE_HPP
15
#define HIGHLIGHTING_ALGORITHM_SIMPLE_HPP
16
17
#include "
HighlightingAlgorithmBase.hpp
"
18
19
class
HighlightingAlgorithmSimple
:
public
HighlightingAlgorithmBase
20
{
21
private
:
22
unsigned
int
maxNumber;
23
std::string name;
24
public
:
25
HighlightingAlgorithmSimple
():maxNumber(0xFFFFFFFF), name(
"(A-Simple substring)"
) {}
26
virtual
void
process
(
const
std::vector<std::pair<SearchType, std::string> > &searchStrings,
const
Poco::SharedPtr<std::string> contentPtr,
27
ContentsStorageBase::WordPosPtrType
wordMapPtr, std::map<unsigned int, WordPos> &wordOffsetMap);
28
inline
void
setMaxNumber
(
unsigned
int
_maxNumber) {maxNumber = _maxNumber;}
29
virtual
std::string
getName
() {
return
name;}
30
virtual
~HighlightingAlgorithmSimple
() {}
31
};
32
33
#endif
sources
src
HighlightingAlgorithmSimple.hpp
Generated on Mon Jan 13 2014 16:16:16 for highlighter application by
1.8.1.2