Mbed OS Reference
Loading...
Searching...
No Matches
RecordParserChain Struct Reference

Record parser chain. More...

#include <RecordParser.h>

Public Member Functions

 RecordParserChain ()
 Construct a parser chain. More...
 
 ~RecordParserChain ()
 Destroy a parser chain. More...
 
bool parse (const Record &record)
 Parse a record. More...
 
void set_next_parser (RecordParser *parser)
 Add a parser at the end of the parser list. More...
 

Detailed Description

Record parser chain.

Definition at line 136 of file RecordParser.h.

Constructor & Destructor Documentation

◆ RecordParserChain()

Construct a parser chain.

Definition at line 140 of file RecordParser.h.

◆ ~RecordParserChain()

Destroy a parser chain.

Definition at line 145 of file RecordParser.h.

Member Function Documentation

◆ parse()

bool parse ( const Record record)

Parse a record.

Parameters
recordThe record to parse.
Returns
true if the record has been parsed and false otherwise.

◆ set_next_parser()

void set_next_parser ( RecordParser parser)

Add a parser at the end of the parser list.

Parameters
parserThe parser to add.