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

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

WDM メッセージ パーサーの基本クラス。

概要

継承

Direct Known Subclasses:
  nl::Weave::Profiles::DataManagement_Current::BaseMessageWithSubscribeId::Parser
  nl::Weave::Profiles::DataManagement_Current::DataElement::Parser
  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

プロテクト属性

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
)