StringResult Class

( QCborStreamReader::StringResult )
頭: #include <StringResult>
qmake: QT += core

公共變量

容器 data
QCborStreamReader::StringResultCode status

詳細描述

This class is returned by readString () 和 readByteArray (), with either the contents of the string that was read or an indication that the parsing is done or found an error.

內容對於 data are valid only if status is Ok . Otherwise, it should be null.

成員變量文檔編製

容器 StringResult:: data

Contains the actual data from the string if status is Ok .

QCborStreamReader::StringResultCode StringResult:: status

Contains the status of the attempt of reading the string from the stream.