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
QPluginParsedMetaData Class Reference

#include <qfactoryloader_p.h>

+ Collaboration diagram for QPluginParsedMetaData:

Public Member Functions

 QPluginParsedMetaData ()=default
 
 QPluginParsedMetaData (QByteArrayView input)
 
bool isError () const
 
QString errorString () const
 
bool parse (QByteArrayView input)
 
bool parse (QPluginMetaData metaData)
 
QJsonObject toJson () const
 
QCborMap toCbor () const
 
QCborValue value (QtPluginMetaDataKeys k) const
 

Detailed Description

Definition at line 34 of file qfactoryloader_p.h.

Constructor & Destructor Documentation

◆ QPluginParsedMetaData() [1/2]

QPluginParsedMetaData::QPluginParsedMetaData ( )
default

◆ QPluginParsedMetaData() [2/2]

QPluginParsedMetaData::QPluginParsedMetaData ( QByteArrayView input)
inline

Definition at line 44 of file qfactoryloader_p.h.

References parse().

+ Here is the call graph for this function:

Member Function Documentation

◆ errorString()

QString QPluginParsedMetaData::errorString ( ) const
inline

Definition at line 47 of file qfactoryloader_p.h.

Referenced by findPatternUnloaded().

+ Here is the caller graph for this function:

◆ isError()

bool QPluginParsedMetaData::isError ( ) const
inline

Definition at line 46 of file qfactoryloader_p.h.

Referenced by QFactoryLoader::metaData(), and QStaticPlugin::metaData().

+ Here is the caller graph for this function:

◆ parse() [1/2]

bool QPluginParsedMetaData::parse ( QByteArrayView input)

Definition at line 184 of file qfactoryloader.cpp.

References arg, QString::fromUtf8(), header(), IsDebug, item, iterateInPluginMetaData(), map, QT_VERSION_CHECK, QtVersion, and Requirements.

Referenced by QPluginParsedMetaData(), findPatternUnloaded(), and parse().

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

◆ parse() [2/2]

bool QPluginParsedMetaData::parse ( QPluginMetaData metaData)
inline

Definition at line 50 of file qfactoryloader_p.h.

References QPluginMetaData::data, parse(), and QPluginMetaData::size.

+ Here is the call graph for this function:

◆ toCbor()

QCborMap QPluginParsedMetaData::toCbor ( ) const
inline

Definition at line 56 of file qfactoryloader_p.h.

◆ toJson()

QJsonObject QPluginParsedMetaData::toJson ( ) const

Definition at line 230 of file qfactoryloader.cpp.

References CONVERT_TO_STRING, it, o, and QT_PLUGIN_FOREACH_METADATA.

Referenced by findPatternUnloaded(), and QStaticPlugin::metaData().

+ Here is the caller graph for this function:

◆ value()

QCborValue QPluginParsedMetaData::value ( QtPluginMetaDataKeys k) const
inline

Definition at line 57 of file qfactoryloader_p.h.

Referenced by QFactoryLoader::metaData(), and QLibraryPrivate::updatePluginState().

+ Here is the caller graph for this function:

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