Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qcborvalue.h>
Public Member Functions | |
QCborValueConstRef (const QCborValueConstRef &)=default | |
QCborValueConstRef & | operator= (const QCborValueConstRef &)=delete |
operator QCborValue () const | |
QCborValue::Type | type () const |
bool | isInteger () const |
bool | isByteArray () const |
bool | isString () const |
bool | isArray () const |
bool | isMap () const |
bool | isTag () const |
bool | isFalse () const |
bool | isTrue () const |
bool | isBool () const |
bool | isNull () const |
bool | isUndefined () const |
bool | isDouble () const |
bool | isDateTime () const |
bool | isUrl () const |
bool | isRegularExpression () const |
bool | isUuid () const |
bool | isInvalid () const |
bool | isContainer () const |
bool | isSimpleType () const |
bool | isSimpleType (QCborSimpleType st) const |
QCborSimpleType | toSimpleType (QCborSimpleType defaultValue=QCborSimpleType::Undefined) const |
QCborTag | tag (QCborTag defaultValue=QCborTag(-1)) const |
QCborValue | taggedValue (const QCborValue &defaultValue=QCborValue()) const |
qint64 | toInteger (qint64 defaultValue=0) const |
bool | toBool (bool defaultValue=false) const |
double | toDouble (double defaultValue=0) const |
QByteArray | toByteArray (const QByteArray &defaultValue={}) const |
QString | toString (const QString &defaultValue={}) const |
QDateTime | toDateTime (const QDateTime &defaultValue={}) const |
QUrl | toUrl (const QUrl &defaultValue={}) const |
QUuid | toUuid (const QUuid &defaultValue={}) const |
QCborArray | toArray () const |
QCborArray | toArray (const QCborArray &a) const |
QCborMap | toMap () const |
QCborMap | toMap (const QCborMap &m) const |
Q_CORE_EXPORT const QCborValue | operator[] (const QString &key) const |
Q_CORE_EXPORT const QCborValue | operator[] (QLatin1StringView key) const |
Q_CORE_EXPORT const QCborValue | operator[] (qint64 key) const |
int | compare (const QCborValue &other) const |
QVariant | toVariant () const |
QJsonValue | toJsonValue () const |
QString | toDiagnosticNotation (QCborValue::DiagnosticNotationOptions opt=QCborValue::Compact) const |
Protected Member Functions | |
QCborValue | concrete () const noexcept |
constexpr | QCborValueConstRef () |
constexpr | QCborValueConstRef (QCborContainerPrivate *dd, qsizetype ii) |
Protected Attributes | |
QCborContainerPrivate * | d |
qsizetype | i |
Friends | |
class | QCborValue |
class | QCborArray |
class | QCborMap |
class | QCborContainerPrivate |
bool | comparesEqual (const QCborValueConstRef &lhs, const QCborValueConstRef &rhs) noexcept |
Qt::strong_ordering | compareThreeWay (const QCborValueConstRef &lhs, const QCborValueConstRef &rhs) noexcept |
bool | comparesEqual (const QCborValueConstRef &lhs, const QCborValue &rhs) noexcept |
Qt::strong_ordering | compareThreeWay (const QCborValueConstRef &lhs, const QCborValue &rhs) noexcept |
Definition at line 299 of file qcborvalue.h.
|
default |
|
inlineconstexprprotected |
Definition at line 440 of file qcborvalue.h.
|
inlineconstexprprotected |
Definition at line 441 of file qcborvalue.h.
|
inline |
Definition at line 372 of file qcborvalue.h.
References other().
|
staticprotectednoexcept |
Definition at line 2908 of file qcborvalue.cpp.
References compareElementRecursive(), QtCbor::Element::container, and QCborContainerPrivate::elementFromValue().
|
staticprotectednoexcept |
Definition at line 2891 of file qcborvalue.cpp.
References compareElementRecursive().
|
staticprotectednoexcept |
Definition at line 2916 of file qcborvalue.cpp.
References compareElementRecursive(), Qt::compareThreeWay(), QtCbor::Element::container, and QCborContainerPrivate::elementFromValue().
|
staticprotectednoexcept |
Definition at line 2899 of file qcborvalue.cpp.
References compareElementRecursive(), and Qt::compareThreeWay().
|
inlineprotectednoexcept |
Definition at line 394 of file qcborvalue.h.
References concrete().
Referenced by concrete(), toArray(), toArray(), toMap(), and toMap().
|
staticprotectednoexcept |
Definition at line 2960 of file qcborvalue.cpp.
|
staticprotectednoexcept |
Definition at line 2844 of file qcborvalue.cpp.
References QCborValue::False, QCborValue::True, and QtCbor::Element::type.
|
staticprotected |
Definition at line 2873 of file qcborvalue.cpp.
References QCborValue::ByteArray, and QtCbor::Element::type.
|
staticprotectednoexcept |
Definition at line 2852 of file qcborvalue.cpp.
References QCborValue::Double, QtCbor::Element::fpvalue(), QCborValue::Integer, QtCbor::Element::type, and QtCbor::Element::value.
|
staticprotectednoexcept |
Definition at line 2862 of file qcborvalue.cpp.
References QCborValue::Double, QtCbor::Element::fpvalue(), QCborValue::Integer, QtCbor::Element::type, and QtCbor::Element::value.
|
staticprotected |
Definition at line 2882 of file qcborvalue.cpp.
References QCborValue::String, and QtCbor::Element::type.
|
staticprotectednoexcept |
Definition at line 2965 of file qcborvalue.cpp.
|
inline |
Definition at line 310 of file qcborvalue.h.
References QCborValue::Array.
|
inline |
Definition at line 315 of file qcborvalue.h.
|
inline |
Definition at line 308 of file qcborvalue.h.
References QCborValue::ByteArray.
|
inline |
Definition at line 324 of file qcborvalue.h.
|
inline |
Definition at line 319 of file qcborvalue.h.
References QCborValue::DateTime.
|
inline |
Definition at line 318 of file qcborvalue.h.
References QCborValue::Double.
|
inline |
Definition at line 313 of file qcborvalue.h.
References QCborValue::False.
|
inline |
Definition at line 307 of file qcborvalue.h.
References QCborValue::Integer.
|
inline |
Definition at line 323 of file qcborvalue.h.
References QCborValue::Invalid.
|
inline |
Definition at line 311 of file qcborvalue.h.
References QCborValue::Map.
|
inline |
Definition at line 316 of file qcborvalue.h.
References QCborValue::Null.
|
inline |
Definition at line 321 of file qcborvalue.h.
References QCborValue::RegularExpression.
|
inline |
Definition at line 325 of file qcborvalue.h.
|
inline |
Definition at line 326 of file qcborvalue.h.
|
inline |
Definition at line 309 of file qcborvalue.h.
References QCborValue::String.
|
inline |
Definition at line 312 of file qcborvalue.h.
|
inline |
Definition at line 314 of file qcborvalue.h.
References QCborValue::True.
|
inline |
Definition at line 317 of file qcborvalue.h.
References QCborValue::Undefined.
|
inline |
Definition at line 320 of file qcborvalue.h.
References QCborValue::Url.
|
inline |
Definition at line 322 of file qcborvalue.h.
References QCborValue::Uuid.
|
inline |
Definition at line 304 of file qcborvalue.h.
|
delete |
const QCborValue QCborValueConstRef::operator[] | ( | const QString & | key | ) | const |
Definition at line 2970 of file qcborvalue.cpp.
References d, i, item, and QCborContainerPrivate::valueAt().
const QCborValue QCborValueConstRef::operator[] | ( | qint64 | key | ) | const |
Definition at line 2982 of file qcborvalue.cpp.
References d, i, item, and QCborContainerPrivate::valueAt().
const QCborValue QCborValueConstRef::operator[] | ( | QLatin1StringView | key | ) | const |
Definition at line 2976 of file qcborvalue.cpp.
References d, i, item, and QCborContainerPrivate::valueAt().
Definition at line 333 of file qcborvalue.h.
|
inline |
Definition at line 335 of file qcborvalue.h.
References QCborValue::taggedValue().
|
inline |
Definition at line 376 of file qcborarray.h.
References concrete(), and QCborValue::toArray().
|
inline |
Definition at line 381 of file qcborarray.h.
References concrete(), and QCborValue::toArray().
|
inline |
Definition at line 340 of file qcborvalue.h.
|
inline |
Definition at line 345 of file qcborvalue.h.
Definition at line 349 of file qcborvalue.h.
|
inline |
Definition at line 385 of file qcborvalue.h.
References opt.
|
inline |
Definition at line 342 of file qcborvalue.h.
Definition at line 338 of file qcborvalue.h.
|
inline |
|
inline |
Definition at line 447 of file qcbormap.h.
References concrete(), and QCborValue::toMap().
Definition at line 452 of file qcbormap.h.
References concrete(), and QCborValue::toMap().
|
inline |
Definition at line 328 of file qcborvalue.h.
Definition at line 347 of file qcborvalue.h.
Definition at line 352 of file qcborvalue.h.
Definition at line 358 of file qcborvalue.h.
|
inline |
Definition at line 375 of file qcborvalue.h.
|
inline |
Definition at line 306 of file qcborvalue.h.
|
friend |
Definition at line 415 of file qcborvalue.h.
|
friend |
Definition at line 399 of file qcborvalue.h.
|
friend |
Definition at line 420 of file qcborvalue.h.
|
friend |
Definition at line 404 of file qcborvalue.h.
|
friend |
Definition at line 390 of file qcborvalue.h.
|
friend |
Definition at line 392 of file qcborvalue.h.
|
friend |
Definition at line 391 of file qcborvalue.h.
|
friend |
Definition at line 389 of file qcborvalue.h.
|
protected |
Definition at line 444 of file qcborvalue.h.
Referenced by operator[](), operator[](), and operator[]().
|
protected |
Definition at line 445 of file qcborvalue.h.
Referenced by QCborArray::insert(), operator[](), operator[](), and operator[]().