1 #ifndef SUBSTRING_OCCURENCE_HDR
2 #define SUBSTRING_OCCURENCE_HDR
4 #include "concordia/common/config.hpp"
37 const SUFFIX_MARKER_TYPE & offset,
38 const SUFFIX_MARKER_TYPE & exampleLength);
46 SUFFIX_MARKER_TYPE
getId()
const {
61 return _exampleLength;
69 friend std::ostream & operator << (std::ostream & o,
71 return o <<
"occurence(exampleId=" << occurence.
getId()
72 <<
", offset=" << occurence.
getOffset() <<
")";
77 SUFFIX_MARKER_TYPE _id;
79 SUFFIX_MARKER_TYPE _offset;
82 SUFFIX_MARKER_TYPE _exampleLength;
void enterDataFromMarker(const SUFFIX_MARKER_TYPE &marker)
Definition: substring_occurence.cpp:13
Definition: substring_occurence.hpp:16
SUFFIX_MARKER_TYPE getOffset() const
Definition: substring_occurence.hpp:53
SUFFIX_MARKER_TYPE getExampleLength() const
Definition: substring_occurence.hpp:60
virtual ~SubstringOccurence()
Definition: substring_occurence.cpp:30
SubstringOccurence()
Definition: substring_occurence.cpp:4
SUFFIX_MARKER_TYPE getId() const
Definition: substring_occurence.hpp:46