Navigation
API > API/Plugins > API/Plugins/WebAPIEditor
Holds Type information for a given Schema.
| Name | UWebAPITypeRegistry |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Web/WebAPI/Source/WebAPIEditor/Public/Dom/WebAPITypeRegistry.h |
| Include Path | #include "Dom/WebAPITypeRegistry.h" |
Syntax
UCLASS ()
class UWebAPITypeRegistry : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UWebAPITypeRegistry
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| LogName | const TCHAR * | For use by the WebAPI Message Log. | Dom/WebAPITypeRegistry.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GeneratedTypes | TArray< TObjectPtr< UWebAPITypeInfo > > | Array of TypeInfo objects to generate (no built-in types). | Dom/WebAPITypeRegistry.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CheckAllNamed () |
Checks for any unnamed types, logs a message and returns false if one or more unnamed still exist. | Dom/WebAPITypeRegistry.h | |
bool CheckAllNamed
(
TArray< TObjectPtr< UWebAPITypeInfo > >& OutUnnamedTypes |
Checks for and outputs any unnamed types, logs a message and returns false if one or more unnamed still exist. | Dom/WebAPITypeRegistry.h | |
void Clear() |
Clears all stored type information. | Dom/WebAPITypeRegistry.h | |
const TObjectPtr< UWebAPITypeInfo > * FindGeneratedType
(
const EWebAPISchemaType& InSchemaType, |
Find and return the TypeInfo for the given SchemaType and Name. Returns nullptr if not found. | Dom/WebAPITypeRegistry.h | |
const TArray< TObjectPtr< UWebAPITypeInfo > > & GetGeneratedTypes() |
Returns the array containing all registered TypeInfo's for generation. | Dom/WebAPITypeRegistry.h | |
TArray< TObjectPtr< UWebAPITypeInfo > > & GetMutableGeneratedTypes() |
Returns the mutable array containing all registered TypeInfo's for generation. | Dom/WebAPITypeRegistry.h | |
TObjectPtr< UWebAPITypeInfo > GetOrMakeGeneratedType
(
const EWebAPISchemaType& InSchemaType, |
Dom/WebAPITypeRegistry.h | ||
TObjectPtr< UWebAPITypeInfo > GetOrMakeGeneratedType
(
const EWebAPISchemaType& InSchemaType, |
Find or create the TypeInfo for the given SchemaType and Name. | Dom/WebAPITypeRegistry.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EDataValidationResult IsDataValid
(
FDataValidationContext& Context |
Dom/WebAPITypeRegistry.h |