QCborStreamReader::StringResult Struct

template <typename Container> struct QCborStreamReader::StringResult

公共变量

Container data
QCborStreamReader::StringResultCode status

详细说明

该类由readString() 和readByteArray() 返回,要么是读取的字符串内容,要么是解析完成或发现错误的提示。

data 的内容只有在statusOk 时才有效。否则,其内容应为空。

成员变量文档

Container StringResult::data

如果statusOk ,则包含字符串中的实际数据。

QCborStreamReader::StringResultCode StringResult::status

包含尝试从数据流中读取字符串的状态。

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.