FAssetTagValueRef

Reference to a tagged value in a [FAssetDataTagMapSharedView](API\Runtime\CoreUObject\AssetRegistry\FAssetDataTagMapSharedView)

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetDataTagMap.h

Include

#include "AssetRegistry/AssetDataTagMap.h"

Syntax

class FAssetTagValueRef

Remarks

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.

Variables

Name Description

Public variable

uint64

 

Bits

Public variable

FFixedTagValue

 

Fixed

Public variable

FStringPointer

 

Loose

Constructors

Name Description

Public function

FAssetTagValueRef()

Public function

FAssetTagValueRef

(
    const FAssetTagValueRef&
)

Public function

FAssetTagValueRef

(
    FAssetTagValueRef&&
)

Public function

FAssetTagValueRef

(
    const FString* Str
)

Public function

FAssetTagValueRef

(
    uint32 StoreIndex,
    FixedTagPrivate::FValueId ValueId
)

Functions

Name Description

Public function Const

FAssetRegist...

 

AsExportPath()

Public function Const

FName

 

AsName()

Public function Const

FString

 

AsString()

Public function Const

FText

 

AsText()

Public function Const

bool

 

Equals

(
    FStringView Str
)

Public function Const

FString

 

GetValue()

Public function Const

bool

 

IsSet()

Public function Const

FString

 

ToLoose()

Get FTexts as unlocalized complex strings. For internal use only, to make new FAssetDataTagMapSharedView.

Public function Const

bool

 

TryGetAsText

(
    FText& Out
)

Operators

Name Description

Public function

FAssetTagVal...

 

operator=

(
    FAssetTagValueRef&&
)

Public function

FAssetTagVal...

 

operator=

(
    const FAssetTagValueRef&
)

Deprecated Functions

Name Description

Public function Const

 

operator FString()

Use AsString(), AsName(), AsExportPath() or AsText() instead.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss