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>.
Loading...
Searching...
No Matches
QJsonPrivate::Value Class Reference

#include <qjson_p.h>

+ Collaboration diagram for QJsonPrivate::Value:

Static Public Member Functions

static qint64 valueHelper (const QCborValue &v)
 
static QCborContainerPrivatecontainer (const QCborValue &v)
 
static const QCborContainerPrivatecontainer (QJsonValueConstRef r) noexcept
 
static QCborContainerPrivatecontainer (QJsonValueRef r) noexcept
 
static qsizetype indexHelper (QJsonValueConstRef r) noexcept
 
static const QtCbor::ElementelementHelper (QJsonValueConstRef r) noexcept
 
static QJsonValue fromTrustedCbor (const QCborValue &v)
 

Detailed Description

Definition at line 171 of file qjson_p.h.

Member Function Documentation

◆ container() [1/3]

static QCborContainerPrivate * QJsonPrivate::Value::container ( const QCborValue & v)
inlinestatic

Definition at line 175 of file qjson_p.h.

Referenced by QJsonDocument::array(), assignToRef(), QJsonValueConstRef::concrete(), QJsonValueConstRef::concreteString(), QJsonDocument::object(), QJsonValueConstRef::objectKey(), QJsonValue::toArray(), QJsonDocument::toJson(), QJsonValue::toObject(), QAnyStringViewUtils::toStringView(), QJsonDocument::toVariant(), and valueToJson().

+ Here is the caller graph for this function:

◆ container() [2/3]

static const QCborContainerPrivate * QJsonPrivate::Value::container ( QJsonValueConstRef r)
inlinestaticnoexcept

Definition at line 176 of file qjson_p.h.

◆ container() [3/3]

static QCborContainerPrivate * QJsonPrivate::Value::container ( QJsonValueRef r)
inlinestaticnoexcept

Definition at line 184 of file qjson_p.h.

◆ elementHelper()

static const QtCbor::Element & QJsonPrivate::Value::elementHelper ( QJsonValueConstRef r)
inlinestaticnoexcept

Definition at line 195 of file qjson_p.h.

Referenced by QJsonValueConstRef::concreteBool(), QJsonValueConstRef::concreteDouble(), QJsonValueConstRef::concreteInt(), and QJsonValueConstRef::concreteType().

+ Here is the caller graph for this function:

◆ fromTrustedCbor()

static QJsonValue QJsonPrivate::Value::fromTrustedCbor ( const QCborValue & v)
inlinestatic

Definition at line 200 of file qjson_p.h.

Referenced by QJsonArray::at(), QJsonValueConstRef::concrete(), QJsonDocument::operator[](), QJsonDocument::operator[](), QJsonDocument::operator[](), qt_convertToJson(), QJsonArray::takeAt(), and QCborValue::toJsonValue().

+ Here is the caller graph for this function:

◆ indexHelper()

static qsizetype QJsonPrivate::Value::indexHelper ( QJsonValueConstRef r)
inlinestaticnoexcept

Definition at line 188 of file qjson_p.h.

Referenced by assignToRef(), QJsonValueConstRef::concrete(), QJsonValueConstRef::concreteString(), and QJsonValueConstRef::objectKey().

+ Here is the caller graph for this function:

◆ valueHelper()

static qint64 QJsonPrivate::Value::valueHelper ( const QCborValue & v)
inlinestatic

Definition at line 174 of file qjson_p.h.

Referenced by QJsonValue::toArray(), QJsonValue::toObject(), and QAnyStringViewUtils::toStringView().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: