![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <InlineValue.h>
Public Member Functions | |
| TInlineValue () | |
| template<typename T , typename = typename TEnableIf<TPointerIsConvertibleFromTo<typename TDecay<T>::Type, BaseType>::Value>::Type> | |
| TInlineValue (T &&In) | |
| template<typename... ArgTypes> | |
| TInlineValue (EInPlace, ArgTypes &&... Args) | |
| ~TInlineValue () | |
| TInlineValue (TInlineValue &&In) | |
| TInlineValue & | operator= (TInlineValue &&In) |
| TInlineValue (const TInlineValue &In)=delete | |
| TInlineValue & | operator= (const TInlineValue &In)=delete |
| template<typename T > | |
| TEnableIf< TPointerIsConvertibleFromTo< typenameTDecay< T >::Type, BaseType >::Value, TInlineValue & >::Type | operator= (T &&In) |
| void | Reset (TInlineValue &&In) |
| void | Reset () |
| template<typename T , typename... ArgsType> | |
| void | Emplace (ArgsType &&... Args) |
| UE_FORCEINLINE_HINT bool | IsValid () const |
| BaseType & | GetValue () const |
| UE_FORCEINLINE_HINT const BaseType & | Get (const BaseType &Default) const |
| UE_FORCEINLINE_HINT BaseType * | GetPtr (BaseType *Default=nullptr) const |
| UE_FORCEINLINE_HINT BaseType & | operator* () const |
| UE_FORCEINLINE_HINT BaseType * | operator-> () const |
| void * | Reserve (uint32 InSize, uint32 InAlignment) |
A container type that houses an instance of BaseType in inline memory where it is <= MaxInlineSize, or in a separate heap allocation where it's > MaxInlineSize.
Can be viewed as a TUniquePtr with a small allocation optimization.
|
inline |
Default construction to an empty container
|
inline |
Construction from any type relating to BaseType.
|
inline |
In-place construction of BaseType from a set of arguments.
|
inline |
Destructor
|
inline |
Move construction/assignment
|
delete |
Copy construction/assignment is disabled
|
inline |
Emplace a new type (deriving from BaseType) into this inline value
|
inline |
Get the wrapped object, or a user-specified default
|
inline |
Get a pointer the wrapped object, or a user-specified default
|
inline |
Access the wrapped object's base type
|
inline |
Check if this container is wrapping a valid object
|
inline |
|
inline |
|
delete |
|
inline |
Move assignment from any type relating to BaseType.
|
inline |
|
inline |
Reserve space for a structure derived from BaseType, of the size and alignment specified .
|
inline |
Reset this container back to its empty state
|
inline |
Reset this container to wrap a new type