Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
UE4Function_Private::TFunction_OwnedObject< T > Struct Template Reference

#include <Function.h>

+ Inheritance diagram for UE4Function_Private::TFunction_OwnedObject< T >:
+ Collaboration diagram for UE4Function_Private::TFunction_OwnedObject< T >:

Public Member Functions

 TFunction_OwnedObject (const T &InObj)
 
 TFunction_OwnedObject (T &&InObj)
 
IFunction_OwnedObjectCopyToEmptyStorage (FFunctionStorage &Storage) const override
 
virtual void * GetAddress () override
 
- Public Member Functions inherited from UE4Function_Private::IFunction_OwnedObject
virtual ~IFunction_OwnedObject ()=0
 

Public Attributes

Obj
 

Detailed Description

template<typename T>
struct UE4Function_Private::TFunction_OwnedObject< T >

Implementation of IFunction_OwnedObject for a given T.

Definition at line 156 of file Function.h.

Constructor & Destructor Documentation

◆ TFunction_OwnedObject() [1/2]

template<typename T >
UE4Function_Private::TFunction_OwnedObject< T >::TFunction_OwnedObject ( const T & InObj)
inlineexplicit

Constructor which creates its T by copying.

Definition at line 161 of file Function.h.

◆ TFunction_OwnedObject() [2/2]

template<typename T >
UE4Function_Private::TFunction_OwnedObject< T >::TFunction_OwnedObject ( T && InObj)
inlineexplicit

Constructor which creates its T by moving.

Definition at line 169 of file Function.h.

Member Function Documentation

◆ CopyToEmptyStorage()

template<typename T >
IFunction_OwnedObject * UE4Function_Private::TFunction_OwnedObject< T >::CopyToEmptyStorage ( FFunctionStorage & Storage) const
inlineoverridevirtual

Creates a copy of the object in the allocator and returns a pointer to it.

Implements UE4Function_Private::IFunction_OwnedObject.

Definition at line 174 of file Function.h.

◆ GetAddress()

template<typename T >
virtual void * UE4Function_Private::TFunction_OwnedObject< T >::GetAddress ( )
inlineoverridevirtual

Returns the address of the object.

Implements UE4Function_Private::IFunction_OwnedObject.

Definition at line 179 of file Function.h.

Member Data Documentation

◆ Obj

template<typename T >
T UE4Function_Private::TFunction_OwnedObject< T >::Obj

Definition at line 184 of file Function.h.


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