Navigation
API > API/Runtime > API/Runtime/Core
Classes
| Type | Name | Description | |
|---|---|---|---|
| DefaultDeleter | Deletes an object via the standard delete operator | ||
| FConstCastTag | |||
| FEqualityHelper | |||
| FEuclidDivisionGCD | Euclidean algorithm using modulo policy. | ||
| FFunctionRefStoragePolicy | |||
| FFunctionStorage | |||
| FIdentityFunctor | A functor which returns whatever is passed to it. Mainly used for generic composition. | ||
| FNoncopyable | Utility template for a class that should not be copyable. | ||
| FNoopStruct | Used to avoid cluttering code with ifdefs. | ||
| FNullTag | NOTE: The following is an Unreal extension to standard shared_ptr behavior. | ||
| FRadixSortKeyFloat | Float cast to uint32 which maintains sorted order http://codercorner.com/RadixSortRevisited.htm | ||
| FRefCountBase | Base class implementing thread-safe reference counting. | ||
| FRefCountedObject | The base class of reference counted objects. | ||
| FSharedFromThisBase | This base class only exists to implement IsDerivedFromSharedFromThis. | ||
| FSharedReferencer | FSharedReferencer is a wrapper around a pointer to a reference controller that is used by either a TSharedRef or a TSharedPtr to keep track of a referenced object's lifetime | ||
| FStaticCastTag | Dummy structures used internally as template arguments for typecasts | ||
| FThreadSafeRefCountedObject | Like FRefCountedObject, but internal ref count is thread safe | ||
| FVirtualDestructor | |||
| FWeakReferencer | Forward declarations. | ||
| IDebugHelper | Helper classes to help debugger visualization. | ||
| IFunction_OwnedObject | Common interface to a callable object owned by TFunction. | ||
| IRefCountedObject | A virtual interface for ref counted objects to implement. | ||
| TAlignedBytes | Used to declare an untyped array of data with compile-time alignment. | ||
| TAnd | Does a boolean AND of the Value static members of each type, but short-circuits if any Type::Value == false. | ||
| TAndValue | |||
| TArrayRange | Wraps a range into a container like interface to satisfy the GetData and GetNum global functions. | ||
| TAtomic | DEPRECATED! UE atomics are not maintained and potentially will be physically deprecated. | ||
| TAtomicBase_Arithmetic | Arithmetic atomic implementation - used by both pointers and integral types in addition to getting and setting. | ||
| TAtomicBase_Basic | Basic storage and implementation - only allows getting and setting via platform atomics. | ||
| TAtomicBase_Integral | Integral atomic implementation - allows arithmetic and bitwise operations. | ||
| TAtomicBase_Mutex | TODO : basic storage and getting and setting, but the element is protected by a mutex instead of using platform atomics. | ||
| TAtomicBase_Pointer | Pointer atomic implementation - allows arithmetic with PTRINT. | ||
| TAtomicBaseType | |||
| TCallTraits | TCallTraits | ||
| TCallTraitsBase | TRemoveConst<> is modeled after boost's implementation. | ||
| TCallTraitsParamTypeHelper | Call traits helpers | ||
| TChooseClass | Chooses between two different classes based on a boolean. | ||
| TCopyQualifiersAndRefsFromTo | Copies the cv-qualifiers and references from one type to another, e.g.: | ||
| TCopyQualifiersFromTo | Copies the cv-qualifiers from one type to another, e.g.: | ||
| TCVTupleArity | |||
| TCVTupleElement | |||
| TCVTupleIndex | |||
| TDebugHelper | |||
| TDecay | Returns the decayed type of T, meaning it removes all references, qualifiers and applies array-to-pointer and function-to-pointer conversions. | ||
| TDecayNonReference | |||
| TDefaultDelete | Single-ownership smart pointer in the vein of std::unique_ptr. | ||
| TDeleterHolder | A helper class that efficiently stores a custom deleter and is intended to be derived from. | ||
| TDereferenceWrapper | Helper class for dereferencing pointer types in Sort function | ||
| TDontCopy | Can be used as a wrapper over non-copyable objects (i.e. FCriticalSection) if you still want the class containing your object to keep its copyable property without compromising integrity of the object that doesn't support being copied. | ||
| TEnableIf | Includes a function in an overload set if the predicate is true. | ||
| TEqualTo | Binary predicate class for performing equality comparisons. | ||
| TForceInitAtBoot | Template for initializing a singleton at the boot. | ||
| TFormatSpecifier | TFormatSpecifier, only applies to numeric types | ||
| TFunction_OwnedObject | |||
| TFunctionRefBase | A class which defines an operator() which will own storage of a callable and invoke the TFunctionRefCaller::Call function on it. | ||
| TFunctionRefCaller | A class which is used to instantiate the code needed to call a bound function. | ||
| TFunctionStorage | |||
| TGetTupleHashHelper | |||
| TGreater | Binary predicate class for sorting elements in reverse order. | ||
| TGuardValue | Exception-safe guard around saving/restoring a value. | ||
| TGuardValue_Bitfield_Cleanup | |||
| TGuardValueAccessors | Guard around saving/restoring a value. | ||
| TIdentity | Returns the same type passed to it. | ||
| TImpl | |||
| TIntegralConstant | Defines a value metafunction of the given Value. | ||
| TIntrusiveReferenceController | |||
| TInvokeResult | Trait for the type of the result when invoking a callable with the given argument types. | ||
| TInvokeResult_Impl | |||
| TIsAbstract | Traits class which tests if a type is abstract. | ||
| TIsArithmetic | Traits class which tests if a type is arithmetic. | ||
| TIsArray | Traits class which tests if a type is a C++ array. | ||
| TIsArrayOrRefOfType | Type trait which returns true if the type T is an array or a reference to an array of ArrType. | ||
| TIsArrayOrRefOfTypeByPredicate | Type trait which returns true if the type T is an array or a reference to an array of a type which matches the predicate. | ||
| TIsBitwiseConstructible | Tests if a type T is bitwise-constructible from a given argument type U. | ||
| TIsBoundedArray | Traits class which tests if a type is a bounded C++ array. | ||
| TIsClass | Determines if T is a struct/class type | ||
| TIsConst | Traits class which tests if a type is const. | ||
| TIsConstructible | Determines if T is constructible from a set of arguments. | ||
| TIsDerivedFrom | Is type DerivedType inherited from BaseType. | ||
| TIsEnum | |||
| TIsEnumClass | Traits class which tests if a type is arithmetic. | ||
| TIsEnumConvertibleToInt | |||
| TIsFloatingPoint | Traits class which tests if a type is floating point. | ||
| TIsFunction | TIsFunctionTests is a type is a function. | ||
| TIsFundamentalType | TIsFundamentalType | ||
| TIsInitializerList | Traits class which tests if a type is an initializer list. | ||
| TIsIntegral | Traits class which tests if a type is integral. | ||
| TIsInvocable | Traits class which tests if an instance of CallableType can be invoked with a list of the arguments of the types provided. | ||
| TIsInvocableImpl | |||
| TIsLValueReferenceType | TIsLValueReferenceType | ||
| TIsMemberPointer | Traits class which tests if a type is a pointer to member (data member or member function). | ||
| TIsPODType | Traits class which tests if a type is POD. | ||
| TIsPointer | Traits class which tests if a type is a pointer. | ||
| TIsPolymorphic | Traits class which tests if a type is polymorphic (virtual). | ||
| TIsReferenceType | TIsReferenceType | ||
| TIsRValueReferenceType | TIsRValueReferenceType | ||
| TIsSigned | Traits class which tests if a type is a signed integral type. | ||
| TIsSupportedSize | |||
| TIsTFunction | Traits class which checks if T is a TFunction<> type. | ||
| TIsTFunctionRef | Traits class which checks if T is a TFunctionRef<> type. | ||
| TIsTrivial | Traits class which tests if a type is trivial. | ||
| TIsTriviallyCopyAssignable | Traits class which tests if a type has a trivial copy assignment operator. | ||
| TIsTriviallyCopyConstructible | Traits class which tests if a type has a trivial copy constructor. | ||
| TIsTUniqueFunction | Traits class which checks if T is a TFunction<> type. | ||
| TIsTuple | |||
| TIsUECoreType | Traits class which tests if a type is part of the core types included in CoreMinimal.h. | ||
| TIsUECoreVariant | Traits class which tests if a type is a core variant type (e.g. FVector, which supports FVector3f/FVector3d float/double variants. Can be used to determine if the provided type is a core variant type in general: e.g. TIsUECoreVariant |
||
| TIsUnboundedArray | Traits class which tests if a type is an unbounded C++ array. | ||
| TIsValidVariadicFunctionArg | Tests if a type is a valid argument to a variadic function, e.g. printf. | ||
| TIsVoidPointer | |||
| TIsWeakPointerType | TIsWeakPointerType | ||
| TIsZeroConstructType | TIsZeroConstructType | ||
| TJugglingRotation | Array rotation using juggling technique. | ||
| TKeyValuePair | Helper class to make it easy to use key/value pairs with a container. | ||
| TLazyEnableIf | This is a variant of the above that will determine the return type 'lazily', i.e. only if the function is enabled. | ||
| TLess | Binary predicate class for sorting elements in order. | ||
| TLessThanHelper | |||
| TLosesQualifiersFromTo | Tests if qualifiers are lost between one type and another, e.g.: | ||
| TMakeSigned | Traits class which gets the signed version of an integer type. | ||
| TMakeUnsigned | Traits class which gets the unsigned version of an integer type. | ||
| TMaxSizeof | Finds the maximum sizeof the supplied types | ||
| TMergeSort | Merge sort class. | ||
| TModels | Traits class which does concept checking. | ||
| TMoveSupportTraits | This traits class is intended to be used in pairs to allow efficient and correct move-aware overloads for generic types. | ||
| TMoveSupportTraitsBase | |||
| TNameOf | TNameOf | ||
| TNonNullPtr | TNonNullPtr is a non-nullable, non-owning, raw/naked/unsafe pointer. | ||
| TNot | Does a boolean NOT of the Value static members of the type. | ||
| TNthTypeFromParameterPack | TIsSame | ||
| TOptionalGuardValue | Exception-safe guard around saving/restoring a value. | ||
| TOr | Does a boolean OR of the Value static members of each type, but short-circuits if any Type::Value == true. | ||
| TOrValue | |||
| TPimplHeapObjectImpl | |||
| TPimplPtr | Forward declaration. | ||
| TPointerIsConvertibleFromTo | Tests if a From* is convertible to a To* | ||
| TPointerIsConvertibleFromTo_TestBase | |||
| TPointerIsConvertibleFromTo_TestDerived | |||
| TPointerIsConvertibleFromTo_Unrelated | |||
| TPtrVariantBase | |||
| TRadixSortKeyCastUint32 | |||
| TRawPtrProxy | NOTE: The following is an Unreal extension to standard shared_ptr behavior. | ||
| TRawPtrProxyWithDeleter | NOTE: The following is an Unreal extension to standard shared_ptr behavior. | ||
| TRefCountingMixin | Ref-counting mixin, designed to add ref-counting to an object without requiring a virtual destructor. | ||
| TRefCountPtr | A smart pointer to an object which implements AddRef/Release. | ||
| TReferenceControllerBase | |||
| TReferenceControllerWithDeleter | |||
| TRemoveExtent | Removes one dimension of extents from an array type. | ||
| TRemovePointer | Removes one level of pointer from a type, e.g.: | ||
| TRemoveReference | TRemoveReference |
||
| TRetainedRef | TRetainedRef |
||
| TReversePredicate | Helper class to reverse a predicate. Performs Predicate(B, A) | ||
| TRotationInPlaceMerge | Merge policy for merge sort. | ||
| TRValueToLValueReference | TRValueToLValueReference converts any rvalue reference type into the equivalent lvalue reference, otherwise returns the same type. | ||
| TScopeCounter | Commonly used to make sure a value is incremented, and then decremented anyway the function can terminate. | ||
| TScopedCallback | Helper object for batching callback requests and firing on destruction of the FScopedCallback object. | ||
| TSharedFromThis | Derive your class from TSharedFromThis to enable access to a TSharedRef directly from an object instance that's already been allocated. | ||
| TSharedPtr | TSharedPtr is a non-intrusive reference-counted authoritative object pointer. | ||
| TSharedRef | NOTE: TSharedRef is an Unreal extension to standard smart pointer feature set. | ||
| TStrongPtrVariant | [TStrongPtrVariant](API\Runtime\Core\Templates\TStrongPtrVariant)_ will be either a TStrongObjectPtr or `TSharedPtr |
||
| TTransformTuple_Impl | |||
| TTuple | |||
| TTupleArity | Traits class which calculates the number of elements in a tuple. | ||
| TTupleBase | |||
| TTupleBaseElement | |||
| TTupleElementGetterByIndex | |||
| TTupleElementGetterByType | |||
| TTypeCompatibleBytes | An untyped array of data with compile-time alignment and size derived from another type. | ||
| TTypeTraits | Traits for types. | ||
| TTypeTraitsBase | Helper for array traits. | ||
| TUniqueFunction | TUniqueFunction |
||
| TUniqueObj | This is essentially a reference version of TUniquePtr Useful to force heap allocation of a value, e.g. in a TMap to give similar behaviour to TIndirectArray | ||
| TUniquePtr | |||
| TValueOrError | Type used to return either a value or an error. | ||
| TValueOrError_ErrorProxy | |||
| TValueOrError_ValueProxy | |||
| TVisitTupleElements_Impl | |||
| TVoid | |||
| TWeakPtr | TWeakPtr is a non-intrusive reference-counted weak object pointer. | ||
| TWeakPtrVariant | [TWeakPtrVariant](API\Runtime\Core\Templates\TWeakPtrVariant)_ and TStrongPtrVariant are particularly useful for "interfaces" in areas where UObjects and non-UObjects exist to hold onto a "smart" pointer to the Interface, rather than needing to keep track of the implementing class to check validity and manually cast [TWeakPtrVariant](API\Runtime\Core\Templates\TWeakPtrVariant)_ will be either a TWeakObjectPtr or `TWeakPtr_ |
Typedefs
| Name | Description |
|---|---|
| FCopyFunc | |
| FDeleteFunc | |
| TAtomicBaseType_T | |
| TCopyQualifiersAndRefsFromTo_T | |
| TFuncPtrTypeIfPossible_T | |
| TIdentity_T | |
| TInvokeResult_T | |
| TTupleElement | Traits class which gets the element type of a TTuple with the given index. |
| TTupleIndex | Traits class which gets the tuple index of a given type from a given TTuple. |
| TUnderlyingIntegerType_T |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EDefaultConstructNonNullPtr | |||
| EMemoryOrder | |||
| EPimplPtrMode | Single-ownership smart pointer similar to TUniquePtr but with a few differences which make it particularly useful for (but not limited to) implementing the pimpl pattern: | ||
| ERefCountingMode | ERefCountingMode is used select between either 'fast' or 'thread safe' ref-counting types. | ||
| ESPMode | ESPMode is used select between either 'fast' or 'thread safe' shared pointer types. | ||
| UE::Core::Private::Tuple::EForwardingConstructor | |||
| UE::Core::Private::Tuple::EOtherTupleConstructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| T | Aligns a value to the nearest higher multiple of 'Alignment', which must be a power of two. | ||
| T | AlignArbitrary
(
T Val, |
Aligns a value to the nearest higher multiple of 'Alignment'. | |
| T | Aligns a value to the nearest lower multiple of 'Alignment', which must be a power of two. | ||
| const T(& | AsConst
(
T(&) Array |
Returns a non-const reference type as const. | |
| void | AsConst
(
const T&& Ref |
Disallowed for rvalue references because it cannot extend their lifetime. | |
| const T & | AsConst
(
T& Ref |
Returns a non-const reference type as const. | |
| ToType | BitCast
(
const FromType& From |
||
| T | Generates a bitmask with a given number of bits set. | ||
| void | CleanupPointerArray
(
TArray< TWeakPtr< Type > >& PointerArray |
Given a TArray of TWeakPtr's, will remove any invalid pointers. | |
| void | CleanupPointerMap
(
TMap< TWeakPtr< KeyType >, ValueType >& PointerMap |
Given a TMap of TWeakPtr's, will remove any invalid pointers. | |
| bool | CompareItems
(
const ElementType* A, |
||
| TSharedPtr< CastToType, Mode > | ConstCastSharedPtr
(
TSharedPtr< CastFromType, Mode > const& InSharedPtr |
Casts a 'const' shared pointer to 'mutable' shared pointer. (const_cast) | |
| TSharedRef< CastToType, Mode > | ConstCastSharedRef
(
TSharedRef< CastFromType, Mode > const& InSharedRef |
Casts a 'const' shared reference to 'mutable' shared reference. (const_cast) | |
| TWeakPtr< CastToType, Mode > | ConstCastWeakPtr
(
TWeakPtr< CastFromType, Mode > const& InWeakPtr |
Casts a 'const' weak pointer to 'mutable' weak pointer. (const_cast) | |
| void | ConstructItems
(
void* Dest, |
Constructs a range of items into memory from a set of arguments. | |
| void | CopyAssignItems
(
ElementType* Dest, |
Copy assigns a range of items. | |
| T | CopyTemp
(
const T& Val |
||
| T | CopyTemp
(
T& Val |
CopyTemp will enforce the creation of a prvalue which can bind to rvalue reference parameters. | |
| std::decay_t< T > | CopyTempIfNecessary
(
T&& Val |
CopyTempIfNecessary will enforce the creation of a prvalue. | |
| T && | DeclVal () |
Equivalent to std::declval. | |
| void | DefaultConstructItems
(
void* Address, |
Default constructs a range of items in memory. | |
| void | DestructItem
(
ElementType* Element |
Destructs a single item in memory. | |
| void | DestructItems
(
ElementType* Element, |
Destructs a range of items in memory. | |
| void | Exchange
(
T& A, |
||
| OutType | FloatCastChecked
(
InType In, |
||
| bool | FloatFitsIn
(
InType In, |
Test if value can make a static_cast roundtrip via OutType whilst maintaining precision | |
| T && | Forward
(
std::remove_reference_t< T >& Obj |
Forward will cast a reference to an rvalue reference. This is UE's equivalent of std::forward. | |
| T && | Forward
(
std::remove_reference_t< T >&& Obj |
||
| decltype(auto) | ForwardAsBase
(
std::remove_reference_t< T >& Obj |
ForwardAsBase will cast a reference to an rvalue reference of a base type. | |
| decltype(auto) | ForwardAsBase
(
std::remove_reference_t< T >&& Obj |
||
| TTuple< Types &&... > | ForwardAsTuple
(
Types&&... Args |
Makes a TTuple from some arguments. | |
| uint32 | Freeze::IntrinsicAppendHash
(
const TTuple< KeyType, ValueType >* DummyObject, |
||
| uint32 | Freeze::IntrinsicGetTargetAlignment
(
const TTuple< KeyType, ValueType >* DummyObject, |
||
| uint32 | Freeze::IntrinsicUnfrozenCopy
(
const FMemoryUnfreezeContent& Context, |
||
| void | Freeze::IntrinsicWriteMemoryImage
(
FMemoryImageWriter& Writer, |
||
| void | Freeze::IntrinsicWriteMemoryImage
(
FMemoryImageWriter& Writer, |
||
| decltype(auto) | get
(
TupleType&& val |
||
| uint32 | GetArrayHash
(
const T* Ptr, |
||
| decltype(Container.GetData()) | GetData
(
T&& Container |
Generically gets the data pointer of a contiguous container | |
| T * | GetData
(
T(&&) Container |
||
| const T * | GetData
(
const T(&) Container |
||
| const T * | GetData
(
std::initializer_list< T > List |
||
| T * | GetData
(
T(&) Container |
||
| const T * | GetData
(
const T(&&) Container |
||
| SIZE_T | GetNum
(
const T(&&) Container |
||
| int32 | GetNum
(
std::initializer_list< T > List |
Gets the number of items in an initializer list. | |
| SIZE_T | GetNum
(
const T(&) Container |
||
| SIZE_T | GetNum
(
T(&&) Container |
||
| SIZE_T | GetNum
(
T(&) Container |
||
| decltype(Container.Num()) | GetNum
(
T&& Container |
Generically gets the number of items in a contiguous container | |
| ObjectType * | GetRawPointerOrNull
(
const TOptional< gsl::not_null< ObjectType* > >& Optional |
Utility function to turn an `TOptional |
|
| ObjectType * | GetRawPointerOrNull
(
const TOptional< TNonNullPtr< ObjectType > >& Optional |
Convenience function to turn an `TOptional<TNonNullPtr |
|
| ObjectType * | GetRawPointerOrNull
(
const TOptional< gsl::strict_not_null< ObjectType* > >& Optional |
Utility function to turn an `TOptional |
|
| uint32 | GetTypeHash
(
ScalarType Value |
Hash functions for common types. | |
| uint32 | GetTypeHash
(
const TRefCountPtr< ReferencedType >& InPtr |
||
| uint32 | GetTypeHash
(
const TSharedRef< ObjectType, Mode >& InSharedRef |
Computes a hash code for this object | |
| uint32 | GetTypeHash
(
const TSharedPtr< ObjectType, Mode >& InSharedPtr |
Computes a hash code for this object | |
| uint32 | GetTypeHash
(
const TWeakPtr< ObjectType, Mode >& InWeakPtr |
Computes a hash code for this object | |
| uint32 | GetTypeHash
(
const TTuple< Types... >& Tuple |
||
| uint32 | GetTypeHash
(
const TTuple<>& Tuple |
||
| uint32 | GetTypeHash
(
T(&) Array |
||
| decltype(GetTypeHash(*NotNull)) | GetTypeHash
(
const gsl::strict_not_null< ObjectType >& NotNull |
Utility function to hash a `gsl::strict_not_null |
|
| decltype(GetTypeHash(*NotNull)) | GetTypeHash
(
const gsl::not_null< ObjectType >& NotNull |
Utility function to hash a `gsl::not_null |
|
| uint32 | GetTypeHash
(
T* Value |
||
| uint32 | GetTypeHashHelper
(
const T& V |
Use this when inside type that has GetTypeHash() (no in-parameters) implemented. It makes GetTypeHash dispatch in global namespace. | |
| uint32 | HashCombine
(
uint32 A, |
Combines two hash values to get a third. | |
| uint32 | HashCombineFast
(
uint32 A, |
Combines two hash values to get a third. | |
| ReferencedType * | IfAThenAElseB
(
ReferencedType* A, |
Chooses between the two parameters based on whether the first is nullptr or not. | |
| ReferencedType * | IfPThenAElseB
(
PredicateType Predicate, |
Branchless pointer selection based on predicate return PTRINT(Predicate) ? A : B; | |
| T | ImplicitConv
(
typename TIdentity< T >::Type Obj |
Uses implicit conversion to create an instance of a specific type. | |
| OutType | IntCastChecked
(
InType In |
Cast and check that value fits in OutType | |
| bool | IntFitsIn
(
InType In |
Test if value can make a lossless static_cast roundtrip via OutType without a sign change | |
| decltype(Forward< FuncType >(Func)(Forward< ArgTypes >(Args)...)) | Invoke
(
FuncType&& Func, |
Invokes a callable with a set of arguments. | |
| decltype(UE::Core::Private::DereferenceIfNecessary< ObjType >(Forward< TargetType >(Target), &Target... | Invoke
(
ReturnType ObjType::* pdm, |
||
| decltype((UE::Core::Private::DereferenceIfNecessary< ObjType >(Forward< TargetType >(Target), &Targe... | Invoke
(
PtrMemFunType PtrMemFun, |
||
| bool | Checks if a pointer is aligned to the specified alignment. | ||
| bool | |||
| TValueOrError_ErrorProxy< ArgTypes... > | MakeError
(
ArgTypes&&... Args |
||
| TPimplPtr< T, Mode > | MakePimpl
(
ArgTypes&&... Args |
Heap-allocates an instance of T with the given arguments and returns it as a TPimplPtr. | |
| TRefCountPtr< T > | MakeRefCount
(
TArgs&&... Args |
||
| SharedPointerInternals::TRawPtrProxy< ObjectType > | MakeShareable
(
ObjectType* InObject |
NOTE: The following is an Unreal extension to standard shared_ptr behavior. | |
| SharedPointerInternals::TRawPtrProxyWithDeleter< ObjectType, DeleterType > | MakeShareable
(
ObjectType* InObject, |
NOTE: The following is an Unreal extension to standard shared_ptr behavior. | |
| TSharedRef< InObjectType, InMode > | MakeShared
(
InArgTypes&&... Args |
MakeShared utility function. | |
| TTuple< std::decay_t< Types >... > | MakeTuple
(
Types&&... Args |
Makes a TTuple from some arguments. | |
| TUniquePtr< T > | MakeUnique
(
SIZE_T Size |
Allocates a new array of type T with the given size and returns it as a TUniquePtr. | |
| TUniquePtr< T > | MakeUnique
(
TArgs&&... Args |
Allocates a new object of type T with the given arguments and returns it as a TUniquePtr. | |
| TUniquePtr< T > | Allocates a new object of type T with the given arguments and returns it as a TUniquePtr. | ||
| TUniquePtr< T > | MakeUniqueForOverwrite
(
SIZE_T Size |
Allocates a new array of type T with the given size and returns it as a TUniquePtr. | |
| TValueOrError_ValueProxy< ArgTypes... > | MakeValue
(
ArgTypes&&... Args |
||
| ForwardIt | MaxElement
(
ForwardIt First, |
Works just like std::max_element. | |
| ForwardIt | MaxElement
(
ForwardIt First, |
Works just like std::max_element. | |
| void | Stable merge to perform sort below. Stable sort is slower than non-stable algorithm. | ||
| ForwardIt | MinElement
(
ForwardIt First, |
Works just like std::min_element. | |
| ForwardIt | MinElement
(
ForwardIt First, |
Works just like std::min_element. | |
| void | Move
(
T& A, |
This is used to provide type specific behavior for a copy which cannot change the value of B. | |
| void | Move
(
T& A, |
This is used to provide type specific behavior for a move which may change the value of B. | |
| void | MoveAssignItems
(
ElementType* Dest, |
Move assigns a range of items. | |
| void | MoveConstructItems
(
void* Dest, |
Move constructs a range of items into memory. | |
| std::remove_reference_t< T > && | MoveTemp
(
T&& Obj |
MoveTemp will cast a reference to an rvalue reference. | |
| std::remove_reference_t< T > && | MoveTempIfPossible
(
T&& Obj |
MoveTempIfPossible will cast a reference to an rvalue reference. | |
| bool | operator!=
(
TYPE_OF_NULLPTR, |
Nullptr inequality operator. | |
| bool | operator!=
(
TYPE_OF_NULLPTR, |
||
| bool | operator!=
(
const UE::Core::Private::TPtrVariantBase< LhsType, bLhsStrength >& Lhs, |
||
| bool | operator!=
(
LhsType* Lhs, |
||
| bool | operator!=
(
TSharedRef< ObjectTypeA, Mode > const& InSharedRefA, |
Global inequality operator for TSharedRef | |
| bool | operator!=
(
TSharedPtr< ObjectTypeA, Mode > const& InSharedPtrA, |
Global inequality operator for TSharedPtr | |
| bool | operator!=
(
TSharedPtr< ObjectTypeA, Mode > const& InSharedPtrA, |
Global inequality operator for TSharedPtr | |
| bool | operator!=
(
TYPE_OF_NULLPTR, |
Global inequality operator for TSharedPtr | |
| bool | operator!=
(
TSharedPtr< ObjectTypeB, Mode > const& InSharedPtr, |
Tests to see if a TSharedRef is not "equal" to a TSharedPtr (shared pointer is invalid, or both refer to different objects) (reverse) | |
| bool | operator!=
(
TWeakPtr< ObjectTypeA, Mode > const& InWeakPtrA, |
Global inequality operator for TWeakPtr | |
| bool | operator!=
(
TWeakPtr< ObjectTypeA, Mode > const& InWeakPtrA, |
Global equality operator for TWeakPtr | |
| bool | operator!=
(
TSharedRef< ObjectTypeA, Mode > const& InSharedRefA, |
Global equality operator for TWeakPtr | |
| bool | operator!=
(
TSharedPtr< ObjectTypeA, Mode > const& InSharedPtrA, |
Global equality operator for TWeakPtr | |
| bool | operator!=
(
TWeakPtr< ObjectTypeA, Mode > const& InWeakPtrA, |
Global inequality operator for TWeakPtr | |
| bool | operator!=
(
TYPE_OF_NULLPTR, |
Global inequality operator for TWeakPtr | |
| bool | operator!=
(
TYPE_OF_NULLPTR, |
||
| bool | operator!=
(
TSharedRef< ObjectTypeA, Mode > const& InSharedRef, |
Tests to see if a TSharedRef is not "equal" to a TSharedPtr (shared pointer is invalid, or both refer to different objects) | |
| bool | operator!=
(
TWeakPtr< ObjectTypeA, Mode > const& InWeakPtrA, |
Global equality operator for TWeakPtr | |
| bool | operator!=
(
const UE::Core::Private::TPtrVariantBase< LhsType, bLhsStrength >& Lhs, |
||
| bool | operator==
(
TSharedRef< ObjectTypeA, Mode > const& InSharedRefA, |
Global equality operator for TWeakPtr | |
| bool | operator==
(
TSharedPtr< ObjectTypeB, Mode > const& InSharedPtr, |
Tests to see if a TSharedRef is "equal" to a TSharedPtr (both are valid and refer to the same object) (reverse) | |
| bool | operator==
(
TSharedRef< ObjectTypeA, Mode > const& InSharedRef, |
Tests to see if a TSharedRef is "equal" to a TSharedPtr (both are valid and refer to the same object) | |
| bool | operator==
(
TYPE_OF_NULLPTR, |
Global equality operator for TSharedPtr | |
| bool | operator==
(
TSharedPtr< ObjectTypeA, Mode > const& InSharedPtrA, |
Global equality operator for TSharedPtr | |
| bool | operator==
(
TYPE_OF_NULLPTR, |
||
| bool | operator==
(
TYPE_OF_NULLPTR, |
Global equality operator for TWeakPtr | |
| bool | operator==
(
TWeakPtr< ObjectTypeA, Mode > const& InWeakPtrA, |
Global equality operator for TWeakPtr | |
| bool | operator==
(
TWeakPtr< ObjectTypeA, Mode > const& InWeakPtrA, |
Global equality operator for TWeakPtr | |
| bool | operator==
(
TYPE_OF_NULLPTR, |
Nullptr equality operator. | |
| bool | operator==
(
TYPE_OF_NULLPTR, |
||
| bool | operator==
(
const UE::Core::Private::TPtrVariantBase< LhsType, bLhsStrength >& Lhs, |
||
| bool | operator==
(
LhsType* Lhs, |
||
| bool | operator==
(
const UE::Core::Private::TPtrVariantBase< LhsType, bLhsStrength >& Lhs, |
||
| bool | operator==
(
ReferencedType* A, |
||
| bool | operator==
(
TSharedPtr< ObjectTypeA, Mode > const& InSharedPtrA, |
Global equality operator for TWeakPtr | |
| bool | operator==
(
TSharedRef< ObjectTypeA, Mode > const& InSharedRefA, |
Global equality operator for TSharedRef | |
| bool | operator==
(
TSharedPtr< ObjectTypeA, Mode > const& InSharedPtrA, |
Global equality operator for TSharedPtr | |
| bool | operator==
(
TWeakPtr< ObjectTypeA, Mode > const& InWeakPtrA, |
Global equality operator for TWeakPtr | |
| bool | operator==
(
TWeakPtr< ObjectTypeA, Mode > const& InWeakPtrA, |
Global equality operator for TWeakPtr | |
| uint32 | PointerHash
(
const void* Key |
||
| uint32 | PointerHash
(
const void* Key, |
||
| void | RadixSort32
(
ValueType*__restrict Dst, |
||
| void | RadixSort32
(
ValueType*__restrict Dst, |
Very fast 32bit radix sort. | |
| void | RadixSort32
(
float*__restrict Dst, |
||
| int(&)[!!TModels_V< Concept, Args... > *2 - 1] | Refines () |
Helper function which can be used as an expression in a concept to refine ('inherit') another concept. | |
| void | RelocateConstructItem
(
void* Dest, |
Relocates a single items to a new memory location as a new type. | |
| void | RelocateConstructItems
(
void* Dest, |
Relocates a range of items to a new memory location as a new type. | |
| T | ReverseBits
(
T Bits |
Reverses the order of the bits of a value. | |
| void | SharedPointerInternals::EnableSharedFromThis
(
SharedPtrType* InSharedPtrOrRef, |
Templated helper function (const) that creates a shared pointer from an object instance | |
| TReferenceControllerBase< Mode > * | SharedPointerInternals::NewCustomReferenceController
(
ObjectType* Object, |
Creates a custom reference controller with a specified deleter | |
| TReferenceControllerBase< Mode > * | SharedPointerInternals::NewDefaultReferenceController
(
ObjectType* Object |
Creates a reference controller which just calls delete | |
| TIntrusiveReferenceController< ObjectType, Mode > * | SharedPointerInternals::NewIntrusiveReferenceController
(
ArgTypes&&... Args |
Creates an intrusive reference controller | |
| void | Specialized version of the above Sort function for pointers to elements. | ||
| void | Sort elements. | ||
| void | Sort elements using user defined predicate class. | ||
| void | Specialized version of the above Sort function for pointers to elements. | ||
| void | StableSort
(
T* First, |
Stable sort elements. | |
| void | StableSort
(
T** First, |
Specialized version of the above StableSort function for pointers to elements. | |
| void | StableSort
(
T** First, |
Specialized version of the above StableSort function for pointers to elements. | |
| void | StableSort
(
T* First, |
Stable sort elements using user defined predicate class. | |
| void | StableSortInternal
(
T* First, |
Stable sort elements using user defined predicate class. | |
| T | StaticCast
(
ArgType&& Arg |
This exists to avoid a Visual Studio bug where using a cast to forward an rvalue reference array argument to a pointer parameter will cause bad code generation. | |
| TSharedPtr< CastToType, Mode > | StaticCastSharedPtr
(
TSharedPtr< CastFromType, Mode > const& InSharedPtr |
Casts a shared pointer of one type to another type. (static_cast) Useful for down-casting. | |
| TSharedRef< CastToType, Mode > | StaticCastSharedRef
(
TSharedRef< CastFromType, Mode > const& InSharedRef |
SharedPointerInternals.h contains the implementation of reference counting structures we need. | |
| TWeakPtr< CastToType, Mode > | StaticCastWeakPtr
(
TWeakPtr< CastFromType, Mode > const& InWeakPtr |
Casts a weak pointer of one type to another type. (static_cast) Useful for down-casting. | |
| void | Swap
(
T& A, |
Swap two values. Assumes the types are trivially relocatable. | |
| TTuple< Types &... > | Tie
(
Types&... Args |
Tie function for structured unpacking of tuples into individual variables. | |
| decltype(auto) | TransformTuple
(
TTuple< Types... >&& Tuple, |
Creates a new TTuple by applying a functor to each of the elements. | |
| decltype(auto) | TransformTuple
(
const TTuple< Types... >& Tuple, |
||
| T * | UE::Core::Private::Atomic::AddExchange
(
T*volatile* Element, |
||
| T | UE::Core::Private::Atomic::AddExchange
(
volatile T* Element, |
||
| T | UE::Core::Private::Atomic::AndExchange
(
volatile T* Element, |
||
| T | UE::Core::Private::Atomic::CompareExchange
(
volatile T* Element, |
||
| T * | UE::Core::Private::Atomic::DecrementExchange
(
T*volatile* Element |
||
| T | UE::Core::Private::Atomic::DecrementExchange
(
volatile T* Element |
||
| T | UE::Core::Private::Atomic::Exchange
(
volatile T* Element, |
||
| T * | UE::Core::Private::Atomic::IncrementExchange
(
T*volatile* Element |
||
| T | UE::Core::Private::Atomic::IncrementExchange
(
volatile T* Element |
||
| T | UE::Core::Private::Atomic::Load
(
const volatile T* Element |
||
| T | UE::Core::Private::Atomic::LoadRelaxed
(
const volatile T* Element |
||
| T | UE::Core::Private::Atomic::OrExchange
(
volatile T* Element, |
||
| void | UE::Core::Private::Atomic::Store
(
const volatile T* Element, |
||
| void | UE::Core::Private::Atomic::StoreRelaxed
(
const volatile T* Element, |
||
| T * | UE::Core::Private::Atomic::SubExchange
(
T*volatile* Element, |
||
| T | UE::Core::Private::Atomic::SubExchange
(
volatile T* Element, |
||
| T | UE::Core::Private::Atomic::XorExchange
(
volatile T* Element, |
||
| decltype((TargetType &&) Target) | UE::Core::Private::DereferenceIfNecessary
(
TargetType&& Target, |
||
| decltype(*(TargetType &&) Target) | UE::Core::Private::DereferenceIfNecessary
(
TargetType&& Target, |
||
| bool | UE::Core::Private::Function::IsBound
(
const T& Func |
||
| decltype(+std::declval< FunctorType >()) | UE::Core::Private::Function::ResolveFuncPtrTypeIfPossible
(
FunctorType&&, |
||
| FunctorType && | UE::Core::Private::Function::ResolveFuncPtrTypeIfPossible
(
FunctorType&&, |
||
| T && | |||
| TSharedRef< ObjectType, Mode > | UE::Core::Private::MakeSharedRef
(
ObjectType* InObject, |
Needed to work around an Android compiler bug - we need to construct a TSharedRef from MakeShared without making MakeShared a friend in order to access the private constructor. | |
| char(& | UE::Core::Private::ModelsResolve
(
... |
||
| char(& | UE::Core::Private::ModelsResolve
(
decltype&::< ... >Ts* |
||
| void * | UE::Core::Private::PimplPtr::CallCopier
(
void* Ptr |
||
| void | UE::Core::Private::PimplPtr::CallDeleter
(
void* Ptr |
||
| void * | UE::Core::Private::PimplPtr::CopyFunc
(
void* A |
||
| void | UE::Core::Private::PimplPtr::DeleterFunc
(
void* Ptr |
||
| void | UE::Core::Private::Tuple::Assign
(
LhsType& Lhs, |
||
| decltype(ConceptCheckingHelper((DeclVal< Given >()=DeclVal< Deduced && >(), 0)...)) | UE::Core::Private::Tuple::AssignableConceptCheck
(
Deduced&& ... |
||
| void | UE::Core::Private::Tuple::ConceptCheckingHelper
(
ArgTypes&& ... |
This only exists to have something to expand a parameter pack into, for concept checking. | |
| std::enable_if_t< std::conjunction_v< std::is_constructible< Given, Deduced && >... > > | UE::Core::Private::Tuple::ConstructibleConceptCheck
(
Deduced&& ... |
||
| TTuple< ElementTypes... > | UE::Core::Private::Tuple::MakeTupleImpl
(
Types&&... Args |
||
| uint32 | UE::Private::MurmurFinalize32
(
uint32 Hash |
||
| char(& | UEArrayCountHelper
(
const T |
||
| void | VisitTupleElements
(
FuncType&& Func, |
Visits each element in the specified tuples in parallel and applies them as arguments to the functor. | |
| bool | XOR
(
bool A, |
A logical exclusive or function. |
Variables
| Type | Name | Description | |
|---|---|---|---|
| SIZE_T | RequiredAlignment | ||
| bool | TCanBitwiseRelocate_V | ||
| T | TForceConstEval_V | ||
| bool | TIsTSharedPtr_V | Trait which determines whether or not a type is a TSharedPtr. | |
| bool | TIsTSharedPtr_V< const TSharedPtr< ObjectType, InMode > > | ||
| bool | TIsTSharedPtr_V< const volatile TSharedPtr< ObjectType, InMode > > | ||
| bool | TIsTSharedPtr_V< TSharedPtr< ObjectType, InMode > > | ||
| bool | TIsTSharedPtr_V< volatile TSharedPtr< ObjectType, InMode > > | ||
| bool | TIsTSharedRef_V | Trait which determines whether or not a type is a TSharedRef. | |
| bool | TIsTSharedRef_V< const TSharedRef< ObjectType, InMode > > | ||
| bool | TIsTSharedRef_V< const volatile TSharedRef< ObjectType, InMode > > | ||
| bool | TIsTSharedRef_V< TSharedRef< ObjectType, InMode > > | ||
| bool | TIsTSharedRef_V< volatile TSharedRef< ObjectType, InMode > > | ||
| bool | TIsTUniqueObj_V | Trait which determines whether or not a type is a TUniqueObj. | |
| bool | TIsTUniqueObj_V< const TUniqueObj< T > > | ||
| bool | TIsTUniqueObj_V< const volatile TUniqueObj< T > > | ||
| bool | TIsTUniqueObj_V< TUniqueObj< T > > | ||
| bool | TIsTUniqueObj_V< volatile TUniqueObj< T > > | ||
| bool | TIsTUniquePtr_V | Trait which determines whether or not a type is a TUniquePtr. | |
| bool | TIsTUniquePtr_V< const TUniquePtr< T, Deleter > > | ||
| bool | TIsTUniquePtr_V< const volatile TUniquePtr< T, Deleter > > | ||
| bool | TIsTUniquePtr_V< TUniquePtr< T, Deleter > > | ||
| bool | TIsTUniquePtr_V< volatile TUniquePtr< T, Deleter > > | ||
| bool | TIsTuple_V | ||
| bool | TIsTuple_V< const TTuple< Types... > > | ||
| bool | TIsTuple_V< const volatile TTuple< Types... > > | ||
| bool | TIsTuple_V< TTuple< Types... > > | ||
| bool | TIsTuple_V< volatile TTuple< Types... > > | ||
| bool | TIsTWeakPtr_V | Trait which determines whether or not a type is a TWeakPtr. | |
| bool | TIsTWeakPtr_V< const TWeakPtr< ObjectType, InMode > > | ||
| bool | TIsTWeakPtr_V< const volatile TWeakPtr< ObjectType, InMode > > | ||
| bool | TIsTWeakPtr_V< TWeakPtr< ObjectType, InMode > > | ||
| bool | TIsTWeakPtr_V< volatile TWeakPtr< ObjectType, InMode > > | ||
| bool | TModels_V | Trait which does concept checking. | |
| uint32 | TTypeCountInParameterPack_V | ||
| uint32 | TTypeCountInParameterPack_V< T, U, Types... > |