libER 0.1.4.2
ELDEN RING API library
|
Concrete DLRuntimeClass reflection for class Impl. More...
#include <reflection.hpp>
Public Member Functions | |
DLRuntimeClassImpl (const char *class_name, const wchar_t *class_name_w) noexcept | |
Construct a new DLRuntimeClassImpl object. | |
const char * | class_name () const noexcept override |
Get the name of the type. | |
const wchar_t * | class_name_w () const noexcept override |
Get the name of the type (wide). | |
size_t | class_size () const noexcept override |
Size of the type. | |
![]() | |
virtual LIBERAPI void | add_constructor_invoker (DLMethodInvoker *invoker, const char *method_name, const wchar_t *method_name_w) |
Add an invoker to a vector of invokers for the class's constructor. | |
virtual LIBERAPI void | add_method_invoker (DLMethodInvoker *invoker, const char *method_name, const wchar_t *method_name_w) |
Add an invoker to a vector of invokers for a given method. | |
const DLRuntimeClass * | get_base () const noexcept |
Get a derived class's base class. | |
liber::optref< const DLRuntimeMethod > | get_constructor () const noexcept |
Get the constructor method (if bound) | |
const from::vector< DLRuntimeMethodHolder > & | get_methods () const noexcept |
Get every bound method. | |
LIBERAPI liber::optref< DLRuntimeMethod > | find_method (const std::string_view &method_name) noexcept |
Find a bound method by name (if it exists). | |
Additional Inherited Members | |
![]() | |
static LIBERAPI const from::vector< DLRuntimeClassHolder > & | get_registered_classes () noexcept |
Get a vector of all globally registered DLRuntimeClasses. | |
static LIBERAPI const from::vector< DLRuntimeClassPair > & | get_runtime_pairs () noexcept |
Get a vector of all globally registered DLRuntimeClass pairs. | |
Concrete DLRuntimeClass reflection for class Impl.
Impl | the class to reflect |
|
inlinenoexcept |
Construct a new DLRuntimeClassImpl object.
class_name | name of the class |
class_name_w | name of the class (wide) |
|
inlineoverridevirtualnoexcept |
Get the name of the type.
Implements from::DLRF::DLRuntimeClass.
|
inlineoverridevirtualnoexcept |
Get the name of the type (wide).
Implements from::DLRF::DLRuntimeClass.
|
inlineoverridevirtualnoexcept |