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

Interface for instantiating the data structure of an automaton for detecting lexems used as basic entities by pattern matching in text. More...

#include <patternLexerInterface.hpp>

Public Member Functions

virtual ~PatternLexerInterface ()
 Destructor. More...
 
virtual std::vector< std::string > getCompileOptionNames () const =0
 Get the list of option names you can pass to PatternLexerInstanceInterface::compile. More...
 
virtual
PatternLexerInstanceInterface
createInstance () const =0
 Create an instance to build the regular expressions for a lexem matcher. More...
 
virtual const char * getDescription () const =0
 Get a description of this pattern lexem detector for user help. More...
 

Detailed Description

Interface for instantiating the data structure of an automaton for detecting lexems used as basic entities by pattern matching in text.

Constructor & Destructor Documentation

virtual strus::PatternLexerInterface::~PatternLexerInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual PatternLexerInstanceInterface* strus::PatternLexerInterface::createInstance ( ) const
pure virtual

Create an instance to build the regular expressions for a lexem matcher.

Returns
the lexer instance
virtual std::vector<std::string> strus::PatternLexerInterface::getCompileOptionNames ( ) const
pure virtual

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

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

Get a description of this pattern lexem detector for user help.

Returns
the description

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