GammaRay API Documentation 3.0.1
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)
 
QObjectasQObject () 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.


© 2010-2023 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 on Tue Dec 26 2023 00:01:47 for GammaRay API Documentation by doxygen 1.9.8