class Parser

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

WDM Path parser definition

Note that in theory this class can be derived from SubscribeCancelRequest, but we are anticipating the tags to be changed

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 GetSubscribeTimeoutMin (uint32_t *const apTimeOutMin)

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 GetSubscribeTimeoutMax (uint32_t *const apTimeOutMax)

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 GetSubscribeToAllEvents (bool *const apAllEvents)

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 GetLastObservedEventIdList (EventList::Parser *const apEventList)

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

WEAVE_ERROR GetPathList (PathList::Parser *const apPathList)

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

WEAVE_ERROR GetVersionList (VersionList::Parser *const apVersionList)

Get a TLVReader at the Versions. Next() must be called before accessing it.

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