highlighter application  1.1
HCE project utils : highlighter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
WordPos.hpp
Go to the documentation of this file.
1 
14 #ifndef WORDS_POS_HPP
15 #define WORDS_POS_HPP
16 
17 #include <msgpack.hpp>
18 
19 struct WordPos
20 {
22  WordPos(unsigned int _beginOffset, unsigned int _endOffset, unsigned int _position, unsigned int _segmentId):
23  beginOffset(_beginOffset), endOffset(_endOffset), position(_position), segmentId(_segmentId) {}
24  unsigned int beginOffset;
25  unsigned int endOffset;
26  unsigned int position;
27  unsigned int segmentId;
29 };
30 
31 #endif