Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QDBusDemarshaller Class Referencefinal

#include <qdbusargument_p.h>

Inheritance diagram for QDBusDemarshaller:
Collaboration diagram for QDBusDemarshaller:

Public Member Functions

 QDBusDemarshaller (QDBusConnection::ConnectionCapabilities flags={})
 ~QDBusDemarshaller ()
QString currentSignature ()
uchar toByte ()
bool toBool ()
ushort toUShort ()
short toShort ()
int toInt ()
uint toUInt ()
qlonglong toLongLong ()
qulonglong toULongLong ()
double toDouble ()
QString toString ()
QDBusObjectPath toObjectPath ()
QDBusSignature toSignature ()
QDBusUnixFileDescriptor toUnixFileDescriptor ()
QDBusVariant toVariant ()
QStringList toStringList ()
QByteArray toByteArray ()
QDBusDemarshallerbeginStructure ()
QDBusDemarshallerendStructure ()
QDBusDemarshallerbeginArray ()
QDBusDemarshallerendArray ()
QDBusDemarshallerbeginMap ()
QDBusDemarshallerendMap ()
QDBusDemarshallerbeginMapEntry ()
QDBusDemarshallerendMapEntry ()
QDBusDemarshallerbeginCommon ()
QDBusDemarshallerendCommon ()
QDBusArgument duplicate ()
void close ()
bool atEnd ()
QVariant toVariantInternal ()
QDBusArgument::ElementType currentType ()
bool isCurrentTypeStringLike ()
Public Member Functions inherited from QDBusArgumentPrivate
virtual ~QDBusArgumentPrivate ()
QDBusMarshallermarshaller ()
QDBusDemarshallerdemarshaller ()

Public Attributes

DBusMessageIter iterator
QDBusDemarshallerparent = nullptr
Public Attributes inherited from QDBusArgumentPrivate
DBusMessage * message = nullptr
QAtomicInt ref = 1
QDBusConnection::ConnectionCapabilities capabilities
Direction direction

Additional Inherited Members

Public Types inherited from QDBusArgumentPrivate
enum class  Direction { Marshalling , Demarshalling }
Static Public Member Functions inherited from QDBusArgumentPrivate
static bool checkRead (QDBusArgumentPrivate *d)
static bool checkReadAndDetach (QDBusArgumentPrivate *&d)
static bool checkWrite (QDBusArgumentPrivate *&d)
static QByteArray createSignature (QMetaType type)
static QDBusArgument create (QDBusArgumentPrivate *d)
static QDBusArgumentPrivated (QDBusArgument &q)
Protected Member Functions inherited from QDBusArgumentPrivate
 QDBusArgumentPrivate (Direction direction, QDBusConnection::ConnectionCapabilities flags={})

Detailed Description

Definition at line 132 of file qdbusargument_p.h.

Constructor & Destructor Documentation

◆ QDBusDemarshaller()

QDBusDemarshaller::QDBusDemarshaller ( QDBusConnection::ConnectionCapabilities flags = {})
inlineexplicit

Definition at line 135 of file qdbusargument_p.h.

◆ ~QDBusDemarshaller()

QDBusDemarshaller::~QDBusDemarshaller ( )

Definition at line 41 of file qdbusdemarshaller.cpp.

Member Function Documentation

◆ atEnd()

bool QDBusDemarshaller::atEnd ( )

Definition at line 327 of file qdbusdemarshaller.cpp.

Referenced by QDBusMarshaller::appendCrossMarshalling(), and QDBusMessagePrivate::fromDBusMessage().

Here is the caller graph for this function:

◆ beginArray()

QDBusDemarshaller * QDBusDemarshaller::beginArray ( )
inline

Definition at line 338 of file qdbusdemarshaller.cpp.

References beginCommon().

Here is the call graph for this function:

◆ beginCommon()

QDBusDemarshaller * QDBusDemarshaller::beginCommon ( )

Definition at line 353 of file qdbusdemarshaller.cpp.

References currentType(), and parent.

Referenced by QDBusMarshaller::appendCrossMarshalling(), beginArray(), beginMap(), beginMapEntry(), and beginStructure().

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

◆ beginMap()

QDBusDemarshaller * QDBusDemarshaller::beginMap ( )
inline

Definition at line 343 of file qdbusdemarshaller.cpp.

References beginCommon().

Here is the call graph for this function:

◆ beginMapEntry()

QDBusDemarshaller * QDBusDemarshaller::beginMapEntry ( )
inline

Definition at line 348 of file qdbusdemarshaller.cpp.

References beginCommon().

Here is the call graph for this function:

◆ beginStructure()

QDBusDemarshaller * QDBusDemarshaller::beginStructure ( )
inline

Definition at line 333 of file qdbusdemarshaller.cpp.

References beginCommon().

Here is the call graph for this function:

◆ close()

void QDBusDemarshaller::close ( )
inline

Definition at line 171 of file qdbusargument_p.h.

◆ currentSignature()

QString QDBusDemarshaller::currentSignature ( )
inline

Definition at line 45 of file qdbusdemarshaller.cpp.

◆ currentType()

QDBusArgument::ElementType QDBusDemarshaller::currentType ( )

Definition at line 155 of file qdbusdemarshaller.cpp.

Referenced by QDBusMarshaller::appendCrossMarshalling(), QDBusMarshaller::appendVariantInternal(), beginCommon(), QDBusArgumentPrivate::checkReadAndDetach(), QDBusArgumentPrivate::demarshaller(), endCommon(), QDBusMessagePrivate::fromDBusMessage(), and toVariant().

Here is the caller graph for this function:

◆ duplicate()

QDBusArgument QDBusDemarshaller::duplicate ( )

Definition at line 392 of file qdbusdemarshaller.cpp.

◆ endArray()

QDBusDemarshaller * QDBusDemarshaller::endArray ( )
inline

Definition at line 370 of file qdbusdemarshaller.cpp.

References endCommon().

Here is the call graph for this function:

◆ endCommon()

QDBusDemarshaller * QDBusDemarshaller::endCommon ( )

Definition at line 385 of file qdbusdemarshaller.cpp.

References currentType(), and parent.

Referenced by endArray(), endMap(), endMapEntry(), and endStructure().

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

◆ endMap()

QDBusDemarshaller * QDBusDemarshaller::endMap ( )
inline

Definition at line 375 of file qdbusdemarshaller.cpp.

References endCommon().

Here is the call graph for this function:

◆ endMapEntry()

QDBusDemarshaller * QDBusDemarshaller::endMapEntry ( )
inline

Definition at line 380 of file qdbusdemarshaller.cpp.

References endCommon().

Here is the call graph for this function:

◆ endStructure()

QDBusDemarshaller * QDBusDemarshaller::endStructure ( )
inline

Definition at line 365 of file qdbusdemarshaller.cpp.

References endCommon().

Here is the call graph for this function:

◆ isCurrentTypeStringLike()

bool QDBusDemarshaller::isCurrentTypeStringLike ( )

Definition at line 272 of file qdbusdemarshaller.cpp.

Referenced by toObjectPath(), toSignature(), and toString().

Here is the caller graph for this function:

◆ toBool()

bool QDBusDemarshaller::toBool ( )
inline

Definition at line 59 of file qdbusdemarshaller.cpp.

Referenced by toVariantInternal().

Here is the caller graph for this function:

◆ toByte()

uchar QDBusDemarshaller::toByte ( )
inline

Definition at line 54 of file qdbusdemarshaller.cpp.

◆ toByteArray()

QByteArray QDBusDemarshaller::toByteArray ( )

Definition at line 318 of file qdbusdemarshaller.cpp.

◆ toDouble()

double QDBusDemarshaller::toDouble ( )
inline

Definition at line 94 of file qdbusdemarshaller.cpp.

Referenced by toVariantInternal().

Here is the caller graph for this function:

◆ toInt()

int QDBusDemarshaller::toInt ( )
inline

Definition at line 74 of file qdbusdemarshaller.cpp.

Referenced by toVariantInternal().

Here is the caller graph for this function:

◆ toLongLong()

qlonglong QDBusDemarshaller::toLongLong ( )
inline

Definition at line 84 of file qdbusdemarshaller.cpp.

◆ toObjectPath()

QDBusObjectPath QDBusDemarshaller::toObjectPath ( )
inline

Definition at line 117 of file qdbusdemarshaller.cpp.

References isCurrentTypeStringLike().

Here is the call graph for this function:

◆ toShort()

short QDBusDemarshaller::toShort ( )
inline

Definition at line 69 of file qdbusdemarshaller.cpp.

◆ toSignature()

QDBusSignature QDBusDemarshaller::toSignature ( )
inline

Definition at line 130 of file qdbusdemarshaller.cpp.

References isCurrentTypeStringLike().

Here is the call graph for this function:

◆ toString()

QString QDBusDemarshaller::toString ( )
inline

Definition at line 104 of file qdbusdemarshaller.cpp.

References isCurrentTypeStringLike().

Here is the call graph for this function:

◆ toStringList()

QStringList QDBusDemarshaller::toStringList ( )

Definition at line 298 of file qdbusdemarshaller.cpp.

◆ toUInt()

uint QDBusDemarshaller::toUInt ( )
inline

Definition at line 79 of file qdbusdemarshaller.cpp.

◆ toULongLong()

qulonglong QDBusDemarshaller::toULongLong ( )
inline

Definition at line 89 of file qdbusdemarshaller.cpp.

◆ toUnixFileDescriptor()

QDBusUnixFileDescriptor QDBusDemarshaller::toUnixFileDescriptor ( )
inline

Definition at line 138 of file qdbusdemarshaller.cpp.

◆ toUShort()

ushort QDBusDemarshaller::toUShort ( )
inline

Definition at line 64 of file qdbusdemarshaller.cpp.

◆ toVariant()

QDBusVariant QDBusDemarshaller::toVariant ( )
inline

Definition at line 145 of file qdbusdemarshaller.cpp.

References currentType().

Here is the call graph for this function:

◆ toVariantInternal()

QVariant QDBusDemarshaller::toVariantInternal ( )

Definition at line 207 of file qdbusdemarshaller.cpp.

References toBool(), toDouble(), and toInt().

Here is the call graph for this function:

Member Data Documentation

◆ iterator

DBusMessageIter QDBusDemarshaller::iterator

Definition at line 179 of file qdbusargument_p.h.

◆ parent

QDBusDemarshaller* QDBusDemarshaller::parent = nullptr

Definition at line 180 of file qdbusargument_p.h.

Referenced by beginCommon(), and endCommon().


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