hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends 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:
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