нл:: Переплетение:: Профили:: 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
)