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
TagReducePlugin.hpp
Go to the documentation of this file.
1
6
#ifndef _TAG_REDUCE_HPP
7
#define _TAG_REDUCE_HPP
8
9
13
#include <unicode/brkiter.h>
14
18
//#include <map>
19
23
#include "
TPlugin.hpp
"
24
#include "
LCoreData.hpp
"
25
26
27
namespace
HCE
28
{
29
30
namespace
component
31
{
32
33
34
class
TagReducePlugin
:
public
TPlugin
35
{
36
public
:
37
TagReducePlugin
();
38
virtual
~TagReducePlugin
();
39
public
:
40
virtual
void
process
(
LCoreData
&);
41
private
:
42
inline
bool
isTagCode(
const
UChar& c) {
return
((static_cast<unsigned>(c) >= TAG_CODES_BASE ) && (static_cast<unsigned>(c) < (TAG_CODES_BASE+TAG_CODES_TOTAL_NUMBER))); }
43
private
:
44
SSTRING
_tags;
45
};
46
47
48
}
/* namespace component */
49
50
}
/* namespace HCE */
51
52
53
#endif
sources
utils
refine
src
TagReducePlugin.hpp
Generated on Mon Jan 13 2014 16:16:17 for highlighter application by
1.8.1.2