GammaRay API Documentaion  2.6.0
Public Member Functions | List of all members
GammaRay::MetaObjectImpl< T, Base1, Base2, Base3 > Class Template Reference

Template implementation of MetaObject. More...

#include <metaobject.h>

Inheritance diagram for GammaRay::MetaObjectImpl< T, Base1, Base2, Base3 >:
Inheritance graph
[legend]

Public Member Functions

void * castToBaseClass (void *object, int baseClassIndex) const override
 
- Public Member Functions inherited from GammaRay::MetaObject
void addBaseClass (MetaObject *baseClass)
 
void addProperty (MetaProperty *property)
 
void * castForPropertyAt (void *object, int index) const
 
void * castTo (void *object, const QString &baseClass) const
 
QString className () const
 Returns the name of the class represented by this object.
 
bool inherits (const QString &className) const
 
MetaPropertypropertyAt (int index) const
 
int propertyCount () const
 
void setClassName (const QString &className)
 
MetaObjectsuperClass (int index=0) const
 

Additional Inherited Members

- Protected Attributes inherited from GammaRay::MetaObject
QVector< MetaObject * > m_baseClasses
 

Detailed Description

template<typename T, typename Base1 = void, typename Base2 = void, typename Base3 = void>
class GammaRay::MetaObjectImpl< T, Base1, Base2, Base3 >

Template implementation of MetaObject.

Member Function Documentation

template<typename T , typename Base1 = void, typename Base2 = void, typename Base3 = void>
void* GammaRay::MetaObjectImpl< T, Base1, Base2, Base3 >::castToBaseClass ( void *  object,
int  baseClassIndex 
) const
inlineoverridevirtual

Casts down to base class baseClassIndex. This is important when traversing multi-inheritance trees.

Implements GammaRay::MetaObject.


Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
https://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
https://www.kdab.com/gammaray/