nl:: Weave:: Profiles:: SoftwareUpdate:: IntegrityTypeList
#include <src/lib/profiles/software-update/SoftwareUpdateProfile.h>
包含完整性類別清單的補充類別,做為圖片查詢的一部分。
總結
簡單的包裝函式,可存放任何可能的完整性類型子集。為了完成這項工作,其大小等於 IntegrityTypes 中的元素數量。用於在 ImageQuery 訊息中產生支援完整性類型的清單。
建構函式和解構程式 |
|
---|---|
IntegrityTypeList()
IntegrityTypeList 的預設建構函式。
|
公開屬性 |
|
---|---|
theLength
|
uint8_t
支援的元素清單長度。
|
theList[kIntegrityType_Last]
|
uint8_t
容器含有支援的完整性類型。
|
公開函式 |
|
---|---|
init(uint8_t, uint8_t *)
|
使用系統支援的 IntegrityType 清單,明確初始化 IntegrityTypeList。
|
operator==(const IntegrityTypeList &) const
|
bool
一個等號運算子。
|
pack(MessageIterator &)
|
將物件序列化為提供的 MessageIterator。
|
公開的靜態函式 |
|
---|---|
parse(MessageIterator &, IntegrityTypeList &)
|
將物件從指定的 MessageIterator 序列化為提供的 IntegrityTypeList。
|
公開屬性
長度
uint8_t theLength
支援的元素清單長度。
長度為 0 表示空白清單
公開函式
IntegrityTypeList
IntegrityTypeList()
IntegrityTypeList 的預設建構函式。
建構有邏輯的空白清單。您可以透過 init() 方法或從訊息中序列化序列化來填入清單。
init
WEAVE_ERROR init( uint8_t, uint8_t * )
使用系統支援的 IntegrityType 清單,明確初始化 IntegrityTypeList。
詳細資料 | |||||
---|---|---|---|---|---|
參數 |
|
||||
傳回值 |
|
運算子 =
bool operator==( const IntegrityTypeList & ) const
一個等號運算子。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
如果清單等於,則傳回 true,否則為 false
|
包
WEAVE_ERROR pack( MessageIterator & )
將物件序列化為提供的 MessageIterator。
詳細資料 | |||||
---|---|---|---|---|---|
參數 |
|
||||
傳回值 |
|
公開的靜態函式
parse
WEAVE_ERROR parse( MessageIterator &, IntegrityTypeList & )
將物件從指定的 MessageIterator 序列化為提供的 IntegrityTypeList。
詳細資料 | |||||||
---|---|---|---|---|---|---|---|
參數 |
|
||||||
傳回值 |
|