![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PropertyPairsMap.h>
Public Member Functions | |
| void | AddProperty (FName InName, FName InValue=NAME_None) |
| bool | HasProperty (FName InName) const |
| bool | HasProperty (const TCHAR *InName) const |
| bool | GetProperty (FName InName, FName *OutValue=nullptr) const |
| bool | GetProperty (const TCHAR *InName, FName *OutValue=nullptr) const |
| bool | operator== (const FPropertyPairsMap &InOther) const |
| bool | operator!= (const FPropertyPairsMap &InOther) const |
| template<class Func > | |
| void | ForEachProperty (Func InFunc) |
| bool | IsEmpty () const |
| int32 | Num () const |
| FString | ToString () const |
Protected Attributes | |
| TMap< FName, FName > | Properties |
Friends | |
| FArchive & | operator<< (FArchive &InAr, FPropertyPairsMap &InPropertyPairsMap) |
A simple name/value pairs map
Add a property/value pair to the map. This will replace any existing property with the new value.
| InName | Name of the property. |
| InValue | Optional value to be associated with the property. |
|
inline |
Iterate through the property map and invoke a functor that can optionally break iteration by returning false.
| InFunc | Function to invoke on the properties of the map. |
|
inline |
Gets the value associated with the provided property.
| InName | Name of the property. @out OutValue Value associated with the provided property. |
Test if the provided property exists in the map.
| InName | Name of the property. |
|
inline |
|
inline |
|
inline |
|
inline |
Compare this map with another for equality, ignoring ordering.
| InOther | Other property map to compare against. |
|
inline |
Converts this property map to a string representation.
|
friend |
Serialize this property map to the provided archive.
| Ar | Archive to serialize to. |
| InPropertyPairsMap | Property map to serialize. |