CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::ClassConstructor Class Referenceabstract

#include <CeresEngine/Reflection/Class.hpp>

Inheritance diagram for CeresEngine::ClassConstructor:
CeresEngine::ClassMember CeresEngine::MetaItem CeresEngine::TMetaConstructor< C, Args >

Public Member Functions

 ClassConstructor (Class &owner, StringView name)
 
MetaCategory getCategory () const override
 Gets the category of the item.
 
virtual Span< const TypeIDgetParameterTypeIDs () const =0
 
Span< const TypegetParameterTypes () const
 
virtual Box invoke (const MetaValues &arguments) const =0
 
template<typename... Args>
auto invoke (Args &&... args) const
 
- Public Member Functions inherited from CeresEngine::MetaItem
virtual ~MetaItem () noexcept=default
 

Public Attributes

String name
 
ReflectionAttributeContainer attributes
 

Static Public Attributes

static constexpr MetaCategory kCategory = MetaCategory::Constructor
 

Constructor & Destructor Documentation

◆ ClassConstructor()

CeresEngine::ClassConstructor::ClassConstructor ( Class owner,
StringView  name 
)
explicit

Member Function Documentation

◆ getCategory()

MetaCategory CeresEngine::ClassConstructor::getCategory ( ) const
inlineoverridevirtual

Gets the category of the item.

Implements CeresEngine::MetaItem.

◆ getParameterTypeIDs()

virtual Span< const TypeID > CeresEngine::ClassConstructor::getParameterTypeIDs ( ) const
pure virtual

◆ getParameterTypes()

Span< const Type > CeresEngine::ClassConstructor::getParameterTypes ( ) const

◆ invoke() [1/2]

template<typename... Args>
auto CeresEngine::ClassConstructor::invoke ( Args &&...  args) const
inline

◆ invoke() [2/2]

virtual Box CeresEngine::ClassConstructor::invoke ( const MetaValues arguments) const
pure virtual

Member Data Documentation

◆ attributes

ReflectionAttributeContainer CeresEngine::ClassConstructor::attributes

◆ kCategory

constexpr MetaCategory CeresEngine::ClassConstructor::kCategory = MetaCategory::Constructor
staticconstexpr

◆ name

String CeresEngine::ClassConstructor::name

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