class Parser

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

Public Methods

WEAVE_ERROR CheckSchemaValidity ()

Roughly verify the schema is right, including

1) all mandatory tags are present

2) no unknown tags

3) all elements have expected data type

4) any tag can only appear once

WEAVE_ERROR GetDataList (DataList::Parser *const apDataList)

Get a TLVReader for the Paths. Next() must be called before accessing them.

WEAVE_ERROR GetPossibleLossOfEvent (bool *const apPossibleLossOfEvent)

WEAVE_END_OF_TLV if there is no such element

WEAVE_ERROR_WRONG_TLV_TYPE if there is such element but it's not one of the right types

WEAVE_ERROR GetUTCTimestamp (uint64_t *const apUTCTimestamp)

WEAVE_END_OF_TLV if there is no such element

WEAVE_ERROR_WRONG_TLV_TYPE if there is such element but it's not one of the right types

WEAVE_ERROR GetSystemTimestamp (uint64_t *const apSystemTimestamp)

WEAVE_END_OF_TLV if there is no such element

WEAVE_ERROR_WRONG_TLV_TYPE if there is such element but it's not one of the right types

WEAVE_ERROR GetEventList (EventList::Parser *const apEventList)

Get a TLVReader for the events. Next() must be called before accessing them.