3#include "spark/rtti/Export.h"
5#include "spark/base/Macros.h"
18 explicit RttiBase(std::string class_name);
29 [[nodiscard]] std::string className()
const;
34 [[nodiscard]]
virtual std::vector<RttiBase*>
parents() = 0;
45 SPARK_SUPPRESS_MSVC_WARNING(4251)
46 std::
string m_className;
The abstract class used as base for the RTTI data.
Definition RttiBase.h:16
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.