SPARK
0.1.0
A general purpose game engine written in C++.
|
The abstract class used as base for the RTTI data. More...
#include <RttiBase.h>
Public Member Functions | |
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 |
virtual std::vector< RttiBase * > | parents ()=0 |
virtual bool | isSubTypeOf (const RttiBase *potential_parent_type)=0 |
Checks if the current RTTI inherits from a specific parent. | |
The abstract class used as base for the RTTI data.
|
nodiscard |
|
nodiscardpure virtual |
Checks if the current RTTI inherits from a specific parent.
potential_parent_type | The parent type we want to check |
Implemented in spark::rtti::Rtti< Type, BaseTypes >.
|
nodiscardpure virtual |
Implemented in spark::rtti::Rtti< Type, BaseTypes >.