All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kanzi::MetaclassImpl< TClass > Class Template Reference

#include <kanzi/object/metaclass.hpp>

Inheritance diagram for kanzi::MetaclassImpl< TClass >:
kanzi::Metaclass

Public Member Functions

 MetaclassImpl (const Metaclass *baseClass, string_view name)
 
virtual bool isMetaclassOf (const Object &object) const KZ_OVERRIDE
 Checks whether this metaclass describes the class of an object instance. More...
 
virtual shared_ptr< Objectcreate (Domain *domain, string_view name) const KZ_OVERRIDE
 
- Public Member Functions inherited from kanzi::Metaclass
template<typename Type >
shared_ptr< Type > create (Domain *domain, string_view name) const
 Creates the 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)
 
MetaclassIterator beginNestedMetaclasses () const
 
MetaclassIterator endNestedMetaclasses () const
 
MetaclassIterator beginMixinMetaclasses () const
 
MetaclassIterator endMixinMetaclasses () const
 
PropertyTypeIterator beginPropertyTypes () const
 
PropertyTypeIterator endPropertyTypes () const
 
MessageTypeIterator beginMessageTypes () const
 
MessageTypeIterator endMessageTypes () const
 
string getName () const
 
void setEditorInfo (PropertyTypeEditorInfoSharedPtr editorInfo)
 
PropertyTypeEditorInfoSharedPtr getEditorInfo () const
 

Additional Inherited Members

- Public Types inherited from kanzi::Metaclass
typedef
MetaclassContainer::const_iterator 
MetaclassIterator
 
typedef
PropertyTypeContainer::const_iterator 
PropertyTypeIterator
 
typedef
MessageTypeContainer::const_iterator 
MessageTypeIterator
 
- Protected Member Functions inherited from kanzi::Metaclass
 Metaclass (const Metaclass *baseClass, string_view name)
 
 ~Metaclass ()
 
void checkSealed () const
 
void setAbstract ()
 

Constructor & Destructor Documentation

template<typename TClass >
kanzi::MetaclassImpl< TClass >::MetaclassImpl ( const Metaclass baseClass,
string_view  name 
)
inlineexplicit

Member Function Documentation

template<typename TClass >
virtual bool kanzi::MetaclassImpl< TClass >::isMetaclassOf ( const Object object) const
inlinevirtual

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

Implements kanzi::Metaclass.

template<typename TClass >
virtual shared_ptr<Object> kanzi::MetaclassImpl< TClass >::create ( Domain domain,
string_view  name 
) const
inlinevirtual

Implements kanzi::Metaclass.


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