GammaRay API Documentation  2.7.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
 

Friends

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"
https://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
https://www.kdab.com/gammaray/