Kanzi 3.9.10
kanzi::MetaclassAbstractImpl< TClass > Class Template Reference

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

Inheritance diagram for kanzi::MetaclassAbstractImpl< TClass >:
[legend]

Public Member Functions

bool isMetaclassOf (const MetaObject &object) const override
 Checks whether this metaclass describes the class of an object instance.
 
 MetaclassAbstractImpl (const Metaclass *baseClass, FixedString name)
 
- Public Member Functions inherited from kanzi::Metaclass
void addMessageType (AbstractMessageType messageType)
 
void addMethod (const MetaMethod *method)
 Registers a method to the metaclass.
 
void addMixin (const Metaclass *metaclass)
 
void addNestedMetaclass (const Metaclass *metaclass)
 
void addPropertyType (AbstractPropertyType propertyType)
 
MessageTypeIterator beginMessageTypes () const
 
MetaMethodIterator beginMethod () const
 Creates a const_iterator pointing to the top of the metamethod container.
 
MetaclassIterator beginMixinMetaclasses () const
 
MetaclassIterator beginNestedMetaclasses () const
 
PropertyTypeIterator beginPropertyTypes () const
 
template<typename Type >
shared_ptr< Type > create (Domain *domain, string_view name) const
 Creates an instance of a class this metaclass describes.
 
MessageTypeIterator endMessageTypes () const
 
MetaMethodIterator endMethod () const
 Creates a const_iterator pointing to the end of the metamethod container.
 
MetaclassIterator endMixinMetaclasses () const
 
MetaclassIterator endNestedMetaclasses () const
 
PropertyTypeIterator endPropertyTypes () const
 
const MetaMethodfindMethod (string_view name) const
 Returns the metamethod registered in the metaclass with the given name.
 
const MetaclassgetBase () const
 Returns the metaclass of the base class.
 
PropertyTypeEditorInfoSharedPtr getEditorInfo () const
 
const chargetName () const
 
bool isAbstract () const
 Returns true if the class described by the metaclass is abstract, false otherwise.
 
bool isDerivedFrom (const Metaclass *metaclass) const
 Determines whether the class this metaclass describes derives from a class described by specified metaclass.
 
bool isDerivedFromMixin (const Metaclass *metaclass) const
 Searches for the specified metaclass among mixin metaclasses of this metaclass and its base metaclasses.
 
bool isSealed () const
 Internal function.
 
void seal ()
 Internal function.
 
void setEditorInfo (PropertyTypeEditorInfoSharedPtr editorInfo)
 

Additional Inherited Members

- Public Types inherited from kanzi::Metaclass
typedef MessageTypeContainer::const_iterator MessageTypeIterator
 
typedef MetaclassContainer::const_iterator MetaclassIterator
 
typedef MetaMethodContainer::const_iterator MetaMethodIterator
 Iterator for MetaMethod container.
 
typedef PropertyTypeContainer::const_iterator PropertyTypeIterator
 
- Protected Member Functions inherited from kanzi::MetaclassAbstractBase
shared_ptr< MetaObjectcreate (Domain *, string_view) const override
 
 MetaclassAbstractBase (const Metaclass *baseClass, FixedString name)
 
- Protected Member Functions inherited from kanzi::Metaclass
void checkSealed () const
 
void clearAbstract ()
 
 Metaclass (const Metaclass *baseClass, FixedString name)
 
 Metaclass (const Metaclass *baseClass, MetadataGeneratedName name)
 
void setAbstract ()
 
virtual ~Metaclass ()
 

Constructor & Destructor Documentation

◆ MetaclassAbstractImpl()

template<typename TClass >
kanzi::MetaclassAbstractImpl< TClass >::MetaclassAbstractImpl ( const Metaclass * baseClass,
FixedString name )
inlineexplicit

Member Function Documentation

◆ isMetaclassOf()

template<typename TClass >
bool kanzi::MetaclassAbstractImpl< TClass >::isMetaclassOf ( const MetaObject & object) const
inlineoverridevirtual

Checks whether this metaclass describes the class of an object instance.

Implements kanzi::Metaclass.


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