kanzi::MetaclassAbstractBase Class Reference

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

Inheritance diagram for kanzi::MetaclassAbstractBase:
kanzi::Metaclass kanzi::MetaclassAbstractImpl< TClass >

Protected Member Functions

 MetaclassAbstractBase (const Metaclass *baseClass, FixedString name)
 
virtual shared_ptr< MetaObjectcreate (Domain *, string_view) const KZ_OVERRIDE
 
- Protected Member Functions inherited from kanzi::Metaclass
 Metaclass (const Metaclass *baseClass, FixedString name)
 
 ~Metaclass ()
 
void checkSealed () const
 
void setAbstract ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

kanzi::MetaclassAbstractBase::MetaclassAbstractBase ( const Metaclass baseClass,
FixedString  name 
)
inlineexplicitprotected

Member Function Documentation

virtual shared_ptr<MetaObject> kanzi::MetaclassAbstractBase::create ( Domain ,
string_view   
) const
inlineprotectedvirtual

Implements kanzi::Metaclass.


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