IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Detailed Description

Qt Core Reference Documentation.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

  • Header: StringResult

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Core)

    target_link_libraries(mytarget PRIVATE Qt6::Core)

  • qmake: QT += core

Detailed Description

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

The contents of data are valid only if status is Ok. Otherwise, it should be null.

Member Variable Documentation

 

Container 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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+