libER 0.1.4.2
ELDEN RING API library
Loading...
Searching...
No Matches
component.hpp
Go to the documentation of this file.
1
8#pragma once
9
11#include <detail/preprocessor.hpp>
12
13// LIBER_CLASS specialization that uses
14// DLRuntimeClass reflection for CLASSNAME
15#define FD4_RUNTIME_CLASS(CLASSNAME) \
16 virtual from::DLRF::DLRuntimeClass* get_runtime_class() const noexcept { \
17 return from::DLRF::DLRuntimeClass::get_runtime_class( \
18 LIBER_STRINGIFY(CLASSNAME)); \
19 } \
20 LIBER_CLASS(CLASSNAME)
21
22namespace from {
23namespace FD4 {
33 FD4_RUNTIME_CLASS(FD4ComponentBase);
34
35 virtual ~FD4ComponentBase() = default;
36};
37} // namespace FD4
38} // namespace from
Dantelion2 type reflection.
Reflection implementation for a given class.
Definition component.hpp:32