MetaObject is the base class for classes that provide type reflection.
More...
#include <kanzi/core/metadata/meta_object.hpp>
MetaObject is the base class for classes that provide type reflection.
Type reflection can be used to enumerate property types, message types and base classes of a class.
◆ ~MetaObject()
virtual kanzi::MetaObject::~MetaObject |
( |
| ) |
|
|
virtual |
◆ MetaObject()
kanzi::MetaObject::MetaObject |
( |
| ) |
|
|
inlineexplicitprotected |
◆ getStaticMetaclass()
static const Metaclass* kanzi::MetaObject::getStaticMetaclass |
( |
| ) |
|
|
static |
Returns the metaclass of Object class.
◆ getDynamicMetaclass()
virtual const Metaclass* kanzi::MetaObject::getDynamicMetaclass |
( |
| ) |
const |
|
virtual |
Returns the metaclass of the dynamic type of the object.
Reimplemented in kanzi::Object.
◆ makeEditorInfo()
Default implementation that returns empty editor info.
◆ isTypeOf()
bool kanzi::MetaObject::isTypeOf |
( |
const Metaclass * |
objectType | ) |
const |
|
inline |
Determines if the type of this object is the given type or derived from it.
- Parameters
-
objectType | Type to test against. |
- Returns
- True if this object is an instance of objectType.
◆ initialize()
void kanzi::MetaObject::initialize |
( |
| ) |
|
|
inlineprotected |
The documentation for this class was generated from the following file: