Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qmetatypesjsonprocessor.cpp File Reference
#include "qmetatypesjsonprocessor_p.h"
#include "qanystringviewutils_p.h"
#include "qqmltyperegistrarconstants_p.h"
#include "qqmltypesclassdescription_p.h"
#include <QtCore/qcborarray.h>
#include <QtCore/qcbormap.h>
#include <QtCore/qfile.h>
#include <QtCore/qjsondocument.h>
#include <QtCore/qqueue.h>
+ Include dependency graph for qmetatypesjsonprocessor.cpp:

Go to the source code of this file.

Functions

static QCborValue fromJson (const QByteArray &json, QJsonParseError *error)
 
template<typename String >
static void sortStringList (QList< String > *list)
 
static size_t qHash (QAnyStringView string, size_t seed=0)
 

Function Documentation

◆ fromJson()

static QCborValue fromJson ( const QByteArray json,
QJsonParseError error 
)
static

Definition at line 24 of file qmetatypesjsonprocessor.cpp.

References QJsonDocument::array(), error, QJsonDocument::fromJson(), QCborValue::fromJsonValue(), QJsonDocument::isArray(), QJsonDocument::isObject(), and QJsonDocument::object().

Referenced by MetaTypesJsonProcessor::processForeignTypes(), and MetaTypesJsonProcessor::processTypes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qHash()

static size_t qHash ( QAnyStringView  string,
size_t  seed = 0 
)
static

Definition at line 228 of file qmetatypesjsonprocessor.cpp.

References qHash(), seed, and view.

Referenced by qHash().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sortStringList()

template<typename String >
static void sortStringList ( QList< String > *  list)
static

Definition at line 128 of file qmetatypesjsonprocessor.cpp.

References QList< T >::begin(), QList< T >::constEnd(), QList< T >::end(), QList< T >::erase(), and list.

Referenced by MetaTypesJsonProcessor::postProcessForeignTypes(), and MetaTypesJsonProcessor::postProcessTypes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: