QCborStreamReader::StringResult Struct
template <typename Container> struct QCborStreamReader::StringResultVariabili pubbliche
Descrizione dettagliata
StringResult<Container> è una classe template in cui Container specifica il tipo utilizzato per contenere i dati stringa (come QString o QByteArray).
Questa classe viene restituita da readString() e readByteArray(), con il contenuto della stringa letta oppure un'indicazione che l'analisi è terminata o che è stato rilevato un errore.
Il contenuto di ` data ` è valido solo se ` status ` è ` Ok`. In caso contrario, dovrebbe essere `null`.
Documentazione sulle variabili membro
Container StringResult::data
Contiene i dati effettivi della stringa se ` status ` è ` Ok`.
QCborStreamReader::StringResultCode StringResult::status
Contiene lo stato del tentativo di lettura della stringa dal flusso.
© 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.