nl::Weave::Profiles::DataManagement_Current::ListBuilderBase

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

WDM 消息编码器的基类,专门用于 TLV 数组元素(例如数据列表和版本列表)。

摘要

继承

<ph type="x-smartling-placeholder"></ph>

受保护的函数

ListBuilderBase(void)

公共函数

Init(nl::Weave::TLV::TLVWriter *const apWriter, const uint8_t aContextTagToUse)
Init(nl::Weave::TLV::TLVWriter *const apWriter)
使用匿名代码启动 TLV 数组容器。

受保护的函数

ListBuilderBase

 ListBuilderBase(
  void
)

公共函数

Init

WEAVE_ERROR Init(
  nl::Weave::TLV::TLVWriter *const apWriter,
  const uint8_t aContextTagToUse
)

Init

WEAVE_ERROR Init(
  nl::Weave::TLV::TLVWriter *const apWriter
)

使用匿名代码启动 TLV 数组容器。

实现数组的数组和测试 ListBuilderBase 所必需的。没有将数组作为最外层容器的 WDM 消息。

详细信息
参数
[in] apWriter
指向对消息进行编码的 TLVWriter 的指针。
返回值
Weave::TLV 对象返回的 WEAVE_ERROR 代码。