libER 0.1.4.2
ELDEN RING API library
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
from::DLRF::DLRuntimeObjectHolder< T > Struct Template Reference

A holder for a DLRF::DLRuntime object. More...

#include <reflection.hpp>

Public Member Functions

 DLRuntimeObjectHolder (from::unique_ptr< T > &&method, const char *name, const wchar_t *name_w) noexcept
 Construct a new DLRuntimeObjectHolder object.
 
const T * get () const noexcept
 Get a pointer to the held method instance.
 

Friends

class DLRuntimeClass
 

Detailed Description

template<typename T>
struct from::DLRF::DLRuntimeObjectHolder< T >

A holder for a DLRF::DLRuntime object.

May hold a DLRuntimeClass or a DLRuntimeMethod.

Constructor & Destructor Documentation

◆ DLRuntimeObjectHolder()

template<typename T >
from::DLRF::DLRuntimeObjectHolder< T >::DLRuntimeObjectHolder ( from::unique_ptr< T > &&  method,
const char name,
const wchar_t name_w 
)
inlinenoexcept

Construct a new DLRuntimeObjectHolder object.

Parameters
methoda rvalue reference to a unique ptr to the object
namethe name of the object
name_wthe name of the object (wide)

Member Function Documentation

◆ get()

template<typename T >
const T * from::DLRF::DLRuntimeObjectHolder< T >::get ( ) const
inlinenoexcept

Get a pointer to the held method instance.

Returns
const DLRuntimeMethod* pointer to the instance

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