![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PropertyTypeName.h>
Public Member Functions | |
| FPropertyTypeName ()=default | |
| UE_API | FPropertyTypeName (const FProperty *Property) |
| bool | IsEmpty () const |
| UE_API FName | GetName () const |
| UE_API int32 | GetParameterCount () const |
| UE_API FPropertyTypeName | GetParameter (int32 ParamIndex) const |
| FName | GetParameterName (int32 ParamIndex) const |
| void | Reset () |
| UE_API bool | IsStruct (FName StructName) const |
| UE_API bool | IsEnum (FName EnumName) const |
Friends | |
| UE_API friend uint32 | GetTypeHash (const FPropertyTypeName &TypeName) |
| UE_API friend void | AppendHash (FBlake3 &Builder, const FPropertyTypeName &TypeName) |
| UE_API friend bool | operator== (const FPropertyTypeName &Lhs, const FPropertyTypeName &Rhs) |
| UE_API friend bool | operator< (const FPropertyTypeName &Lhs, const FPropertyTypeName &Rhs) |
| UE_API friend FArchive & | operator<< (FArchive &Ar, FPropertyTypeName &TypeName) |
| UE_API friend void | operator<< (FStructuredArchiveSlot Slot, FPropertyTypeName &TypeName) |
| UE_API friend FStringBuilderBase & | operator<< (FStringBuilderBase &Builder, const FPropertyTypeName &TypeName) |
Represents the type name of a property, including any containers and underlying types.
The path name for a type is represented as the object name with the outer chain as type parameters.
Examples:
Incomplete property types created from sources with incomplete type information. Consumers must support this.
|
default |
|
explicit |
| FName UE::FPropertyTypeName::GetName | ( | ) | const |
Returns the type at the root of this property type name.
Example: MapProperty(StructProperty(KeyStruct),EnumProperty(ByteEnum,ByteProperty))
| FPropertyTypeName UE::FPropertyTypeName::GetParameter | ( | int32 | ParamIndex | ) | const |
Returns the indexed parameter under the root of this property type name.
An out-of-bounds index will return an empty type name.
Example: MapProperty(StructProperty(KeyStruct),EnumProperty(ByteEnum,ByteProperty))
| int32 UE::FPropertyTypeName::GetParameterCount | ( | ) | const |
Returns the number of type parameters under the root of this property type name.
Example: MapProperty(StructProperty(KeyStruct),EnumProperty(ByteEnum,ByteProperty))
Returns the indexed parameter type name under the root of this property type name.
An out-of-bounds index will return a name of None.
Example: MapProperty(StructProperty(KeyStruct),EnumProperty(ByteEnum,ByteProperty))
|
inline |
Returns true if this is EnumProperty or ByteProperty with a first parameter of EnumName.
Returns true if this is StructProperty with a first parameter of StructName.
|
inline |
Resets this to an empty type name.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |