Google is committed to advancing racial equity for Black communities. See how.

nl::Weave::Profiles::DataManagement_Current::StatusList::Builder

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

StatusList builder.

Summary

Supports both the current and the deprecated StatusList format.

Inheritance

Inherits from: nl::Weave::Profiles::DataManagement_Current::ListBuilderBase

Public functions

AddStatus(uint32_t aProfileID, uint16_t aStatusCode)
Append a StatusElement to the list.
EndOfStatusList(void)
UseDeprecatedFormat()
void
Write the list as an array of structures, instead of an array of arrays.

Public functions

AddStatus

StatusList::Builder & AddStatus(
  uint32_t aProfileID,
  uint16_t aStatusCode
)

Append a StatusElement to the list.

Details
Parameters
[in] aProfileID
ProfileID
[in] aStatusCode
StatusCode
Returns
Reference to this builder.

EndOfStatusList

StatusList::Builder & EndOfStatusList(
  void
)

UseDeprecatedFormat

void UseDeprecatedFormat()

Write the list as an array of structures, instead of an array of arrays.