class ParserBase

Defined at line 192 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/MessageDef.h

Base class for WDM message parsers

Protected Members

TLVReader mReader

Public Methods

WEAVE_ERROR GetReaderOnTag (const uint64_t aTagToFind, nl::Weave::TLV::TLVReader *const apReader)

Initialize a TLVReader to point to the beginning of any tagged element in this request

Parameters

aTagToFind [in] Tag to find in the request
apReader [out] A pointer to TLVReader, which will be initialized at the specified TLV element on success

Protected Methods

void ParserBase ()
template <typename T>
WEAVE_ERROR GetUnsignedInteger (const uint8_t aContextTag, T *const apLValue)
template <typename T>
WEAVE_ERROR GetSimpleValue (const uint8_t aContextTag, const nl::Weave::TLV::TLVType aTLVType, T *const apLValue)