Navigation
API > API/Plugins > API/Plugins/PCG
Traits
- CanCompare: Supports less than, greater than etc for ordering.
- CanSearchString: Can do string search operations like matching substrings.
- CompressData: Uses value keys, so if two values are identical, we only store one.
- NeedsConstruction: Whether type requires constructor for valid state (i.e. can't simply be zero initialized).
- IsFloatingPoint: Whether the type itself or the container's value type is floating point.
| Name | DefaultStringTraits |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/PCGMetadataAttributeTraits.h |
| Include Path | #include "Metadata/PCGMetadataAttributeTraits.h" |
Syntax
template<typename T>
struct DefaultStringTraits
Derived Classes
DefaultStringTraits derived class hierarchy
Enums
Public
| Name | Remarks |
|---|---|
| DefaultStringTraits |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static T ParseFromString
(
const FString& InString, |
Metadata/PCGMetadataAttributeTraits.h | ||
static FString ToString
(
const T& A |
Metadata/PCGMetadataAttributeTraits.h | ||
static FString ZeroValueString() |
Metadata/PCGMetadataAttributeTraits.h |