GammaRay API Documentation  2.10.0
Public Types | Public Member Functions | Friends | List of all members
GammaRay::ObjectId Class Reference

Type-safe and cross-process object identifier. More...

#include <objectid.h>

Public Types

enum  Type { Invalid, QObjectType, VoidStarType }

Public Member Functions

 ObjectId (void *obj, const QByteArray &typeName)
 ObjectId (QObject *obj)
QObjectasQObject () const
template<typename T >
asQObjectType () const
void * asVoidStar () const
quint64 id () const
bool isNull () const
 operator quint64 () const
Type type () const
QByteArray typeName () const


QDataStreamoperator<< (QDataStream &out, const ObjectId &id)
QDataStreamoperator>> (QDataStream &out, ObjectId &id)

Detailed Description

Type-safe and cross-process object identifier.

Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
Qt-application inspection and manipulation tool