Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QDBusArgumentPrivate Class Reference

#include <qdbusargument_p.h>

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

Public Types

enum  Direction { Marshalling , Demarshalling }
 

Public Member Functions

 QDBusArgumentPrivate (int flags=0)
 
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 (int id)
 
static QDBusArgument create (QDBusArgumentPrivate *d)
 
static QDBusArgumentPrivated (QDBusArgument &q)
 

Public Attributes

DBusMessage * message
 
QAtomicInt ref
 
int capabilities
 
enum QDBusArgumentPrivate::Direction direction
 

Detailed Description

Definition at line 34 of file qdbusargument_p.h.

Member Enumeration Documentation

◆ Direction

Enumerator
Marshalling 
Demarshalling 

Definition at line 62 of file qdbusargument_p.h.

Constructor & Destructor Documentation

◆ QDBusArgumentPrivate()

QDBusArgumentPrivate::QDBusArgumentPrivate ( int  flags = 0)
inline

Definition at line 37 of file qdbusargument_p.h.

◆ ~QDBusArgumentPrivate()

QT_BEGIN_NAMESPACE QDBusArgumentPrivate::~QDBusArgumentPrivate ( )
virtual

Definition at line 28 of file qdbusargument.cpp.

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 50 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 ( int  id)
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(), QMetaType::name(), 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 55 of file qdbusargument_p.h.

References d().

Referenced by QDBusMarshaller::appendVariantInternal(), and d().

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

◆ demarshaller()

◆ marshaller()

Member Data Documentation

◆ capabilities

◆ direction

◆ message

◆ ref

QAtomicInt QDBusArgumentPrivate::ref

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