strusAnalyzer  0.17
Public Types | Public Member Functions | List of all members
strus::analyzer::PatternMatcherResult Class Reference

Structure desribing a result of a token pattern matcher. More...

#include <patternMatcherResult.hpp>

Inheritance diagram for strus::analyzer::PatternMatcherResult:
strus::analyzer::PatternMatcherResultItem

Public Types

typedef
analyzer::PatternMatcherResultItem 
Item
 

Public Member Functions

 PatternMatcherResult ()
 Default constructor. More...
 
 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. More...
 
 PatternMatcherResult (const PatternMatcherResult &o)
 Copy constructor. More...
 
 ~PatternMatcherResult ()
 Destructor. More...
 
const std::vector< Item > & items () const
 List of result items defined by variables assigned to nodes of the pattern of the match. More...
 
- Public Member Functions inherited from strus::analyzer::PatternMatcherResultItem
 PatternMatcherResultItem ()
 Default constructor. More...
 
 PatternMatcherResultItem (const char *name_, const char *value_, int ordpos_, int ordend_, const Position &origpos_, const Position &origend_)
 Constructor. More...
 
 PatternMatcherResultItem (const PatternMatcherResultItem &o)
 Copy constructor. More...
 
 ~PatternMatcherResultItem ()
 Destructor. More...
 
const char * name () const
 Name of the item, defined by the variable assigned to the match. More...
 
const char * value () const
 Pointer to value of the item. More...
 
int ordpos () const
 Ordinal (counting) position of the match (resp. the first term of the match) More...
 
int ordend () const
 Ordinal (counting) end position of the match. More...
 
const Positionorigpos () const
 Start of the result item in the original source. More...
 
const Positionorigend () const
 End of the result item in the original source (first byte after the item) More...
 

Detailed Description

Structure desribing a result of a token pattern matcher.

Member Typedef Documentation

Constructor & Destructor Documentation

strus::analyzer::PatternMatcherResult::PatternMatcherResult ( )
inline

Default constructor.

strus::analyzer::PatternMatcherResult::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>() 
)
inline

Constructor.

strus::analyzer::PatternMatcherResult::PatternMatcherResult ( const PatternMatcherResult o)
inline

Copy constructor.

strus::analyzer::PatternMatcherResult::~PatternMatcherResult ( )
inline

Destructor.

Member Function Documentation

const std::vector<Item>& strus::analyzer::PatternMatcherResult::items ( ) const
inline

List of result items defined by variables assigned to nodes of the pattern of the match.


The documentation for this class was generated from the following file: