6#ifndef ABSTRACTANALYSISHANDLER_H
7#define ABSTRACTANALYSISHANDLER_H
65 virtual void handle(
const char* buf,
int length) =0;
96 if (m_handlers.find(handlerId) != m_handlers.end())
97 return m_handlers[handlerId];
103 std::map<std::string, AbstractAnalysisHandler*>& m_handlers;
The AbstractAnalysisHandler class defines the callback interface: the functions that are to be define...
virtual void handle(const char *buf, int length)=0
main function of the handler: handle data produced by the dumper at end of the analysis of a given te...
virtual void startAnalysis()=0
function called by the LIMA analyzer on start of a new document
virtual void endAnalysis()=0
function called by the LIMA analyzer on the end of a text part that is to be analyzed
virtual ~AbstractAnalysisHandler()
just for semantics: base class for analysisData
AnalysisHandlerContainer(std::map< std::string, AbstractAnalysisHandler * > &handlers)
AbstractAnalysisHandler * getHandler(const std::string &handlerId) const