UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CompactSet.h.inl File Reference

Go to the source code of this file.

Classes

class  UE_TCOMPACT_SET< InElementType, KeyFuncs, Allocator >
 
class  UE_TCOMPACT_SET< InElementType, KeyFuncs, Allocator >::TIterator
 
class  UE_TCOMPACT_SET< InElementType, KeyFuncs, Allocator >::TKeyIterator
 
struct  TSETPRIVATEFRIEND
 
struct  TIsTSet< UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > >
 
struct  TIsTSet< const UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > >
 
struct  TIsTSet< volatile UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > >
 
struct  TIsTSet< const volatile UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > >
 

Namespaces

namespace  UE
 
namespace  UE::Core
 
namespace  UE::Core::Private
 implementation
 
namespace  Freeze
 

Macros

#define TSETPRIVATEFRIEND   PREPROCESSOR_JOIN(UE_TCOMPACT_SET, PrivateFriend)
 
#define UE_COMPACTHASHTABLE_EXECUTEBYTYPE(Type)
 

Functions

CORE_API void UE::Core::Private::OnInvalidSetNum (unsigned long long NewNum)
 
template<typename RangeType >
 UE_TCOMPACT_SET (RangeType &&) -> UE_TCOMPACT_SET< TElementType_T< RangeType > >
 
template<typename ElementType , typename KeyFuncs , typename Allocator >
void Freeze::IntrinsicWriteMemoryImage (FMemoryImageWriter &Writer, const UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > &Object, const FTypeLayoutDesc &)
 
template<typename ElementType , typename KeyFuncs , typename Allocator >
uint32 Freeze::IntrinsicUnfrozenCopy (const FMemoryUnfreezeContent &Context, const UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > &Object, void *OutDst)
 
template<typename ElementType , typename KeyFuncs , typename Allocator >
uint32 Freeze::IntrinsicAppendHash (const UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > *DummyObject, const FTypeLayoutDesc &TypeDesc, const FPlatformTypeLayoutParameters &LayoutParams, FSHA1 &Hasher)
 
 DECLARE_TEMPLATE_INTRINSIC_TYPE_LAYOUT ((template< typename ElementType, typename KeyFuncs, typename Allocator >),(UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator >))
 
template<typename ElementType , typename KeyFuncs , typename Allocator >
FArchiveoperator<< (FArchive &Ar, UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > &Set)
 
template<typename ElementType , typename KeyFuncs , typename Allocator >
void operator<< (FStructuredArchive::FSlot &Ar, UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > &Set)
 
template<typename ElementType , typename KeyFuncs , typename Allocator >
bool LegacyCompareEqual (const UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > &A, const UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > &B)
 
template<typename ElementType , typename KeyFuncs , typename Allocator >
bool LegacyCompareNotEqual (const UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > &A, const UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > &B)
 

Macro Definition Documentation

◆ TSETPRIVATEFRIEND

◆ UE_COMPACTHASHTABLE_EXECUTEBYTYPE

#define UE_COMPACTHASHTABLE_EXECUTEBYTYPE (   Type)
Value:
const Type* NextIndices = (const Type *)NextIndicesData; \
const Type* HashIndices = NextIndices + this->MaxElements; \
for (Type Index = HashIndices[KeyHash & (HashCount-1)]; Index != (Type)INDEX_NONE; Index = NextIndices[Index]) \
{ \
checkSlow((SizeType)Index < this->NumElements); \
if (KeyFuncs::Matches(KeyFuncs::GetSetKey(ElementData[Index]), Key)) \
{ \
return Index; \
} \
}
@ INDEX_NONE
Definition CoreMiscDefines.h:150
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
U16 Index
Definition radfft.cpp:71

Function Documentation

◆ DECLARE_TEMPLATE_INTRINSIC_TYPE_LAYOUT()

DECLARE_TEMPLATE_INTRINSIC_TYPE_LAYOUT ( (template< typename ElementType, typename KeyFuncs, typename Allocator >)  ,
(UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator >)   
)

◆ LegacyCompareEqual()

template<typename ElementType , typename KeyFuncs , typename Allocator >
bool LegacyCompareEqual ( const UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > &  A,
const UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > &  B 
)

◆ LegacyCompareNotEqual()

template<typename ElementType , typename KeyFuncs , typename Allocator >
bool LegacyCompareNotEqual ( const UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > &  A,
const UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > &  B 
)

◆ operator<<() [1/2]

template<typename ElementType , typename KeyFuncs , typename Allocator >
FArchive & operator<< ( FArchive Ar,
UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > &  Set 
)

Serializer.

◆ operator<<() [2/2]

template<typename ElementType , typename KeyFuncs , typename Allocator >
void operator<< ( FStructuredArchive::FSlot Ar,
UE_TCOMPACT_SET< ElementType, KeyFuncs, Allocator > &  Set 
)

Structured archive serializer.

◆ UE_TCOMPACT_SET()

template<typename RangeType >
UE_TCOMPACT_SET ( RangeType &&  ) -> UE_TCOMPACT_SET< TElementType_T< RangeType > >