Navigation
API > API/Plugins > API/Plugins/WebAPIEditor
Holds either UWebAPITypeInfo or FString.
| Name | FWebAPITypeNameVariant |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Web/WebAPI/Source/WebAPIEditor/Public/Dom/WebAPISchema.h |
| Include Path | #include "Dom/WebAPISchema.h" |
Syntax
USTRUCT (BlueprintType )
struct FWebAPITypeNameVariant
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Dom/WebAPISchema.h | |||
FWebAPITypeNameVariant
(
const TObjectPtr< UWebAPITypeInfo >& InTypeName |
Dom/WebAPISchema.h | ||
FWebAPITypeNameVariant
(
const FString& InStringName |
Dom/WebAPISchema.h | ||
FWebAPITypeNameVariant
(
const TCHAR* InStringName |
Dom/WebAPISchema.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| JsonName | FString | Field name as sent to and received from the external API. | Dom/WebAPISchema.h |
|
| TypeInfo | TSoftObjectPtr< UWebAPITypeInfo > | TypeInfo. | Dom/WebAPISchema.h |
|
| TypeString | FString | String. | Dom/WebAPISchema.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString GetDisplayName() |
Dom/WebAPISchema.h | ||
FString GetJsonName() |
Dom/WebAPISchema.h | ||
bool HasTypeInfo() |
Check if this has valid TypeInfo. | Dom/WebAPISchema.h | |
bool IsValid() |
Check that either TypeInfo is set and valid, or a TypeString is non-empty. | Dom/WebAPISchema.h | |
FString ToMemberName
(
const FString& InPrefix |
Get the fully formatted name as a valid member name. | Dom/WebAPISchema.h | |
FString ToString
(
bool bInJustName |
Retrieve the String of whichever property is valid. | Dom/WebAPISchema.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FWebAPITypeNameVariant & operator=
(
const FString& InStringName |
Copy-assignment. | Dom/WebAPISchema.h |