nl::Weave::Profiles::DataManagement_Current::ParserBase

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

คลาสพื้นฐานสำหรับโปรแกรมแยกวิเคราะห์ข้อความ WDM

สรุป

การสืบทอด








nl::Weave::Profiles::DataManagement_Current::BaseMessageWithSubscribeId::Parsernl::Weave::Profiles::DataManagement_Current::DataElement::Parsernl::Weave::Profiles::DataManagement_Current::ListParserBasenl::Weave::Profiles::DataManagement_Current::Path::Parsernl::Weave::Profiles::DataManagement_Current::RejectionRecord::Parsernl::Weave::Profiles::DataManagement_Current::StatusElement::Parsernl::Weave::Profiles::DataManagement_Current::UpdateResponse::Parser

แอตทริบิวต์ที่ได้รับการปกป้อง

mReader

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

GetReaderOnTag(const uint64_t aTagToFind, nl::Weave::TLV::TLVReader *const apReader) const
เริ่มต้น TLVReader เพื่อชี้ไปยังจุดเริ่มต้นขององค์ประกอบที่ติดแท็กในคำขอนี้

ฟังก์ชันที่มีการป้องกัน

GetSimpleValue(const uint8_t aContextTag, const nl::Weave::TLV::TLVType aTLVType, T *const apLValue) const
GetUnsignedInteger(const uint8_t aContextTag, T *const apLValue) const
ParserBase(void)

แอตทริบิวต์ที่ได้รับการปกป้อง

mReader

nl::Weave::TLV::TLVReader mReader

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

GetReaderOnTag

WEAVE_ERROR GetReaderOnTag(
  const uint64_t aTagToFind,
  nl::Weave::TLV::TLVReader *const apReader
) const 

เริ่มต้น TLVReader เพื่อชี้ไปยังจุดเริ่มต้นขององค์ประกอบที่ติดแท็กในคำขอนี้

รายละเอียด
พารามิเตอร์
[in] aTagToFind
แท็กเพื่อค้นหาในคำขอ
[out] apReader
ตัวชี้ไปยัง TLVReader ซึ่งจะเริ่มต้นในองค์ประกอบ TLV ที่ระบุเมื่อสำเร็จ
แสดงผลค่า
WEAVE_NO_ERROR
ความสำเร็จ

ฟังก์ชันที่มีการป้องกัน

GetSimpleValue

WEAVE_ERROR GetSimpleValue(
  const uint8_t aContextTag,
  const nl::Weave::TLV::TLVType aTLVType,
  T *const apLValue
) const 

GetUnsignedInteger

WEAVE_ERROR GetUnsignedInteger(
  const uint8_t aContextTag,
  T *const apLValue
) const 

ParserBase

 ParserBase(
  void
)