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

#include <PropertyVisitor.h>

Public Member Functions

 FPropertyVisitorInfo (const FProperty *InProperty, int32 InIndex=INDEX_NONE, EPropertyVisitorInfoType InPropertyInfo=EPropertyVisitorInfoType::None, const UStruct *InParentStructType=nullptr)
 
 FPropertyVisitorInfo (const FProperty *InProperty, const UStruct *InParentStructType)
 
 FPropertyVisitorInfo (const FPropertyVisitorInfo &)=default
 
 FPropertyVisitorInfo (FPropertyVisitorInfo &&)=default
 
FPropertyVisitorInfooperator= (const FPropertyVisitorInfo &)=default
 
FPropertyVisitorInfooperator= (FPropertyVisitorInfo &&)=default
 
COREUOBJECT_API bool Identical (const FPropertyVisitorInfo &Other) const
 

Public Attributes

const FPropertyProperty = nullptr
 
const UStructParentStructType = nullptr
 
int32 Index = INDEX_NONE
 
EPropertyVisitorInfoType PropertyInfo = EPropertyVisitorInfoType::None
 
bool bContainsInnerProperties = false
 

Friends

bool operator== (const FPropertyVisitorInfo &A, const FPropertyVisitorInfo &B)
 
bool operator!= (const FPropertyVisitorInfo &A, const FPropertyVisitorInfo &B)
 
uint32 GetTypeHash (const FPropertyVisitorInfo &A)
 

Constructor & Destructor Documentation

◆ FPropertyVisitorInfo() [1/4]

FPropertyVisitorInfo::FPropertyVisitorInfo ( const FProperty InProperty,
int32  InIndex = INDEX_NONE,
EPropertyVisitorInfoType  InPropertyInfo = EPropertyVisitorInfoType::None,
const UStruct InParentStructType = nullptr 
)
inlineexplicit

◆ FPropertyVisitorInfo() [2/4]

FPropertyVisitorInfo::FPropertyVisitorInfo ( const FProperty InProperty,
const UStruct InParentStructType 
)
inlineexplicit

◆ FPropertyVisitorInfo() [3/4]

FPropertyVisitorInfo::FPropertyVisitorInfo ( const FPropertyVisitorInfo )
default

◆ FPropertyVisitorInfo() [4/4]

FPropertyVisitorInfo::FPropertyVisitorInfo ( FPropertyVisitorInfo &&  )
default

Member Function Documentation

◆ Identical()

bool FPropertyVisitorInfo::Identical ( const FPropertyVisitorInfo Other) const

◆ operator=() [1/2]

FPropertyVisitorInfo & FPropertyVisitorInfo::operator= ( const FPropertyVisitorInfo )
default

◆ operator=() [2/2]

FPropertyVisitorInfo & FPropertyVisitorInfo::operator= ( FPropertyVisitorInfo &&  )
default

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FPropertyVisitorInfo A)
friend

◆ operator!=

bool operator!= ( const FPropertyVisitorInfo A,
const FPropertyVisitorInfo B 
)
friend

◆ operator==

bool operator== ( const FPropertyVisitorInfo A,
const FPropertyVisitorInfo B 
)
friend
Note
The default comparison only compares the key data to match GetTypeHash and is for use with hashed containers and ResolveVisitedPathInfo_Generic; use Identical for an exact comparison

Member Data Documentation

◆ bContainsInnerProperties

bool FPropertyVisitorInfo::bContainsInnerProperties = false

◆ Index

int32 FPropertyVisitorInfo::Index = INDEX_NONE

Index of the element being visited in the container, otherwise INDEX_NONE. For maps and sets it indicates the logical index.

◆ ParentStructType

const UStruct* FPropertyVisitorInfo::ParentStructType = nullptr

The parent struct that provided the property being iterated, if iterating a sub-property within a struct.

Note
This is slightly different from Property->GetOwnerStruct() as you might be iterating a FDerived instance but processing a FBase struct property. In this case this will be set to FDerived rather than FBase.

◆ Property

const FProperty* FPropertyVisitorInfo::Property = nullptr

The property currently being visited

◆ PropertyInfo

EPropertyVisitorInfoType FPropertyVisitorInfo::PropertyInfo = EPropertyVisitorInfoType::None

Whether this property is inside a container and if it is key or a value of a map


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