QCborStreamReader::StringResult Struct
template <typename Container> struct QCborStreamReader::StringResult公共变量
详细说明
StringResult<Container> 是一个模板类,其中Container 指定了用于存储字符串数据的类型(例如QString 或QByteArray )。
该类由readString() 和readByteArray() 返回,其中包含读取的字符串内容,或表示解析已完成或发现错误。
成员变量文档
Container StringResult::data
如果status 的值为Ok ,则包含字符串中的实际数据。
QCborStreamReader::StringResultCode StringResult::status
包含从流中读取字符串的尝试状态。
© 2026 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.