Mbed OS Reference
|
#include <RecordParser.h>
Data Structures | |
struct | Delegate |
Handle that receives parsed values. More... | |
Public Member Functions | |
GenericRecordParser () | |
Construct a record parser. More... | |
virtual bool | parse (const Record &record) |
void | set_delegate (Delegate *delegate) |
Set the delegate that processes record parser. More... | |
Protected Member Functions | |
~GenericRecordParser () | |
Protected non virtual destructor. More... | |
ParserImplementation | the implementation type of the parser. It must provides A decoding function named do_parse that accept a const reference to a record and a reference to the type parsed and return a boolean status that indicates the result of the parsing operation. |
ParsingResult | Type produced by the parsing operation when successful. |
Definition at line 74 of file RecordParser.h.
Construct a record parser.
Definition at line 95 of file RecordParser.h.
|
protected |
Protected non virtual destructor.
Definition at line 126 of file RecordParser.h.
|
virtual |
void set_delegate | ( | Delegate * | delegate | ) |
Set the delegate that processes record parser.
delegate | The delegate to set. |
Definition at line 117 of file RecordParser.h.