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

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

Base class for WDM message encoders, specialized in TLV array elements like Data Lists and Version Lists.

Summary

Inheritance

Inherits from: nl::Weave::Profiles::DataManagement_Current::BuilderBase
Direct Known Subclasses:
  nl::Weave::Profiles::DataManagement_Current::DataList::Builder
  nl::Weave::Profiles::DataManagement_Current::EventList::Builder
  nl::Weave::Profiles::DataManagement_Current::PathList::Builder
  nl::Weave::Profiles::DataManagement_Current::RejectionRecordList::Builder
  nl::Weave::Profiles::DataManagement_Current::StatusElement::Builder
  nl::Weave::Profiles::DataManagement_Current::StatusList::Builder
  nl::Weave::Profiles::DataManagement_Current::VersionList::Builder

Protected functions

ListBuilderBase(void)

Public functions

Init(nl::Weave::TLV::TLVWriter *const apWriter, const uint8_t aContextTagToUse)
Init(nl::Weave::TLV::TLVWriter *const apWriter)
Init the TLV array container with an anonymous tag.

Protected functions

ListBuilderBase

 ListBuilderBase(
  void
)

Public functions

Init

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

Init

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

Init the TLV array container with an anonymous tag.

Required to implement arrays of arrays, and to test ListBuilderBase. There is no WDM message that has an array as the outermost container.

Details
Parameters
[in] apWriter
Pointer to the TLVWriter that is encoding the message.
Returns
WEAVE_ERROR codes returned by Weave::TLV objects.