StringResult Struct

template <typename Container> struct QCborStreamReader::StringResult

パブリック変数

Container data
QCborStreamReader::StringResultCode status

詳細な説明

このクラスは、readString() とreadByteArray() によって返され、読み込まれた文字列の内容か、解析が完了したか、エラーが見つかったかを示す。

data の内容は、statusOk の場合のみ有効である。そうでない場合はnullでなければならない。

メンバ変数ドキュメント

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.