nl:: بافت:: پروفایل ها:: DataManagement_Current:: ParserBase

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

کلاس پایه برای تجزیه کننده های پیام WDM.

خلاصه

وراثت

زیر کلاس های مستقیم شناخته شده:
  nl::Weave::Profiles::DataManagement_Current::BaseMessageWithSubscribeId::Parser
  nl::Weave::Profiles::DataManagement_Current::DataElement::Parser
  nl::Weave::Profiles::DataManagement_Current::ListParserBase
  nl::Weave::Profiles::DataManagement_Current::Path::Parser
  nl::Weave::Profiles::DataManagement_Current::RejectionRecord::Parser
  nl::Weave::Profiles::DataManagement_Current::StatusElement::Parser
  nl::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
)