Kanzi  3.9.4
Kanzi Engine API
kanzi::MetaObject Class Reference

MetaObject is the base class for classes that provide type reflection. More...

#include <kanzi/core/metadata/meta_object.hpp>

Inheritance diagram for kanzi::MetaObject:
[legend]

Public Member Functions

virtual const MetaclassgetDynamicMetaclass () const
 Returns the metaclass of the dynamic type of the object. More...
 
bool isTypeOf (const Metaclass *objectType) const
 Determines if the type of this object is the given type or derived from it. More...
 
virtual ~MetaObject ()
 

Static Public Member Functions

static const MetaclassgetStaticMetaclass ()
 Returns the metaclass of Object class. More...
 
static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 Default implementation that returns empty editor info. More...
 

Protected Member Functions

void initialize ()
 
 MetaObject ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~MetaObject()

virtual kanzi::MetaObject::~MetaObject ( )
virtual

◆ MetaObject()

kanzi::MetaObject::MetaObject ( )
inlineexplicitprotected

Member Function Documentation

◆ 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()

static PropertyTypeEditorInfoSharedPtr kanzi::MetaObject::makeEditorInfo ( )
static

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
objectTypeType 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: