2015-04-17 14:17:59 +02:00
|
|
|
#include "concordia/matched_pattern_fragment.hpp"
|
|
|
|
|
|
|
|
MatchedPatternFragment::MatchedPatternFragment(
|
|
|
|
const SUFFIX_MARKER_TYPE & exampleId,
|
|
|
|
const SUFFIX_MARKER_TYPE & exampleOffset,
|
|
|
|
const SUFFIX_MARKER_TYPE & patternOffset,
|
|
|
|
const SUFFIX_MARKER_TYPE & matchedLength):
|
2015-04-21 15:14:48 +02:00
|
|
|
Interval(patternOffset,
|
|
|
|
patternOffset + matchedLength),
|
2015-04-17 14:17:59 +02:00
|
|
|
_exampleId(exampleId),
|
|
|
|
_exampleOffset(exampleOffset),
|
|
|
|
_patternOffset(patternOffset),
|
|
|
|
_matchedLength(matchedLength) {
|
|
|
|
}
|
|
|
|
|
|
|
|
MatchedPatternFragment::~MatchedPatternFragment() {
|
|
|
|
}
|
|
|
|
|