Mistake on this page?
Report an issue in GitHub or email us
Public Member Functions | Protected Member Functions
RecordParser Struct Referenceabstract

Parse a record. More...

#include <RecordParser.h>

Inheritance diagram for RecordParser:
GenericRecordParser< MimeParser, Mime > GenericRecordParser< TextParser, Text > GenericRecordParser< URIParser, URI > GenericRecordParser< ParserImplementation, ParsingResult > MimeParser TextParser URIParser

Public Member Functions

 RecordParser ()
 Construct a record parser. More...
 
virtual bool parse (const Record &record)=0
 Parse the record in input. More...
 

Protected Member Functions

 ~RecordParser ()
 Protected non virtual destructor. More...
 

Detailed Description

Parse a record.

Definition at line 36 of file RecordParser.h.

Constructor & Destructor Documentation

Construct a record parser.

Definition at line 40 of file RecordParser.h.

~RecordParser ( )
protected

Protected non virtual destructor.

RecordParser subclasses are not meant to be destroyed as RecordParser's.

Definition at line 54 of file RecordParser.h.

Member Function Documentation

virtual bool parse ( const Record record)
pure virtual

Parse the record in input.

Parameters
recordThe NDEF record to parse.
Returns
true if decoding has succeeded and false otherwise.

Implemented in GenericRecordParser< ParserImplementation, ParsingResult >, GenericRecordParser< MimeParser, Mime >, GenericRecordParser< TextParser, Text >, and GenericRecordParser< URIParser, URI >.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.