Navigation
Unreal Engine C++ API Reference > Runtime > Core > Internationalization
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Internationalization/InternationalizationMetadata.h |
Include | #include "Internationalization/InternationalizationMetadata.h" |
Syntax
class FLocMetadataObject
Remarks
A LocMetadata Object is a structure holding an unordered set of name/value pairs.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TMap< FString, TSharedPtr< FLocMetadataValue > > | Values | Stores the name/value pairs for the metadata object |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FLocMetadataObject
(
const FLocMetadataObject& Other |
Copy ctor |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< TSharedPtr< FLocMetadataValue > > | GetArrayField
(
const FString& FieldName |
Get the field named FieldName as an array. |
![]() |
bool | GetBoolField
(
const FString& FieldName |
Get the field named FieldName as a boolean. |
![]() |
TSharedPtr< FLocMetadataValue > | ||
![]() |
TSharedPtr< FLocMetadataObject > | GetObjectField
(
const FString& FieldName |
Get the field named FieldName as a LocMetadata object. |
![]() |
FString | GetStringField
(
const FString& FieldName |
Get the field named FieldName as a string. |
![]() |
bool | Checks to see if the FieldName exists in the object. | |
![]() |
bool | HasTypedField
(
const FString& FieldName |
Checks to see if the FieldName exists in the object, and has the specified type. |
![]() ![]() |
bool | IsExactMatch
(
const FLocMetadataObject& Other |
Similar functionality to == operator but ensures everything matches(ignores COMPARISON_MODIFIER_PREFIX). |
![]() ![]() |
bool | IsMetadataExactMatch
(
const FLocMetadataObject*const MetadataA, |
|
![]() |
void | RemoveField
(
const FString& FieldName |
|
![]() |
void | SetArrayField
(
const FString& FieldName, |
Set an array field named FieldName and value of Array |
![]() |
void | SetBoolField
(
const FString& FieldName, |
Set a boolean field named FieldName and value of InValue |
![]() |
void | SetField
(
const FString& FieldName, |
|
![]() |
void | SetObjectField
(
const FString& FieldName, |
Set an ObjectField named FieldName and value of LocMetadataObject |
![]() |
void | SetStringField
(
const FString& FieldName, |
Add a field named FieldName with value of StringValue |
![]() ![]() |
FString | ToString () |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator<
(
const FLocMetadataObject& Other |
|
![]() |
FLocMetadataObject & | operator=
(
const FLocMetadataObject& Other |
|
![]() ![]() |
bool | operator==
(
const FLocMetadataObject& Other |
Constants
Name | Description |
---|---|
COMPARISON_MODIFIER_PREFIX | Special reserved character. |