nl::Weave::Profiles::DataManagement_Current::StatusElement::Parser

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

คำจำกัดความของโปรแกรมแยกวิเคราะห์องค์ประกอบสถานะ WDM

สรุป

การสืบทอด

รับค่าจาก: nl::Weave::Profiles::DataManagement_Current::ParserBase

ฟังก์ชันสาธารณะ

CheckSchemaValidity(void) const
CheckSchemaValidityCurrent(void) const
CheckSchemaValidityDeprecated(void) const
GetProfileIDAndStatusCode(uint32_t *apProfileID, uint16_t *aStatusCode) const
อ่าน ProfileID และ StatusCode จาก StatusElement
Init(const nl::Weave::TLV::TLVReader & aReader)

ฟังก์ชันสาธารณะ

CheckSchemaValidity

WEAVE_ERROR CheckSchemaValidity(
  void
) const 

CheckSchemaValidityCurrent

WEAVE_ERROR CheckSchemaValidityCurrent(
  void
) const 

CheckSchemaValidityDeprecated

WEAVE_ERROR CheckSchemaValidityDeprecated(
  void
) const 

GetProfileIDAndStatusCode

WEAVE_ERROR GetProfileIDAndStatusCode(
  uint32_t *apProfileID,
  uint16_t *aStatusCode
) const 

อ่าน ProfileID และ StatusCode จาก StatusElement

รายละเอียด
พารามิเตอร์
[out] apProfileID
ชี้ไปที่พื้นที่เก็บข้อมูลสำหรับ ProfileID
[out] apStatusCode
ชี้ไปที่พื้นที่เก็บข้อมูลสำหรับรหัสสถานะ
การส่งคืน
โค้ด WEAVE_ERROR ที่แสดงผลโดยออบเจ็กต์ Weave::TLV WEAVE_END_OF_TLV หากไม่มีองค์ประกอบใดองค์ประกอบหนึ่ง WEAVE_ERROR_WRONG_TLV_TYPE หากองค์ประกอบเป็นประเภทที่ไม่ถูกต้อง

เริ่มต้น

WEAVE_ERROR Init(
  const nl::Weave::TLV::TLVReader & aReader
)