libER 0.1.4.2
ELDEN RING API library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
from::DLRF::DLRuntimeClassImpl< Impl > Class Template Reference

Concrete DLRuntimeClass reflection for class Impl. More...

#include <reflection.hpp>

Inheritance diagram for from::DLRF::DLRuntimeClassImpl< Impl >:
from::DLRF::DLRuntimeClass

Public Member Functions

 DLRuntimeClassImpl (const char *class_name, const wchar_t *class_name_w) noexcept
 Construct a new DLRuntimeClassImpl object.
 
const charclass_name () const noexcept override
 Get the name of the type.
 
const wchar_tclass_name_w () const noexcept override
 Get the name of the type (wide).
 
size_t class_size () const noexcept override
 Size of the type.
 
- Public Member Functions inherited from from::DLRF::DLRuntimeClass
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 DLRuntimeClassget_base () const noexcept
 Get a derived class's base class.
 
liber::optref< const DLRuntimeMethodget_constructor () const noexcept
 Get the constructor method (if bound)
 
const from::vector< DLRuntimeMethodHolder > & get_methods () const noexcept
 Get every bound method.
 
LIBERAPI liber::optref< DLRuntimeMethodfind_method (const std::string_view &method_name) noexcept
 Find a bound method by name (if it exists).
 

Additional Inherited Members

- Static Public Member Functions inherited from from::DLRF::DLRuntimeClass
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.
 

Detailed Description

template<class Impl>
class from::DLRF::DLRuntimeClassImpl< Impl >

Concrete DLRuntimeClass reflection for class Impl.

Template Parameters
Implthe class to reflect

Constructor & Destructor Documentation

◆ DLRuntimeClassImpl()

template<class Impl >
from::DLRF::DLRuntimeClassImpl< Impl >::DLRuntimeClassImpl ( const char class_name,
const wchar_t class_name_w 
)
inlinenoexcept

Construct a new DLRuntimeClassImpl object.

Parameters
class_namename of the class
class_name_wname of the class (wide)

Member Function Documentation

◆ class_name()

template<class Impl >
const char * from::DLRF::DLRuntimeClassImpl< Impl >::class_name ( ) const
inlineoverridevirtualnoexcept

Get the name of the type.

Returns
const char* name of the type

Implements from::DLRF::DLRuntimeClass.

◆ class_name_w()

template<class Impl >
const wchar_t * from::DLRF::DLRuntimeClassImpl< Impl >::class_name_w ( ) const
inlineoverridevirtualnoexcept

Get the name of the type (wide).

Returns
const wchar_t* name of the type

Implements from::DLRF::DLRuntimeClass.

◆ class_size()

template<class Impl >
size_t from::DLRF::DLRuntimeClassImpl< Impl >::class_size ( ) const
inlineoverridevirtualnoexcept

Size of the type.

Returns
size_t size

Implements from::DLRF::DLRuntimeClass.


The documentation for this class was generated from the following file: