Navigation
API > API/Plugins > API/Plugins/WebAPIEditor > API/Plugins/WebAPIEditor/CodeGen
References
| Module | WebAPIEditor |
| Header | /Engine/Plugins/Experimental/Web/WebAPI/Source/WebAPIEditor/Public/CodeGen/WebAPICodeGeneratorSettings.h |
| Include | #include "CodeGen/WebAPICodeGeneratorSettings.h" |
Syntax
USTRUCT&40;&41;
struct FWebAPICodeGeneratorSettings
Remarks
Encapsulates settings for WebAPI code generation.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bOverrideGeneratorClass | Whether to override the Code Generator class specified in project settings. | |
| bool | bWriteResult | Disable to prevent the generator writing files/assets. | |
| TSoftClassPtr< UObject > | CodeGeneratorClass | The Code Generator to use. | |
| FString | CopyrightNotice | The copyright notice to apply to generated files. | |
| TSoftClassPtr< UWebAPIDeveloperSettings > | GeneratedSettingsBaseClass | The generated settings baseclass (optional). | |
| FString | ModelOutputPath | The relative output path for generated models. | |
| FString | OperationOutputPath | The relative output path for generated operations. | |
| FWebAPIDefinitionTargetModule | TargetModule | The C++ Unreal module determines the location of the generated files. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TScriptInterface< class IWebAPICodeGeneratorInterface > | Resolves and returns an instance of the CodeGeneratorClass. | ||
| const FString & | GetNamespace () |
Returns the specified pseudo-namespace. | |
| FOnNamespaceChangedDelegate & | When the pseudo-namespace changes. | ||
| void | SetNamespace
(
const FString& InNamespace |
Sets the specified pseudo-namespace. |