libER 0.1.4.2
ELDEN RING API library
|
Abstract class used for type reflection. More...
#include <reflection.hpp>
Classes | |
struct | DLRuntimeObjectHolder |
Public Types | |
using | DLRuntimeClassHolder = DLRuntimeObjectHolder< DLRuntimeClass > |
using | DLRuntimeMethodHolder = DLRuntimeObjectHolder< DLRuntimeMethod > |
Public Member Functions | |
virtual const char * | get_class_name () const noexcept=0 |
Get the name of the type. | |
virtual const wchar_t * | get_class_name_w () const noexcept=0 |
Get the name of the type (wide). | |
virtual size_t | get_class_size () const noexcept=0 |
Get the size of the type. | |
const DLRuntimeClass * | get_class_base () const noexcept |
Get a derived class's base class. | |
const from::vector< DLRuntimeMethodHolder > & | get_methods () const noexcept |
Get every bound method. | |
Static Public Member Functions | |
static const from::vector< DLRuntimeClassHolder > * | get_registered_classes () noexcept |
Get a vector of all globally registered DLRuntimeClasses. | |
static DLRuntimeClass * | get_runtime_class (std::string_view class_name) noexcept |
Abstract class used for type reflection.
Allows for runtime type introspection and for binding method invokers.
Typically statically allocated, widely used in ELDEN RING.
|
inlinenoexcept |
Get a derived class's base class.
Get the name of the type.
Get the name of the type (wide).
Get the size of the type.
|
inlinenoexcept |
Get every bound method.
|
inlinestaticnoexcept |
Get a vector of all globally registered DLRuntimeClasses.
The returned vector contains every DLRuntimeClass that has been registered so far by ELDEN RING. Be aware that classes are registered during the static initialization phase, so this vector will not be initialized before that point.