GammaRay API Documentation
2.7.0
|
MetaObject repository. More...
#include <metaobjectrepository.h>
Public Member Functions | |
void | addMetaObject (MetaObject *mo) |
void | clear () |
Clears the content of the meta object repository. More... | |
bool | hasMetaObject (const QString &typeName) const |
MetaObject * | metaObject (const QString &typeName) const |
Static Public Member Functions | |
static MetaObjectRepository * | instance () |
MetaObject repository.
Repository of compile-time introspection information for stuff not covered by the Qt meta object system.
void GammaRay::MetaObjectRepository::addMetaObject | ( | MetaObject * | mo | ) |
Adds object type information to the repository.
void GammaRay::MetaObjectRepository::clear | ( | ) |
Clears the content of the meta object repository.
Call this when removing the probe from a target.
bool GammaRay::MetaObjectRepository::hasMetaObject | ( | const QString & | typeName | ) | const |
Returns whether a meta object is known for the given type name.
|
static |
Singleton accessor.
MetaObject* GammaRay::MetaObjectRepository::metaObject | ( | const QString & | typeName | ) | const |
Returns the introspection information for the type with the given name.