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:
kanzi::Object kanzi::AbstractAnimation kanzi::Action kanzi::Binding kanzi::BindingProcessor kanzi::Condition kanzi::Domain kanzi::InputManipulator kanzi::ListBoxItemContainerGenerator2D kanzi::ListBoxItemContainerGenerator3D kanzi::ListBoxItemGenerator2D kanzi::ListBoxItemGenerator3D kanzi::Node kanzi::NodeComponent kanzi::NodeComponentTemplate kanzi::Resource kanzi::Timeline kanzi::TimelineClock kanzi::TimelinePlayback

Public Member Functions

virtual ~MetaObject ()
 
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...
 

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

 MetaObject ()
 
void initialize ()
 

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: