10 #ifndef _STRUS_ANALYZER_PATTERN_MATCHER_RESULT_HPP_INCLUDED
11 #define _STRUS_ANALYZER_PATTERN_MATCHER_RESULT_HPP_INCLUDED
13 #include "strus/base/stdint.h"
31 PatternMatcherResult(
const char* name_,
const char* value_,
int ordpos_,
int ordend_,
const Position& origpos_,
const Position& origend_,
const std::vector<Item>& itemlist_=std::vector<Item>())
34 #if __cplusplus >= 201103L
47 const std::vector<Item>&
items()
const {
return m_itemlist;}
50 std::vector<Item> m_itemlist;
const std::vector< Item > & items() const
List of result items defined by variables assigned to nodes of the pattern of the match...
Definition: patternMatcherResult.hpp:47
~PatternMatcherResult()
Destructor.
Definition: patternMatcherResult.hpp:44
PatternMatcherResult()
Default constructor.
Definition: patternMatcherResult.hpp:28
PatternMatcherResult(const char *name_, const char *value_, int ordpos_, int ordend_, const Position &origpos_, const Position &origend_, const std::vector< Item > &itemlist_=std::vector< Item >())
Constructor.
Definition: patternMatcherResult.hpp:31
PatternMatcherResult(const PatternMatcherResult &o)
Copy constructor.
Definition: patternMatcherResult.hpp:40
Structure desribing a result item of a token pattern matcher.
analyzer::PatternMatcherResultItem Item
Definition: patternMatcherResult.hpp:25
Result item structure of a pattern match result.
Definition: patternMatcherResultItem.hpp:19
Structure desribing a result of a token pattern matcher.
Definition: patternMatcherResult.hpp:21
Structure describing a position in a document source by segment and offset.
Definition: position.hpp:22