Navigation
API > API/Plugins > API/Plugins/WebAPIEditor > API/Plugins/WebAPIEditor/CodeGen
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UWebAPICodeGeneratorBase
References
| Module | WebAPIEditor |
| Header | /Engine/Plugins/Experimental/Web/WebAPI/Source/WebAPIEditor/Public/CodeGen/WebAPICodeGenerator.h |
| Include | #include "CodeGen/WebAPICodeGenerator.h" |
Syntax
UCLASS&40;Abstract&41;
class UWebAPICodeGeneratorBase :
public UObject,
public IWebAPICodeGeneratorInterface
Remarks
WebAPICodeGenerator base implementation. Converts WebAPI schema to code gen primitives. Use of this baseclass is optional.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CheckNameConflicts
(
const TWeakObjectPtr< UWebAPIDefinition >& InDefinition, |
||
| bool | CheckNameConflicts
(
const TWeakObjectPtr< UWebAPIDefinition >& InDefinition, |
||
| bool | CheckNameConflicts
(
const TWeakObjectPtr< UWebAPIDefinition >& InDefinition, |
||
| TFuture< EWebAPIGenerationResult > | GenerateEnum
(
const TWeakObjectPtr< UWebAPIDefinition >& InDefinition, |
Converts the given Enum to a CodeGen Enum object. | |
| TFuture< EWebAPIGenerationResult > | GenerateFile
(
const TWeakObjectPtr< UWebAPIDefinition >& InDefinition, |
Converts the given Definition to a CodeGen File object. | |
| TFuture< EWebAPIGenerationResult > | GenerateModel
(
const TWeakObjectPtr< UWebAPIDefinition >& InDefinition, |
Converts the given Model to a CodeGen Struct object. | |
| TFuture< EWebAPIGenerationResult > | GenerateServiceOperations
(
const TWeakObjectPtr< UWebAPIDefinition >& InDefinition, |
Converts the given Service to a CodeGen Operation array. | |
| TFuture< EWebAPIGenerationResult > | GenerateSettings
(
const TWeakObjectPtr< UWebAPIDefinition >& InDefinition, |
Converts the given Definition to a CodeGen Settings object. |
Overridden from IWebAPICodeGeneratorInterface
| Type | Name | Description | |
|---|---|---|---|
| TFuture< EWebAPIGenerationResult > | Generate
(
const TWeakObjectPtr< UWebAPIDefinition >& InDefinition |
Generate code for the given WebAPI Definition. | |
| TFuture< bool > | IsAvailable () |
Check to see if this generator is available for use. |
Constants
| Name | Description |
|---|---|
| LogName |