QtGStreamer
1.2.0
|
#include <QGlib/Type>
Public Member Functions | |
Type (Private::GType gtype) | |
Type (FundamentalType ftype) | |
Type (const Type &other) | |
Type & | operator= (Type other) |
bool | operator== (Type other) const |
operator Private::GType () const | |
QString | name () const |
Quark | nameQuark () const |
bool | isValid () const |
bool | isAbstract () const |
bool | isDerived () const |
bool | isFundamental () const |
bool | isValueType () const |
bool | hasValueTable () const |
bool | isClassed () const |
bool | isInstantiatable () const |
bool | isDerivable () const |
bool | isDeepDerivable () const |
bool | isInterface () const |
Type | fundamental () const |
Type | parent () const |
uint | depth () const |
Type | nextBase (Type rootType) const |
bool | isA (Type is_a_type) const |
template<typename T > | |
bool | isA () const |
QList< Type > | children () const |
QList< Type > | interfaces () const |
QList< Type > | interfacePrerequisites () const |
void * | quarkData (const Quark &qname) const |
void | setQuarkData (const Quark &qname, void *data) |
Static Public Member Functions | |
static Type | fromInstance (void *nativeInstance) |
static Type | fromName (const char *name) |
Related Functions | |
(Note that these are not member functions.) | |
template<class T > | |
Type | GetType () |
Wrapper class for GType.
A GType is a numerical value which represents the unique identifier of a registered type. The GType API is the foundation of the GObject system. It provides the facilities for registering and managing all fundamental data types, user-defined object and interface types.
As a wrapper, this class provides only methods for querying existing types, not registering new ones. You should never need to use it directly, although it might come in handy in some cases.
To retrieve a Type for a certain class, use GetType().
|
related |
This template function retrieves the QGlib::Type (aka GType) of a given type T.