Navigation
API > API/Plugins > API/Plugins/WebAPIEditor > API/Plugins/WebAPIEditor/CodeGen > API/Plugins/WebAPIEditor/CodeGen/Dom
Inheritance Hierarchy
- FWebAPICodeGenBase
- FWebAPICodeGenStruct
- FWebAPICodeGenClass
- FWebAPICodeGenOperationRequest
- FWebAPICodeGenOperationResponse
References
| Module | WebAPIEditor |
| Header | /Engine/Plugins/Experimental/Web/WebAPI/Source/WebAPIEditor/Public/CodeGen/Dom/WebAPICodeGenStruct.h |
| Include | #include "CodeGen/Dom/WebAPICodeGenStruct.h" |
Syntax
class FWebAPICodeGenStruct : public FWebAPICodeGenBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| FWebAPITypeNameVariant | Base | Base class. Should be empty if none. | |
| FWebAPITypeNameVariant | Name | Name with optional prefix, namespace, etc. | |
| TArray< TSharedPtr< FWebAPICodeGenProperty > > | Properties | Properties within this struct. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TSharedPtr< FWebAPICodeGenProperty > & | FindOrAddProperty
(
const FWebAPINameVariant& InName |
Finds or creates a property with the given name. | |
| bool | FindRecursiveProperties
(
TArray< TSharedPtr< FWebAPICodeGenProperty >>& OutProperties |
Find and return properties that are of the same type as the containing class. | |
| void | FromWebAPI
(
const UWebAPIModel* InSrcModel |
Populates this object from the given WebAPI object. |
Overridden from FWebAPICodeGenBase
| Type | Name | Description | |
|---|---|---|---|
| void | GetIncludePaths
(
TArray< FString >& OutIncludePaths |
Append any include paths for this file to the given Array (not Set, to allow custom order). | |
| void | GetModuleDependencies
(
TSet< FString >& OutModules |
Append any dependent modules for this file to the given Set. | |
| FString | GetName
(
bool bJustName |
Retrieve the name. The source depends on the CodeGen object type. | |
| const FName & | GetTypeName () |
CodeGen Type. |
Typedefs
| Name | Description |
|---|---|
| Super | Inherited baseclass. |
Constants
| Name | Description |
|---|---|
| TypeName | CodeGen Type. |