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

#include <qdbusargument_p.h>

+ Inheritance diagram for QDBusArgumentPrivate:
+ Collaboration diagram for QDBusArgumentPrivate:

Public Types

enum class  Direction { Marshalling , Demarshalling }
 

Public Member Functions

virtual ~QDBusArgumentPrivate ()
 
QDBusMarshallermarshaller ()
 
QDBusDemarshallerdemarshaller ()
 

Static Public Member Functions

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)
 

Public Attributes

DBusMessage * message = nullptr
 
QAtomicInt ref = 1
 
QDBusConnection::ConnectionCapabilities capabilities
 
Direction direction
 

Protected Member Functions

 QDBusArgumentPrivate (Direction direction, QDBusConnection::ConnectionCapabilities flags={})
 

Detailed Description

Definition at line 35 of file qdbusargument_p.h.

Member Enumeration Documentation

◆ Direction

Enumerator
Marshalling 
Demarshalling 

Definition at line 39 of file qdbusargument_p.h.

Constructor & Destructor Documentation

◆ ~QDBusArgumentPrivate()

QT_BEGIN_NAMESPACE QDBusArgumentPrivate::~QDBusArgumentPrivate ( )
virtual

Definition at line 28 of file qdbusargument.cpp.

◆ QDBusArgumentPrivate()

QDBusArgumentPrivate::QDBusArgumentPrivate ( Direction direction,
QDBusConnection::ConnectionCapabilities flags = {} )
inlineexplicitprotected

Definition at line 65 of file qdbusargument_p.h.

Member Function Documentation

◆ checkRead()

bool QDBusArgumentPrivate::checkRead ( QDBusArgumentPrivate * d)
static

Definition at line 98 of file qdbusargument.cpp.

References d, Demarshalling, qFatal, and qWarning.

Referenced by QDBusArgument::asVariant(), QDBusArgument::atEnd(), and checkReadAndDetach().

+ Here is the caller graph for this function:

◆ checkReadAndDetach()

◆ checkWrite()

◆ create()

static QDBusArgument QDBusArgumentPrivate::create ( QDBusArgumentPrivate * d)
inlinestatic

Definition at line 51 of file qdbusargument_p.h.

References d.

Referenced by QDBusMarshaller::appendRegisteredType(), and QDBusDemarshaller::duplicate().

+ Here is the caller graph for this function:

◆ createSignature()

QByteArray QDBusArgumentPrivate::createSignature ( QMetaType type)
static

Definition at line 34 of file qdbusargument.cpp.

References arg, QDBusMarshaller::ba, DBUS_STRUCT_BEGIN_CHAR, DBUS_TYPE_ARRAY, DBUS_TYPE_BYTE, DBUS_TYPE_STRING, QString::fromLatin1(), QDBusUtil::isValidSingleSignature(), QDBusMetaType::marshall(), marshaller(), ok, QDBusMarshaller::ok, qdbus_loadLibDBus(), qWarning, and QDBusMetaType::signatureToMetaType().

Referenced by QDBusMetaType::typeToSignature().

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

◆ d()

static QDBusArgumentPrivate * QDBusArgumentPrivate::d ( QDBusArgument & q)
inlinestatic

Definition at line 56 of file qdbusargument_p.h.

Referenced by QDBusMarshaller::appendVariantInternal().

+ Here is the caller graph for this function:

◆ demarshaller()

◆ marshaller()

Member Data Documentation

◆ capabilities

◆ direction

Direction QDBusArgumentPrivate::direction

◆ message

◆ ref

QAtomicInt QDBusArgumentPrivate::ref = 1

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