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

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

Class dasar untuk parser pesan WDM.

Ringkasan

Inheritance

:






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

Atribut yang dilindungi

mReader

Fungsi publik

GetReaderOnTag(const uint64_t aTagToFind, nl::Weave::TLV::TLVReader *const apReader) const
Lakukan inisialisasi TLVReader agar mengarah ke awal elemen apa pun yang diberi tag dalam permintaan ini.

Fungsi yang dilindungi

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)

Atribut yang dilindungi

mReader

nl::Weave::TLV::TLVReader mReader

Fungsi publik

GetReaderOnTag

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

Lakukan inisialisasi TLVReader agar mengarah ke awal elemen apa pun yang diberi tag dalam permintaan ini.

Detail
Parameter
[in] aTagToFind
Tag untuk ditemukan dalam permintaan
[out] apReader
Pointer ke TLVReader, yang akan diinisialisasi pada elemen TLV yang ditentukan saat berhasil
Nilai Pengembalian
WEAVE_NO_ERROR
saat berhasil

Fungsi yang dilindungi

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
)