Refureku v2.2.0
C++17 runtime reflection library.
|
Base class to inherit from to define new properties. More...
#include <Property.h>
Public Member Functions | |
virtual rfk::EEntityKind | getTargetEntityKind () const noexcept |
Getter for targetEntityKind of the concrete Property type. More... | |
virtual bool | getShouldInherit () const noexcept |
Getter for shouldInherit of the concrete Property type. More... | |
virtual bool | getAllowMultiple () const noexcept |
Getter for allowMultiple of the concrete Property type. More... | |
![]() | |
Object (Object const &)=default | |
Object (Object &&)=default | |
virtual Struct const & | getArchetype () const noexcept=0 |
Object & | operator= (Object const &)=default |
Object & | operator= (Object &&)=default |
Static Public Attributes | |
static constexpr rfk::EEntityKind | targetEntityKind |
static constexpr bool | shouldInherit = true |
static constexpr bool | allowMultiple = false |
Base class to inherit from to define new properties.
|
virtualnoexcept |
Getter for allowMultiple of the concrete Property type.
|
virtualnoexcept |
Getter for shouldInherit of the concrete Property type.
|
virtualnoexcept |
Getter for targetEntityKind of the concrete Property type.
|
staticconstexpr |
Is this property allowed to be attached multiple times to the same entity?
|
staticconstexpr |
Should this property be inherited in child struct/class? Relevant only for properties targeting structs/classes.
|
staticconstexpr |
Kind of entity this property can be attached to. By default, a property can be attached to any kind of entity.