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 "qmetatypesjsonprocessor_p.h"
#include "qanystringviewutils_p.h"
#include "qqmltyperegistrarconstants_p.h"
#include "qqmltyperegistrarutils_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>
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) |
static bool | qualifiedClassNameLessThan (const MetaType &a, const MetaType &b) |
static QTypeRevision | getRevision (const QCborMap &cbor) |
static Access | getAccess (const QCborMap &cbor) |
Variables | |
std::vector< std::unique_ptr< MetaTypePrivate > > | s_pool |
|
static |
Definition at line 31 of file qmetatypesjsonprocessor.cpp.
References error, QJsonDocument::fromJson(), QCborValue::fromJsonValue(), and QCborValue().
Referenced by MetaTypesJsonProcessor::processForeignTypes(), and MetaTypesJsonProcessor::processTypes().
Definition at line 705 of file qmetatypesjsonprocessor.cpp.
References Private, Protected, Public, Constants::MetatypesDotJson::S_ACCESS, Constants::MetatypesDotJson::S_PROTECTED, Constants::MetatypesDotJson::S_PUBLIC, and QAnyStringViewUtils::toStringView().
|
static |
Definition at line 697 of file qmetatypesjsonprocessor.cpp.
References QCborMap::end(), QCborMap::find(), QTypeRevision::fromEncodedVersion(), it, and Constants::MetatypesDotJson::S_REVISION.
|
static |
Definition at line 295 of file qmetatypesjsonprocessor.cpp.
Definition at line 139 of file qmetatypesjsonprocessor.cpp.
References QList< T >::begin(), QList< T >::constEnd(), QList< T >::end(), QList< T >::erase(), and list.
Referenced by MetaTypesJsonProcessor::postProcessForeignTypes().
std::vector<std::unique_ptr<MetaTypePrivate> > s_pool |
Definition at line 29 of file qmetatypesjsonprocessor.cpp.