Kanzi  3.9.9
Kanzi Engine C++ 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

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

Member Function Documentation

static const Metaclass* kanzi::MetaObject::getStaticMetaclass ( )
static

Returns the metaclass of Object class.

virtual const Metaclass* kanzi::MetaObject::getDynamicMetaclass ( ) const
virtual

Returns the metaclass of the dynamic type of the object.

Reimplemented in kanzi::Object.

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

Default implementation that returns empty editor info.

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.
void kanzi::MetaObject::initialize ( )
inlineprotected

The documentation for this class was generated from the following file: