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

Object with all interfaces needed for serialization. More...

#include <pattern_serialize.hpp>

Public Types

enum  { MaxContentBufSize =1<<20 }
 

Public Member Functions

 PatternSerializer (SerializerData *serializerData_, PatternLexerInstanceInterface *lexer_, PatternMatcherInstanceInterface *matcher_, ErrorBufferInterface *errorhnd_)
 Constructor. More...
 
 PatternSerializer (SerializerData *serializerData_, PatternTermFeederInstanceInterface *feeder_, PatternMatcherInstanceInterface *matcher_, ErrorBufferInterface *errorhnd_)
 Constructor. More...
 
 ~PatternSerializer ()
 Destructor. More...
 
PatternLexerInstanceInterface * lexer ()
 Get the lexer interface to instantiate or 0, if not defined. More...
 
PatternTermFeederInstanceInterface * feeder ()
 Get the term feeder interface to instantiate or 0, if not defined. More...
 
PatternMatcherInstanceInterface * matcher ()
 Get the pattern matcher interface to instantiate. More...
 
bool close ()
 

Detailed Description

Object with all interfaces needed for serialization.

Member Enumeration Documentation

anonymous enum
Enumerator
MaxContentBufSize 

Constructor & Destructor Documentation

strus::PatternSerializer::PatternSerializer ( SerializerData *  serializerData_,
PatternLexerInstanceInterface *  lexer_,
PatternMatcherInstanceInterface *  matcher_,
ErrorBufferInterface *  errorhnd_ 
)
inline

Constructor.

strus::PatternSerializer::PatternSerializer ( SerializerData *  serializerData_,
PatternTermFeederInstanceInterface *  feeder_,
PatternMatcherInstanceInterface *  matcher_,
ErrorBufferInterface *  errorhnd_ 
)
inline

Constructor.

strus::PatternSerializer::~PatternSerializer ( )

Destructor.

Member Function Documentation

bool strus::PatternSerializer::close ( )
PatternTermFeederInstanceInterface* strus::PatternSerializer::feeder ( )
inline

Get the term feeder interface to instantiate or 0, if not defined.

PatternLexerInstanceInterface* strus::PatternSerializer::lexer ( )
inline

Get the lexer interface to instantiate or 0, if not defined.

PatternMatcherInstanceInterface* strus::PatternSerializer::matcher ( )
inline

Get the pattern matcher interface to instantiate.


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