SPARK
0.1.0
A general purpose game engine written in C++.
|
The RTTI object containing all the needed data. More...
#include <Rtti.h>
Public Types | |
using | ParentTypes = mpl::typelist<BaseTypes...> |
Public Member Functions | |
Rtti (std::string class_name) | |
std::vector< RttiBase * > | parents () override |
bool | isSubTypeOf (const RttiBase *potential_parent_type) override |
Checks if the current RTTI inherits from a specific parent. | |
![]() | |
RttiBase (std::string class_name) | |
RttiBase (const RttiBase &other)=default | |
RttiBase (RttiBase &&other) noexcept=default | |
RttiBase & | operator= (const RttiBase &other)=default |
RttiBase & | operator= (RttiBase &&other) noexcept=default |
std::string | className () const |
Static Public Member Functions | |
static Rtti & | instance () |
The RTTI object containing all the needed data.
Type | The type we want to get the RTTI data |
BaseTypes | The parent types of type Type |
|
static |
|
nodiscardoverridevirtual |
Checks if the current RTTI inherits from a specific parent.
potential_parent_type | The parent type we want to check |
Implements spark::rtti::RttiBase.
|
nodiscardoverridevirtual |
Implements spark::rtti::RttiBase.