Google is committed to advancing racial equity for Black communities.
See how.
nl:: بافت:: پروفایل ها:: DataManagement_Current:: CustomCommandResponse:: تجزیه کننده
#include <src/lib/profiles/data-management/Current/MessageDef.h>
تعریف تجزیه کننده پاسخ فرمان سفارشی WDM.
خلاصه
وراثت
ارث می برد
از: nl::Weave::Profiles::DataManagement_Current::DataElement::Parser توابع عمومی
CheckSchemaValidity
WEAVE_ERROR CheckSchemaValidity(
void
) const
تقریباً تأیید کنید که پیام به درستی شکل گرفته است.
جزئیات | ارزش های بازگشتی | WEAVE_NO_ERROR | در مورد موفقیت |
|
GetReaderOnResponse
WEAVE_ERROR GetReaderOnResponse(
nl::Weave::TLV::TLVReader *const apReader
) const
یک TLVReader را برای اشاره به ابتدای مؤلفه پاسخ در این پیام راه اندازی کنید.
جزئیات | مولفه های | [out] apReader | یک اشاره گر به TLVReader، که در عنصر پاسخ TLV در موفقیت راه اندازی می شود |
|
ارزش های بازگشتی | WEAVE_NO_ERROR | در مورد موفقیت |
|
GetVersion
WEAVE_ERROR GetVersion(
uint64_t *const apVersion
) const
نسخه نمونه صفت را در این پاسخ دریافت کنید.
جزئیات | مولفه های | [out] apVersion | اشاره گر به برخی از متغیرها برای دریافت نسخه در صورت موفقیت |
|
ارزش های بازگشتی | WEAVE_NO_ERROR | در مورد موفقیت | WEAVE_END_OF_TLV | اگر چنین عنصری وجود نداشته باشد | WEAVE_ERROR_WRONG_TLV_TYPE | اگر چنین عنصری وجود داشته باشد اما یک عدد صحیح بدون علامت نباشد |
|
شروع کنید
WEAVE_ERROR Init(
const nl::Weave::TLV::TLVReader & aReader
)
شی تجزیه کننده را با TLVReader مقداردهی کنید.
جزئیات | مولفه های | [in] aReader | اشاره گر به TLVReader که باید به ابتدای این پاسخ اشاره کند |
|
ارزش های بازگشتی | WEAVE_NO_ERROR | در مورد موفقیت |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Thread is a registered trademark of the Thread Group, Inc.
Last updated 2018-06-05 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"اطلاعاتی که نیاز دارم وجود ندارد"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"بیشازحد پیچیده/ مراحل بسیار زیاد"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"قدیمی"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"مشکل ترجمه"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشکل کد / نمونهها"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غیره"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"درک آسان"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"مشکلم را برطرف کرد"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غیره"
}]