Report parsing event to the application. More...
#include <MessageParser.h>
Public Member Functions | |
virtual void | on_parsing_started () |
Invoked when parsing as started. More... | |
virtual void | on_record_parsed (const Record &record) |
Invoked when a record has been parsed. More... | |
virtual void | on_parsing_terminated () |
Invoked when parsing is over. More... | |
virtual void | on_parsing_error (error_t error) |
Invoked when an error is present in the message. More... | |
Protected Member Functions | |
~Delegate () | |
Protected non virtual destructor. More... | |
Report parsing event to the application.
Definition at line 93 of file MessageParser.h.
|
protected |
Protected non virtual destructor.
Delegate is not meant to be destroyed in a polymorphic manner.
Definition at line 122 of file MessageParser.h.
|
virtual |
Invoked when an error is present in the message.
error | The error present in the message. |
Definition at line 115 of file MessageParser.h.
|
virtual |
Invoked when parsing as started.
Definition at line 97 of file MessageParser.h.
|
virtual |
Invoked when parsing is over.
Definition at line 109 of file MessageParser.h.
|
virtual |
Invoked when a record has been parsed.
record | The record obtained from parsing. |
Definition at line 104 of file MessageParser.h.