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

Detailed Description

The https:// is used by QCborValue to report a parsing error.

This struct was introduced in Qt 5.12.

All functions in this struct are https://.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

▲

  • Header: QCborParserError

  • Since: Qt 5.12

  • qmake: QT += core

  • Group: QCborParserError is part of cbor

Detailed Description▲

This class is used by QCborValue::fromCbor(const QByteArray &ba, QCborParserError *error) to report a parser error and the byte offset where the error was detected.

See Also▲

See also QCborValue, QCborError

Member Function Documentation▲

 

QString QCborParserError::errorString() const▲

Returns a string representation of the error code. This string is not translated.

See Also▲

See also QCborError::toString(), QCborValue::fromCbor()

Member Variable Documentation▲

 

int QCborParserError::error▲

This field contains the error code that indicates what decoding problem was found.

See Also▲

See also QCborValue::fromCbor()

qint64 QCborParserError::offset▲

This field contains the offset from the beginning of the data where the error was detected. The offset should point to the beginning of the item that contained the error, even if the error itself was elsewhere (for example, for UTF-8 decoding issues).

See Also▲

See also QCborValue::fromCbor()

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

Ce document est disponible sous la licence https:// telle que publiée par la Free Software Foundation.