GammaRay API Documentation  3.2.0
Public Types | Public Member Functions | 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 (QObject *obj)
 
 ObjectId (void *obj, const QByteArray &typeName)
 
QObject * asQObject () const
 
template<typename T >
asQObjectType () const
 
void * asVoidStar () const
 
quint64 id () const
 
bool isNull () const
 
 operator quint64 () const
 
bool operator== (const ObjectId &o2) const
 
Type type () const
 
QByteArray typeName () const
 

Detailed Description

Type-safe and cross-process object identifier.


© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
GammaRay Qt-application inspection and manipulation tool
https://www.kdab.com/development-resources/qt-tools/gammaray/
Generated by doxygen 1.9.1