HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OutDataRefine.hpp
Go to the documentation of this file.
1 #ifndef OUT_DATA_REFINE_HPP
2 #define OUT_DATA_REFINE_HPP
3 
4 #include <vector>
5 
6 #include "HCEConstants.hpp"
7 #include "DataBase.hpp"
8 #include "RWords.hpp"
9 #include "CWords.hpp"
10 
11 namespace HCE
12 {
13  class OutDataRefine : public DataBase
14  {
15  protected:
16  // crawler
17  std::vector < CWords > cwords;
18  unsigned char localErrorCode;
19  unsigned int langMask;
20  // RW
21  std::vector < RWords > rwords;
22  protected:
23  void init() {};
24  public:
25  OutDataRefine(ComponentType inType) : DataBase (inType) { init(); }
26  virtual ~OutDataRefine () throw() {}
27  public:
28  std::vector < CWords >& getCWords() { return cwords; }
29  std::vector < RWords >& getRWords() { return rwords; }
30  unsigned char getLocalErrorCode() const { return localErrorCode; }
31  unsigned int getLangMask() const { return langMask; }
32  public:
33  void setCWords(const std::vector < CWords > &_cwords) { cwords = _cwords; }
34  void setRWords(const std::vector < RWords > &_rwords) { rwords = _rwords; }
35  void setLangMask (const unsigned int _langMask) { langMask = _langMask; }
36  void setLocalErrorCode (const unsigned char _localErrorCode) { localErrorCode = _localErrorCode; }
37 
38  };
39 }
40 
41 #endif