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

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

Classe di base per i parser di messaggi WDM.

Riepilogo

Eredità

Subclasse note dirette:
  nl::Weave::Profiles::DataManagement_Current::BaseMessageWithSubscribeId::Parser
  nl::Weave::Profiles::DataManagement_Current::DataElement::Parser
Data nl::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

Attributi protetti

mReader

Funzioni pubbliche

GetReaderOnTag(const uint64_t aTagToFind, nl::Weave::TLV::TLVReader *const apReader) const
Inizializza un TLVReader in modo che rimandi all'inizio di qualsiasi elemento con tag in questa richiesta.

Funzioni protette

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)

Attributi protetti

mReader

nl::Weave::TLV::TLVReader mReader

Funzioni pubbliche

GetReaderOnTag

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

Inizializza un TLVReader in modo che rimandi all'inizio di qualsiasi elemento con tag in questa richiesta.

Dettagli
Parametri
[in] aTagToFind
Tag da trovare nella richiesta
[out] apReader
Un puntatore a TLVReader, che verrà inizializzato nell'elemento TLV specificato al termine dell'operazione
Valori restituiti
WEAVE_NO_ERROR
in caso di esito positivo

Funzioni protette

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
)