Result item structure of a pattern match result.
More...
#include <patternMatcherResultItem.hpp>
Result item structure of a pattern match result.
strus::analyzer::PatternMatcherResultItem::PatternMatcherResultItem |
( |
| ) |
|
|
inline |
strus::analyzer::PatternMatcherResultItem::PatternMatcherResultItem |
( |
const char * |
name_, |
|
|
const char * |
value_, |
|
|
int |
ordpos_, |
|
|
int |
ordend_, |
|
|
const Position & |
origpos_, |
|
|
const Position & |
origend_ |
|
) |
| |
|
inline |
strus::analyzer::PatternMatcherResultItem::~PatternMatcherResultItem |
( |
| ) |
|
|
inline |
const char* strus::analyzer::PatternMatcherResultItem::name |
( |
| ) |
const |
|
inline |
Name of the item, defined by the variable assigned to the match.
int strus::analyzer::PatternMatcherResultItem::ordend |
( |
| ) |
const |
|
inline |
Ordinal (counting) end position of the match.
int strus::analyzer::PatternMatcherResultItem::ordpos |
( |
| ) |
const |
|
inline |
Ordinal (counting) position of the match (resp. the first term of the match)
const Position& strus::analyzer::PatternMatcherResultItem::origend |
( |
| ) |
const |
|
inline |
End of the result item in the original source (first byte after the item)
const Position& strus::analyzer::PatternMatcherResultItem::origpos |
( |
| ) |
const |
|
inline |
Start of the result item in the original source.
const char* strus::analyzer::PatternMatcherResultItem::value |
( |
| ) |
const |
|
inline |
Pointer to value of the item.
- Note
- The value is a null terminated string containing a constructed value of the result string or NULL if no such construction (format string) is defined.
The documentation for this class was generated from the following file: