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

Interface for a tokenizer function. More...

#include <tokenizerFunctionInterface.hpp>

Public Member Functions

virtual ~TokenizerFunctionInterface ()
 Destructor. More...
 
virtual
TokenizerFunctionInstanceInterface
createInstance (const std::vector< std::string > &args, const TextProcessorInterface *tp) const =0
 Create a parameterizable tokenizer function instance. More...
 
virtual const char * getDescription () const =0
 Get a description of the function for user help. More...
 

Detailed Description

Interface for a tokenizer function.

Constructor & Destructor Documentation

virtual strus::TokenizerFunctionInterface::~TokenizerFunctionInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual TokenizerFunctionInstanceInterface* strus::TokenizerFunctionInterface::createInstance ( const std::vector< std::string > &  args,
const TextProcessorInterface tp 
) const
pure virtual

Create a parameterizable tokenizer function instance.

Parameters
[in]argsarguments for the tokenizer function
[in]tptext processor reference (for loading resources)
[in]errorhndanalyzer error buffer interface for reporting exeptions and errors
virtual const char* strus::TokenizerFunctionInterface::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: