engine
 
载入中...
搜索中...
未找到
所有成员列表
FAssetDataTagMap类 参考

Type of tag map. 更多...

#include <AssetDataTagMap.h>

+ 类 FAssetDataTagMap 继承关系图:

额外继承的成员函数

- Public 类型 继承自 TSortedMap< FName, FString, FDefaultAllocator, FNameFastLess >
typedef ElementArrayType::RangedForIteratorType RangedForIteratorType
 Ranged For iterators. 更多...
 
- Public 成员函数 继承自 TSortedMap< FName, FString, FDefaultAllocator, FNameFastLess >
FORCEINLINE FString & Add (const FName &InKey)
 Sets a default value associated with a key. 更多...
 
FORCEINLINE FString & Add (const FName &InKey, const FString &InValue)
 Sets the value associated with a key. 更多...
 
void Append (const TSortedMap< FName, FString, OtherArrayAllocator, OtherSortPredicate > &OtherMap)
 Add all items from another map to our map (if any keys are in both, the value from the other map wins). 更多...
 
void Append (TSortedMap< FName, FString, OtherArrayAllocator, OtherSortPredicate > &&OtherMap)
 Move all items from another map into our map (if any keys are in both, the value from the other map wins) and empty the other map. 更多...
 
FORCEINLINE RangedForIteratorType begin ()
 DO NOT USE DIRECTLY STL-like iterators to enable range-based for loop support.
 
FORCEINLINE bool Contains (KeyConstPointerType Key) const
 Checks if map contains the specified key. 更多...
 
FORCEINLINE void CountBytes (FArchive &Ar) const
 Tracks the container's memory use through an archive.
 
FORCEINLINE TConstIterator CreateConstIterator () const
 Creates a const iterator over all the pairs in this map
 
FORCEINLINE TConstKeyIterator CreateConstKeyIterator (KeyInitType InKey) const
 Creates a const iterator over the values associated with a specified key in a map. 更多...
 
FORCEINLINE TIterator CreateIterator ()
 Creates an iterator over all the pairs in this map
 
FORCEINLINE TKeyIterator CreateKeyIterator (KeyInitType InKey)
 Creates an iterator over the values associated with a specified key in a map. 更多...
 
void Dump (FOutputDevice &Ar)
 Describes the map's contents through an output device. 更多...
 
FString & Emplace (InitKeyType &&InKey)
 Sets a default value associated with a key. 更多...
 
FString & Emplace (InitKeyType &&InKey, InitValueType &&InValue)
 Sets the value associated with a key. 更多...
 
FORCEINLINE void Empty (int32 ExpectedNumElements=0)
 Removes all elements from the map, potentially leaving space allocated for an expected number of elements about to be added. 更多...
 
FORCEINLINE FString * Find (KeyConstPointerType Key)
 Returns the value associated with a specified key. 更多...
 
FORCEINLINE FString FindAndRemoveChecked (KeyConstPointerType Key)
 Finds a pair with the specified key, removes it from the map, and returns the value part of the pair. 更多...
 
FORCEINLINE FString & FindChecked (KeyConstPointerType Key)
 Returns a reference to the value associated with a specified key. 更多...
 
const FName * FindKey (ValueInitType Value) const
 Returns the key associated with the specified value. 更多...
 
FORCEINLINE FString & FindOrAdd (const FName &Key)
 Returns the value associated with a specified key, or if none exists, adds a value using the default constructor. 更多...
 
FORCEINLINE FString FindRef (KeyConstPointerType Key) const
 Returns the value associated with a specified key. 更多...
 
void GenerateKeyArray (TArray< FName, Allocator > &OutArray) const
 Generates an array from the keys in this map.
 
void GenerateValueArray (TArray< FString, Allocator > &OutArray) const
 Generates an array from the values in this map.
 
FORCEINLINE SIZE_T GetAllocatedSize () const
 Helper function to return the amount of memory allocated by this container. 更多...
 
int32 GetKeys (TArray< FName, Allocator > &OutKeys) const
 Returns the unique keys contained within this map. 更多...
 
FORCEINLINE int32 Num () const
 
FORCEINLINE bool operator!= (const TSortedMap &Other) const
 Inequality operator. 更多...
 
TSortedMap & operator= (const TSortedMap< FName, FString, OtherArrayAllocator, FNameFastLess > &Other)
 Assignment operator for copying elements from a TSortedMap with a different ArrayAllocator.
 
TSortedMap & operator= (TSortedMap< FName, FString, OtherArrayAllocator, FNameFastLess > &&Other)
 Assignment operator for moving elements from a TSortedMap with a different ArrayAllocator.
 
FORCEINLINE bool operator== (const TSortedMap &Other) const
 Equality operator. 更多...
 
FORCEINLINE int32 Remove (KeyConstPointerType InKey)
 Removes all value associations for a key. 更多...
 
FORCEINLINE bool RemoveAndCopyValue (KeyInitType Key, FString &OutRemovedValue)
 Removes the pair with the specified key and copies the value that was removed to the ref parameter. 更多...
 
FORCEINLINE void Reserve (int32 Number)
 Preallocates enough memory to contain Number elements.
 
FORCEINLINE void Reset ()
 Efficiently empties out the map but preserves all allocations and capacities.
 
FORCEINLINE void Shrink ()
 Shrinks the pair set to avoid slack.
 
 TSortedMap (const TSortedMap< FName, FString, OtherArrayAllocator, FNameFastLess > &Other)
 Constructor for copying elements from a TSortedMap with a different ArrayAllocator.
 
 TSortedMap (TSortedMap< FName, FString, OtherArrayAllocator, FNameFastLess > &&Other)
 Constructor for moving elements from a TSortedMap with a different ArrayAllocator.
 

详细描述

Type of tag map.

Using derived class to allow prototyping.


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