|  | Qt 6.x
    The Qt SDK | 
#include <qdbusargument_p.h>
 Inheritance diagram for QDBusMarshaller:
 Inheritance diagram for QDBusMarshaller: Collaboration diagram for QDBusMarshaller:
 Collaboration diagram for QDBusMarshaller:| Public Attributes | |
| DBusMessageIter | iterator | 
| QDBusMarshaller * | parent | 
| QByteArray * | ba | 
| QString | errorString | 
| char | closeCode | 
| bool | ok | 
| bool | skipSignature | 
|  Public Attributes inherited from QDBusArgumentPrivate | |
| DBusMessage * | message | 
| QAtomicInt | ref | 
| int | capabilities | 
| enum QDBusArgumentPrivate::Direction | direction | 
| Additional Inherited Members | |
|  Public Types inherited from QDBusArgumentPrivate | |
| enum | 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 (int id) | 
| static QDBusArgument | create (QDBusArgumentPrivate *d) | 
| static QDBusArgumentPrivate * | d (QDBusArgument &q) | 
Definition at line 68 of file qdbusargument_p.h.
| 
 | inline | 
Definition at line 71 of file qdbusargument_p.h.
References QDBusArgumentPrivate::direction, and QDBusArgumentPrivate::Marshalling.
| QDBusMarshaller::~QDBusMarshaller | ( | ) | 
Definition at line 23 of file qdbusmarshaller.cpp.
References close().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inline | 
Definition at line 51 of file qdbusmarshaller.cpp.
References arg, ba, DBUS_TYPE_BOOLEAN, iterator, qIterAppend(), and skipSignature.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inline | 
Definition at line 143 of file qdbusmarshaller.cpp.
References arg, ba, DBUS_TYPE_ARRAY, DBUS_TYPE_ARRAY_AS_STRING, DBUS_TYPE_BYTE, DBUS_TYPE_BYTE_AS_STRING, iterator, and skipSignature.
| 
 | inline | 
Definition at line 108 of file qdbusmarshaller.cpp.
References arg, ba, DBUS_TYPE_OBJECT_PATH, error, QByteArray::isEmpty(), iterator, qIterAppend(), and skipSignature.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inline | 
Definition at line 120 of file qdbusmarshaller.cpp.
References arg, ba, DBUS_TYPE_SIGNATURE, error, QByteArray::isEmpty(), iterator, qIterAppend(), and skipSignature.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inline | 
Definition at line 132 of file qdbusmarshaller.cpp.
References arg, ba, DBUS_TYPE_UNIX_FD, error, iterator, qIterAppend(), and skipSignature.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inline | 
Definition at line 159 of file qdbusmarshaller.cpp.
References arg, QDBusMetaTypeId::argument(), ba, QDBusArgumentPrivate::capabilities, QByteArray::constData(), DBUS_TYPE_VARIANT, DBUS_TYPE_VARIANT_AS_STRING, error, open(), qWarning, skipSignature, sub, and QDBusMetaType::typeToSignature().
 Here is the call graph for this function:
 Here is the call graph for this function:Definition at line 100 of file qdbusmarshaller.cpp.
References arg, ba, DBUS_TYPE_STRING, iterator, qIterAppend(), and skipSignature.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inline | 
Definition at line 199 of file qdbusmarshaller.cpp.
References arg, ba, QDBusArgumentPrivate::capabilities, DBUS_TYPE_ARRAY, DBUS_TYPE_ARRAY_AS_STRING, DBUS_TYPE_STRING_AS_STRING, open(), skipSignature, and sub.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inline | 
Definition at line 94 of file qdbusmarshaller.cpp.
References arg, ba, DBUS_TYPE_DOUBLE, iterator, qIterAppend(), and skipSignature.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inline | 
Definition at line 70 of file qdbusmarshaller.cpp.
References arg, ba, DBUS_TYPE_INT32, iterator, qIterAppend(), and skipSignature.
 Here is the call graph for this function:
 Here is the call graph for this function:Definition at line 82 of file qdbusmarshaller.cpp.
References arg, ba, DBUS_TYPE_INT64, iterator, qIterAppend(), and skipSignature.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inline | 
Definition at line 88 of file qdbusmarshaller.cpp.
References arg, ba, DBUS_TYPE_UINT64, iterator, qIterAppend(), and skipSignature.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inline | 
Definition at line 58 of file qdbusmarshaller.cpp.
References arg, ba, DBUS_TYPE_INT16, iterator, qIterAppend(), and skipSignature.
 Here is the call graph for this function:
 Here is the call graph for this function:Definition at line 45 of file qdbusmarshaller.cpp.
References arg, ba, DBUS_TYPE_BYTE, iterator, qIterAppend(), and skipSignature.
Referenced by appendVariantInternal(), QDBusArgument::operator<<(), QDBusArgument::operator<<(), QDBusArgument::operator<<(), QDBusArgument::operator<<(), QDBusArgument::operator<<(), QDBusArgument::operator<<(), QDBusArgument::operator<<(), QDBusArgument::operator<<(), QDBusArgument::operator<<(), QDBusArgument::operator<<(), QDBusArgument::operator<<(), QDBusArgument::operator<<(), QDBusArgument::operator<<(), QDBusArgument::operator<<(), QDBusArgument::operator<<(), QDBusArgument::operator<<(), and QDBusMessagePrivate::toDBusMessage().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:Definition at line 76 of file qdbusmarshaller.cpp.
References arg, ba, DBUS_TYPE_UINT32, iterator, qIterAppend(), and skipSignature.
 Here is the call graph for this function:
 Here is the call graph for this function:Definition at line 64 of file qdbusmarshaller.cpp.
References arg, ba, DBUS_TYPE_UINT16, iterator, qIterAppend(), and skipSignature.
 Here is the call graph for this function:
 Here is the call graph for this function:| bool QDBusMarshaller::appendCrossMarshalling | ( | QDBusDemarshaller * | arg | ) | 
Definition at line 490 of file qdbusmarshaller.cpp.
References appendCrossMarshalling(), QDBusDemarshaller::atEnd(), QDBusDemarshaller::beginCommon(), QDBusArgumentPrivate::capabilities, QByteArray::constData(), QDBusDemarshaller::currentSignature(), DBUS_TYPE_ARRAY, DBUS_TYPE_UNIX_FD, DBUS_TYPE_VARIANT, QDBusArgumentPrivate::demarshaller(), QByteArray::isEmpty(), QDBusUtil::isValidBasicType(), QDBusUtil::isValidFixedType(), iterator, QDBusDemarshaller::iterator, open(), sub, and QString::toLatin1().
Referenced by appendCrossMarshalling(), and appendVariantInternal().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| bool QDBusMarshaller::appendRegisteredType | ( | const QVariant & | arg | ) | 
Definition at line 483 of file qdbusmarshaller.cpp.
References arg, QDBusArgumentPrivate::create(), and QDBusMetaType::marshall().
Referenced by appendVariantInternal().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| bool QDBusMarshaller::appendVariantInternal | ( | const QVariant & | arg | ) | 
Definition at line 344 of file qdbusmarshaller.cpp.
References append(), appendCrossMarshalling(), appendRegisteredType(), arg, QDBusMetaTypeId::argument(), ba, QDBusArgumentPrivate::capabilities, d, QDBusArgumentPrivate::d(), DBUS_DICT_ENTRY_BEGIN_CHAR, DBUS_STRUCT_BEGIN_CHAR, DBUS_TYPE_ARRAY, DBUS_TYPE_BOOLEAN, DBUS_TYPE_BYTE, DBUS_TYPE_DICT_ENTRY, DBUS_TYPE_DOUBLE, DBUS_TYPE_INT16, DBUS_TYPE_INT32, DBUS_TYPE_INT64, DBUS_TYPE_OBJECT_PATH, DBUS_TYPE_SIGNATURE, DBUS_TYPE_STRING, DBUS_TYPE_STRUCT, DBUS_TYPE_UINT16, DBUS_TYPE_UINT32, DBUS_TYPE_UINT64, DBUS_TYPE_UNIX_FD, DBUS_TYPE_VARIANT, QDBusArgumentPrivate::demarshaller(), QDBusArgumentPrivate::Demarshalling, error, iterator, QDBusDemarshaller::iterator, QDBusArgumentPrivate::message, Q_FALLTHROUGH, qFatal, qIterAppend(), qWarning, QDBusMetaType::typeToSignature(), and QDBusConnection::UnixFileDescriptorPassing.
Referenced by QDBusArgument::appendVariant(), and QDBusMessagePrivate::toDBusMessage().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Definition at line 219 of file qdbusmarshaller.cpp.
References beginCommon(), DBUS_TYPE_ARRAY, and QDBusMetaType::typeToSignature().
Referenced by QDBusArgument::beginArray().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| QDBusMarshaller * QDBusMarshaller::beginCommon | ( | int | code, | 
| const char * | signature | ||
| ) | 
Definition at line 299 of file qdbusmarshaller.cpp.
References QDBusArgumentPrivate::capabilities, d, and open().
Referenced by beginArray(), beginMap(), beginMapEntry(), and beginStructure().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Definition at line 230 of file qdbusmarshaller.cpp.
References arg, beginCommon(), DBUS_DICT_ENTRY_BEGIN_CHAR_AS_STRING, DBUS_DICT_ENTRY_END_CHAR_AS_STRING, DBUS_TYPE_ARRAY, error, QMetaType::id(), QDBusUtil::isValidBasicType(), QMetaType::name(), QT_WARNING_DISABLE_GCC, QT_WARNING_POP, QT_WARNING_PUSH, qWarning, and QDBusMetaType::typeToSignature().
Referenced by QDBusArgument::beginMap().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Definition at line 262 of file qdbusmarshaller.cpp.
References beginCommon(), and DBUS_TYPE_DICT_ENTRY.
Referenced by QDBusArgument::beginMapEntry().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Definition at line 214 of file qdbusmarshaller.cpp.
References beginCommon(), and DBUS_TYPE_STRUCT.
Referenced by QDBusArgument::beginStructure().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void QDBusMarshaller::close | ( | ) | 
Definition at line 325 of file qdbusmarshaller.cpp.
References ba, closeCode, iterator, parent, and skipSignature.
Referenced by ~QDBusMarshaller().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Definition at line 38 of file qdbusmarshaller.cpp.
References QString::fromUtf8().
Referenced by QDBusArgument::currentSignature().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Definition at line 309 of file qdbusmarshaller.cpp.
References endCommon().
Referenced by QDBusArgument::endArray().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| QDBusMarshaller * QDBusMarshaller::endCommon | ( | ) | 
Definition at line 318 of file qdbusmarshaller.cpp.
References parent.
Referenced by endArray(), endMap(), endMapEntry(), and endStructure().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Definition at line 312 of file qdbusmarshaller.cpp.
References endCommon().
Referenced by QDBusArgument::endMap().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Definition at line 315 of file qdbusmarshaller.cpp.
References endCommon().
Referenced by QDBusArgument::endMapEntry().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Definition at line 306 of file qdbusmarshaller.cpp.
References endCommon().
Referenced by QDBusArgument::endStructure().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:Definition at line 335 of file qdbusmarshaller.cpp.
References error(), errorString, ok, and parent.
Referenced by error().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void QDBusMarshaller::open | ( | QDBusMarshaller & | sub, | 
| int | code, | ||
| const char * | signature | ||
| ) | 
Definition at line 267 of file qdbusmarshaller.cpp.
References ba, QDBusArgumentPrivate::capabilities, DBUS_STRUCT_BEGIN_CHAR, DBUS_STRUCT_END_CHAR, DBUS_TYPE_ARRAY, DBUS_TYPE_DICT_ENTRY, DBUS_TYPE_STRUCT, iterator, QObject::parent(), Q_FALLTHROUGH, skipSignature, and sub.
Referenced by append(), append(), appendCrossMarshalling(), and beginCommon().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| QByteArray* QDBusMarshaller::ba | 
Definition at line 115 of file qdbusargument_p.h.
Referenced by append(), append(), append(), append(), append(), append(), append(), append(), append(), append(), append(), append(), append(), append(), append(), append(), appendVariantInternal(), close(), QDBusArgumentPrivate::createSignature(), and open().
| char QDBusMarshaller::closeCode | 
Definition at line 117 of file qdbusargument_p.h.
Referenced by close().
| QString QDBusMarshaller::errorString | 
Definition at line 116 of file qdbusargument_p.h.
Referenced by error(), and QDBusMessagePrivate::toDBusMessage().
| DBusMessageIter QDBusMarshaller::iterator | 
Definition at line 113 of file qdbusargument_p.h.
Referenced by QDBusArgument::QDBusArgument(), append(), append(), append(), append(), append(), append(), append(), append(), append(), append(), append(), append(), append(), append(), appendCrossMarshalling(), appendVariantInternal(), QDBusArgumentPrivate::checkWrite(), close(), open(), and QDBusMessagePrivate::toDBusMessage().
| bool QDBusMarshaller::ok | 
Definition at line 118 of file qdbusargument_p.h.
Referenced by QDBusArgumentPrivate::createSignature(), error(), and QDBusMessagePrivate::toDBusMessage().
| QDBusMarshaller* QDBusMarshaller::parent | 
Definition at line 114 of file qdbusargument_p.h.
Referenced by close(), endCommon(), and error().
| bool QDBusMarshaller::skipSignature |