UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FAssetTagValueRef Class Reference

#include <AssetDataTagMap.h>

Public Member Functions

 FAssetTagValueRef ()=default
 
 FAssetTagValueRef (const FAssetTagValueRef &)=default
 
 FAssetTagValueRef (FAssetTagValueRef &&)=default
 
 FAssetTagValueRef (const FString *Str)
 
 FAssetTagValueRef (uint32 StoreIndex, FixedTagPrivate::FValueId ValueId)
 
FAssetTagValueRefoperator= (const FAssetTagValueRef &)=default
 
FAssetTagValueRefoperator= (FAssetTagValueRef &&)=default
 
bool IsSet () const
 
COREUOBJECT_API FString AsString () const
 
COREUOBJECT_API FName AsName () const
 
COREUOBJECT_API FAssetRegistryExportPath AsExportPath () const
 
COREUOBJECT_API FText AsText () const
 
COREUOBJECT_API bool TryGetAsText (FText &Out) const
 
FString GetValue () const
 
FString GetStorageString () const
 
COREUOBJECT_API int64 GetResourceSize () const
 
COREUOBJECT_API bool Equals (FStringView Str) const
 

Friends

class FAssetDataTagMapSharedView
 
class FixedTagPrivate::FStoreBuilder
 
bool operator== (FAssetTagValueRef A, FStringView B)
 
bool operator!= (FAssetTagValueRef A, FStringView B)
 
bool operator== (FStringView A, FAssetTagValueRef B)
 
bool operator!= (FStringView A, FAssetTagValueRef B)
 
bool operator== (FAssetTagValueRef A, const FString &B)
 
bool operator!= (FAssetTagValueRef A, const FString &B)
 
bool operator== (const FString &A, FAssetTagValueRef B)
 
bool operator!= (const FString &A, FAssetTagValueRef B)
 

Detailed Description

Reference to a tagged value in a FAssetDataTagMapSharedView

Helps avoid needless FString conversions when using fixed / cooked tag values that are stored as FName, FText or FAssetRegistryExportPath.

Constructor & Destructor Documentation

◆ FAssetTagValueRef() [1/5]

FAssetTagValueRef::FAssetTagValueRef ( )
default

◆ FAssetTagValueRef() [2/5]

FAssetTagValueRef::FAssetTagValueRef ( const FAssetTagValueRef )
default

◆ FAssetTagValueRef() [3/5]

FAssetTagValueRef::FAssetTagValueRef ( FAssetTagValueRef &&  )
default

◆ FAssetTagValueRef() [4/5]

FAssetTagValueRef::FAssetTagValueRef ( const FString *  Str)
inlineexplicit

◆ FAssetTagValueRef() [5/5]

FAssetTagValueRef::FAssetTagValueRef ( uint32  StoreIndex,
FixedTagPrivate::FValueId  ValueId 
)
inline

Member Function Documentation

◆ AsExportPath()

FAssetRegistryExportPath FAssetTagValueRef::AsExportPath ( ) const

◆ AsName()

FName FAssetTagValueRef::AsName ( ) const

◆ AsString()

FString FAssetTagValueRef::AsString ( ) const

◆ AsText()

FText FAssetTagValueRef::AsText ( ) const

◆ Equals()

bool FAssetTagValueRef::Equals ( FStringView  Str) const

◆ GetResourceSize()

int64 FAssetTagValueRef::GetResourceSize ( ) const

Measure how much memory is used by the value. Does not account for deduplication, adding the results for keys sharing a duplicated value will overreport how much memory is used.

◆ GetStorageString()

FString FAssetTagValueRef::GetStorageString ( ) const
inline

Coerce the type to a Complex String capable of representing the type

◆ GetValue()

FString FAssetTagValueRef::GetValue ( ) const
inline

◆ IsSet()

bool FAssetTagValueRef::IsSet ( ) const
inline

◆ operator=() [1/2]

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

◆ operator=() [2/2]

FAssetTagValueRef & FAssetTagValueRef::operator= ( FAssetTagValueRef &&  )
default

◆ TryGetAsText()

bool FAssetTagValueRef::TryGetAsText ( FText Out) const

Friends And Related Symbol Documentation

◆ FAssetDataTagMapSharedView

◆ FixedTagPrivate::FStoreBuilder

◆ operator!= [1/4]

bool operator!= ( const FString &  A,
FAssetTagValueRef  B 
)
friend

◆ operator!= [2/4]

bool operator!= ( FAssetTagValueRef  A,
const FString &  B 
)
friend

◆ operator!= [3/4]

bool operator!= ( FAssetTagValueRef  A,
FStringView  B 
)
friend

◆ operator!= [4/4]

bool operator!= ( FStringView  A,
FAssetTagValueRef  B 
)
friend

◆ operator== [1/4]

bool operator== ( const FString &  A,
FAssetTagValueRef  B 
)
friend

◆ operator== [2/4]

bool operator== ( FAssetTagValueRef  A,
const FString &  B 
)
friend

◆ operator== [3/4]

bool operator== ( FAssetTagValueRef  A,
FStringView  B 
)
friend

◆ operator== [4/4]

bool operator== ( FStringView  A,
FAssetTagValueRef  B 
)
friend

Member Data Documentation

◆ Bits

uint64 FAssetTagValueRef::Bits = 0

◆ Fixed

FFixedTagValue FAssetTagValueRef::Fixed

◆ Loose

FStringPointer FAssetTagValueRef::Loose

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