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 |
|
||||
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.