nl:: Weave:: TLV:: 调试
此命名空间包含用于调试和记录 Weave TLV 的类型和接口。
摘要
类型定义符 |
|
---|---|
DumpWriter)(const char *aFormat,...)
|
typedefvoid(*
|
函数 |
|
---|---|
DecodeTagControl(const TLVTagControl aTagControl)
|
const char *
使用描述性字符串解码 TLV 标记控件。
|
DecodeType(const TLVType aType)
|
const char *
使用描述性字符串解码 TLV 类型。
|
Dump(const TLVReader & aReader, DumpWriter aWriter)
|
以指定的人类可读形式转储指定读取器中的 TLV 数据。
|
DumpHandler(DumpWriter aWriter, const char *aIndent, const TLVReader & aReader, size_t aDepth)
|
void
使用 aWriter 转储 aReader 引用的 TLV 元素。
|
DumpHandler(const TLVReader & aReader, size_t aDepth, void *aContext)
|
以直观易懂的格式在指定的读取器中记录 TLV 数据。
|
DumpIterator(DumpWriter aWriter, const TLVReader & aReader)
|
以直观易懂的格式将指定读取器内的 TLV 数据记录到指定的写入者。
|
结构体 |
|
---|---|
nl:: |
类型定义符
转储工具
void(* DumpWriter)(const char *aFormat,...)
函数
解码代码控制
const char * DecodeTagControl( const TLVTagControl aTagControl )
解码类型
const char * DecodeType( const TLVType aType )
转储
WEAVE_ERROR Dump( const TLVReader & aReader, DumpWriter aWriter )
转储处理程序
void DumpHandler( DumpWriter aWriter, const char *aIndent, const TLVReader & aReader, size_t aDepth )
转储处理程序
WEAVE_ERROR DumpHandler( const TLVReader & aReader, size_t aDepth, void *aContext )