3#include "spark/rtti/RttiBase.h"
5#include "spark/mpl/typelist.h"
14 template <
typename Type,
typename... BaseTypes>
21 explicit Rtti(std::string class_name);
28 [[nodiscard]] std::vector<RttiBase*>
parents()
override;
34#include "spark/rtti/impl/Rtti.h"
The abstract class used as base for the RTTI data.
Definition RttiBase.h:16
The RTTI object containing all the needed data.
Definition Rtti.h:16
std::vector< RttiBase * > parents() override
Definition Rtti.h:20
bool isSubTypeOf(const RttiBase *potential_parent_type) override
Checks if the current RTTI inherits from a specific parent.
Definition Rtti.h:26
static Rtti & instance()
Definition Rtti.h:13