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
Return true if this map contains a specific key value pair.
Value comparisons are NOT cases sensitive.