FAssetDataTagMapSharedView

Reference-counted handle to a loose [FAssetDataTagMap](API\Runtime\CoreUObject\AssetRegistry\FAssetDataTagMap) or a fixed / immutable cooked tag map

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "AssetRegistry/AssetDataTagMap.h"

Syntax

class FAssetDataTagMapSharedView

Remarks

Reference-counted handle to a loose FAssetDataTagMap or a fixed / immutable cooked tag map

Variables

Name Description

Public variable

uint64

 

Bits

Public variable

FixedTagPrivate...

 

Fixed

Public variable

FAssetDataTagMa...

 

Loose

Constructors

Destructors

Functions

Name Description

Public function Const

TConstIterat...

 

begin()

Range for iterator access - DO NOT USE DIRECTLY

Public function Const

bool

 

Contains

(
    FName Key
)

Determine whether a key is present in the map

Public function Const

bool

 

ContainsKeyValue

(
    FName Tag,
    const FString& Value
)

Return true if this map contains a specific key value pair.

Public function Const

FAssetDataTa...

 

CopyMap()

Copy map contents to a loose FAssetDataTagMap

Public function Const

TConstIterat...

 

CreateConstIterator()

Public function Const

TConstIterat...

 

end()

Range for iterator access - DO NOT USE DIRECTLY

Public function Const

FAssetTagVal...

 

FindTag

(
    FName Tag
)

Find a value by key and return an option indicating if it was found, and if so, what the value is.

Public function Const

void

 

ForEach

(
    Func Fn
)

Public function Const

int32

 

Num()

Retrieve size of map

Public function

void

 

Shrink()

Shrinks the contained map

Operators

Name Description

Public function

FAssetDataTa...

 

operator=

(
    const FAssetDataTagMapSharedView&
)

Public function

FAssetDataTa...

 

operator=

Classes

Name

Description

Public class

FMemoryCounter

Helps count deduplicated memory usage

Public class

TConstIterator

Public class

TConstIteratorWithEnd

Typedefs

Name

Description

FFindTagResult

Deprecated Functions

Name Description

Public function Const

FString

 

FindChecked

(
    FName Key
)

Use FindTag().As[String|Name|Text/ExportPath]() instead, this checks internally.

Public function Const

FString

 

FindRef

(
    FName Key
)

Use FindTag() instead.

Public function Const

uint32

 

GetAllocatedSize()

Use FMemoryCounter instead.

Public function Const

FAssetDataTa...

 

GetMap()

Use CopyMap() instead if you really need to make a copy.

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