strusAnalyzer  0.17
Public Member Functions | List of all members
strus::PatternResultFormatTable Class Reference

Parser for result format strings. More...

#include <pattern_resultformat.hpp>

Public Member Functions

 PatternResultFormatTable (const PatternResultFormatVariableMap *variableMap_, ErrorBufferInterface *errorhnd_)
 
 ~PatternResultFormatTable ()
 
const PatternResultFormatcreateResultFormat (const char *src)
 Create a format string representation out of its source. More...
 

Detailed Description

Parser for result format strings.

Constructor & Destructor Documentation

strus::PatternResultFormatTable::PatternResultFormatTable ( const PatternResultFormatVariableMap variableMap_,
ErrorBufferInterface *  errorhnd_ 
)
strus::PatternResultFormatTable::~PatternResultFormatTable ( )

Member Function Documentation

const PatternResultFormat* strus::PatternResultFormatTable::createResultFormat ( const char *  src)

Create a format string representation out of its source.

Note
Substituted elements are addressed as identifiers in curly brackets '{' '}'
Escaping of '{' and '}' is done with backslash '\', e.g. "\{" or "\}"
Returns
a {Variable,NULL} terminated array of elements

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