engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 友元 | 所有成员列表
FAssetDataTagMapSharedView类 参考

Wrapper of shared pointer to a map 更多...

#include <AssetDataTagMap.h>

Public 成员函数

FAssetDataTagMap::RangedForConstIteratorType begin () const
 Range for iterator access - DO NOT USE DIRECTLY
 
bool Contains (FAssetDataTagMap::KeyConstPointerType Key) const
 Determine whether a key is present in the map
 
bool ContainsKeyValue (FName Tag, const FString &Value) const
 Return true if this map contains a specific key value pair. 更多...
 
FAssetDataTagMap::TConstIterator CreateConstIterator () const
 Iterate all key-value pairs
 
FAssetDataTagMap::RangedForConstIteratorType end () const
 Range for iterator access - DO NOT USE DIRECTLY
 
 FAssetDataTagMapSharedView ()
 Default constructor - empty map
 
 FAssetDataTagMapSharedView (FAssetDataTagMap &&InMap)
 Constructor from an existing map pointer
 
 FAssetDataTagMapSharedView (TSharedPtr< FAssetDataTagMap > InMap)
 Constructor from an existing map pointer
 
const FString * Find (FAssetDataTagMap::KeyConstPointerType Key) const
 Find a value by key (nullptr if not found)
 
const FString FindChecked (FAssetDataTagMap::KeyConstPointerType Key) const
 Find a value by key (abort if not found)
 
FString FindRef (FAssetDataTagMap::KeyConstPointerType Key) const
 Find a value by key (default value if not found)
 
FFindTagResult FindTag (FName Tag) const
 Find a value by key and return an option indicating if it was found, and if so, what the value is.
 
template<class FAllocator >
void GenerateKeyArray (TArray< FName, FAllocator > &OutKeys) const
 Populate an array with all the map's keys
 
template<class FAllocator >
void GenerateValueArray (TArray< FName, FAllocator > &OutValues) const
 Populate an array with all the map's values
 
uint32 GetAllocatedSize () const
 Returns amount of extra memory used by this structure, including shared ptr overhead
 
template<class FAllocator >
int32 GetKeys (TArray< FName, FAllocator > &OutKeys) const
 Populate an array with all the map's keys
 
const FAssetDataTagMap & GetMap () const
 Const access to the underlying map, mainly for taking a copy
 
int32 Num () const
 Retrieve size of map
 
void Shrink ()
 Shrinks the contained map
 

友元

class FAssetRegistryState
 

详细描述

Wrapper of shared pointer to a map

成员函数说明

◆ ContainsKeyValue()

bool FAssetDataTagMapSharedView::ContainsKeyValue ( FName  Tag,
const FString &  Value 
) const
inline

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

Value comparisons are NOT cases sensitive.


该类的文档由以下文件生成: