UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPropertyBagContainerTypes Struct Reference

#include <PropertyBag.h>

Public Member Functions

 FPropertyBagContainerTypes ()=default
 
 FPropertyBagContainerTypes (EPropertyBagContainerType ContainerType)
 
 FPropertyBagContainerTypes (const std::initializer_list< EPropertyBagContainerType > &InTypes)
 
bool Add (const EPropertyBagContainerType PropertyBagContainerType)
 
void Reset ()
 
bool IsEmpty () const
 
uint32 Num () const
 
bool CanAdd () const
 
EPropertyBagContainerType GetFirstContainerType () const
 
EPropertyBagContainerType operator[] (int32 Index) const
 
UE_API EPropertyBagContainerType PopHead ()
 
UE_API void Serialize (FArchive &Ar)
 
UE_API bool operator== (const FPropertyBagContainerTypes &Other) const
 
UE_FORCEINLINE_HINT bool operator!= (const FPropertyBagContainerTypes &Other) const
 
EPropertyBagContainerTypebegin ()
 
const EPropertyBagContainerTypebegin () const
 
EPropertyBagContainerTypeend ()
 
const EPropertyBagContainerTypeend () const
 

Protected Attributes

TStaticArray< EPropertyBagContainerType, MaxNestedTypesTypes = TStaticArray<EPropertyBagContainerType, MaxNestedTypes>(InPlace, EPropertyBagContainerType::None)
 
uint8 NumContainers = 0
 

Static Protected Attributes

static constexpr uint8 MaxNestedTypes = 2
 

Friends

FArchiveoperator<< (FArchive &Ar, FPropertyBagContainerTypes &ContainerTypesData)
 
UE_FORCEINLINE_HINT uint32 GetTypeHash (const FPropertyBagContainerTypes &PropertyBagContainerTypes)
 

Detailed Description

Helper to manage container types, with nested container support.

Constructor & Destructor Documentation

◆ FPropertyBagContainerTypes() [1/3]

FPropertyBagContainerTypes::FPropertyBagContainerTypes ( )
default

◆ FPropertyBagContainerTypes() [2/3]

FPropertyBagContainerTypes::FPropertyBagContainerTypes ( EPropertyBagContainerType  ContainerType)
inlineexplicit

◆ FPropertyBagContainerTypes() [3/3]

FPropertyBagContainerTypes::FPropertyBagContainerTypes ( const std::initializer_list< EPropertyBagContainerType > &  InTypes)
inline

Member Function Documentation

◆ Add()

bool FPropertyBagContainerTypes::Add ( const EPropertyBagContainerType  PropertyBagContainerType)
inline

◆ begin() [1/2]

EPropertyBagContainerType * FPropertyBagContainerTypes::begin ( )
inline

◆ begin() [2/2]

const EPropertyBagContainerType * FPropertyBagContainerTypes::begin ( ) const
inline

◆ CanAdd()

bool FPropertyBagContainerTypes::CanAdd ( ) const
inline

◆ end() [1/2]

EPropertyBagContainerType * FPropertyBagContainerTypes::end ( )
inline

◆ end() [2/2]

const EPropertyBagContainerType * FPropertyBagContainerTypes::end ( ) const
inline

◆ GetFirstContainerType()

EPropertyBagContainerType FPropertyBagContainerTypes::GetFirstContainerType ( ) const
inline

◆ IsEmpty()

bool FPropertyBagContainerTypes::IsEmpty ( ) const
inline

◆ Num()

uint32 FPropertyBagContainerTypes::Num ( ) const
inline

◆ operator!=()

UE_FORCEINLINE_HINT bool FPropertyBagContainerTypes::operator!= ( const FPropertyBagContainerTypes Other) const
inline

◆ operator==()

bool FPropertyBagContainerTypes::operator== ( const FPropertyBagContainerTypes Other) const

◆ operator[]()

EPropertyBagContainerType FPropertyBagContainerTypes::operator[] ( int32  Index) const
inline

◆ PopHead()

EPropertyBagContainerType FPropertyBagContainerTypes::PopHead ( )

◆ Reset()

void FPropertyBagContainerTypes::Reset ( )
inline

◆ Serialize()

void FPropertyBagContainerTypes::Serialize ( FArchive Ar)

Friends And Related Symbol Documentation

◆ GetTypeHash

UE_FORCEINLINE_HINT uint32 GetTypeHash ( const FPropertyBagContainerTypes PropertyBagContainerTypes)
friend

◆ operator<<

FArchive & operator<< ( FArchive Ar,
FPropertyBagContainerTypes ContainerTypesData 
)
friend

Member Data Documentation

◆ MaxNestedTypes

constexpr uint8 FPropertyBagContainerTypes::MaxNestedTypes = 2
staticconstexprprotected

◆ NumContainers

uint8 FPropertyBagContainerTypes::NumContainers = 0
protected

◆ Types


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