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

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

Lớp cơ sở cho trình phân tích cú pháp thông báo WDM.

Tóm tắt

Tính kế thừa

1.






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

Thuộc tính được bảo vệ

mReader

Hàm công khai

GetReaderOnTag(const uint64_t aTagToFind, nl::Weave::TLV::TLVReader *const apReader) const
Khởi chạy TLVReader để trỏ đến đầu của bất kỳ phần tử nào được gắn thẻ trong yêu cầu này.

Hàm được bảo vệ

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)

Thuộc tính được bảo vệ

mReader

nl::Weave::TLV::TLVReader mReader

Hàm công khai

GetReaderOnTag

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

Khởi chạy TLVReader để trỏ đến đầu của bất kỳ phần tử nào được gắn thẻ trong yêu cầu này.

Thông tin chi tiết
Các tham số
[in] aTagToFind
Gắn thẻ để tìm trong yêu cầu
[out] apReader
Con trỏ tới TLVReader sẽ được khởi chạy tại phần tử TLV được chỉ định khi thành công
Giá trị trả về
WEAVE_NO_ERROR
khi thành công

Hàm được bảo vệ

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
)