nl::Weave::Profiles::DataManagement_Current::ParserBase

#include <src/lib/profiles/data-management/Current/MessageDef.h>

WDM 消息解析器的基类。

摘要

继承

Direct known Subclasses:
  nl::Weave::Profiles::DataManagement_Current::BaseMessageWithSubscribeId::Parser
  nl::Weave::Profiles::DataManagement_Current::DataElement::Parsernl::Weave::Profiles::DataManagement_Current::ListParserBasenl::Weave::Profiles::DataManagement_Current::Path::Parsernl::Weave::Profiles::DataManagement_Current::RejectionRecord::Parsernl::Weave::Profiles::DataManagement_Current::StatusElement::Parsernl::Weave::Profiles::DataManagement_Current::UpdateResponse::Parser

受保护的属性

mReader

公共函数

GetReaderOnTag(const uint64_t aTagToFind, nl::Weave::TLV::TLVReader *const apReader) const
初始化 TLVReader,以指向此请求中任何标记元素的开头。

受保护的函数

GetSimpleValue(const uint8_t aContextTag, const nl::Weave::TLV::TLVType aTLVType, T *const apLValue) const
GetUnsignedInteger(const uint8_t aContextTag, T *const apLValue) const
ParserBase(void)

受保护的属性

mReader

nl::Weave::TLV::TLVReader mReader

公共函数

GetReaderOnTag

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

初始化 TLVReader,以指向此请求中任何标记元素的开头。

具体说明
参数
[in] aTagToFind
要在请求中查找的标记
[out] apReader
指向 TLVReader 的指针,将在成功时在指定的 TLV 元素处初始化
返回值
WEAVE_NO_ERROR
成功时

受保护的函数

GetSimpleValue

WEAVE_ERROR GetSimpleValue(
  const uint8_t aContextTag,
  const nl::Weave::TLV::TLVType aTLVType,
  T *const apLValue
) const 

GetUnsignedInteger

WEAVE_ERROR GetUnsignedInteger(
  const uint8_t aContextTag,
  T *const apLValue
) const 

ParserBase

 ParserBase(
  void
)