class Parser

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

WDM Status Element parser definition

Public Methods

WEAVE_ERROR Init (const nl::Weave::TLV::TLVReader & aReader)

aReader has to be on the element of DataElement

WEAVE_ERROR CheckSchemaValidity ()

Roughly verify the schema is right, including

1) all mandatory tags are present

2) all elements have expected data type

3) any tag can only appear once

At the top level of the structure, unknown tags are ignored for foward compatibility

WEAVE_ERROR CheckSchemaValidityDeprecated ()
WEAVE_ERROR CheckSchemaValidityCurrent ()
WEAVE_ERROR GetProfileIDAndStatusCode (uint32_t * apProfileID, uint16_t * aStatusCode)

WEAVE_END_OF_TLV if there is no such element

WEAVE_ERROR_WRONG_TLV_TYPE if there is such element but it's not any of the defined unsigned integer types