strusAnalyzer  0.17
Public Member Functions | List of all members
strus::PatternMatcherInterface Class Referenceabstract

Interface for creating an automaton for detecting patterns of tokens in a document stream. More...

#include <patternMatcherInterface.hpp>

Public Member Functions

virtual ~PatternMatcherInterface ()
 Destructor. More...
 
virtual std::vector< std::string > getCompileOptionNames () const =0
 Get the list of option names you can pass to PatternMatcherInstanceInterface::compile. More...
 
virtual
PatternMatcherInstanceInterface
createInstance () const =0
 Create an instance to build the rules of a pattern matcher. More...
 
virtual const char * getDescription () const =0
 Get a description of the function for user help. More...
 

Detailed Description

Interface for creating an automaton for detecting patterns of tokens in a document stream.

Constructor & Destructor Documentation

virtual strus::PatternMatcherInterface::~PatternMatcherInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual PatternMatcherInstanceInterface* strus::PatternMatcherInterface::createInstance ( ) const
pure virtual

Create an instance to build the rules of a pattern matcher.

Returns
the pattern matcher instance
virtual std::vector<std::string> strus::PatternMatcherInterface::getCompileOptionNames ( ) const
pure virtual

Get the list of option names you can pass to PatternMatcherInstanceInterface::compile.

Returns
NULL terminated array of strings
virtual const char* strus::PatternMatcherInterface::getDescription ( ) const
pure virtual

Get a description of the function for user help.

Returns
the description

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