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
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
{
21
WordPos
():
beginOffset
(0),
endOffset
(0),
position
(0),
segmentId
(0) {}
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
;
28
MSGPACK_DEFINE
(
beginOffset
,
endOffset
,
position
,
segmentId
);
29
};
30
31
#endif
sources
src
WordPos.hpp
Generated on Mon Jan 13 2014 16:16:17 for highlighter application by
1.8.1.2