Navigation
API > API/Editor > API/Editor/GameProjectGeneration
| Name | UClassTemplate |
| Type | class |
| Header File | /Engine/Source/Editor/GameProjectGeneration/Public/ClassTemplateEditorSubsystem.h |
| Include Path | #include "ClassTemplateEditorSubsystem.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UClassTemplate : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UClassTemplate
Derived Classes
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GeneratedBaseClass | TObjectPtr< UClass > | Base UClass of which template class corresponds. | ClassTemplateEditorSubsystem.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
ClassTemplateEditorSubsystem.h | ||
virtual FString GetDirectory() |
Returns the directory containing the text file template for the given base generated class. | ClassTemplateEditorSubsystem.h | |
const UClass * GetGeneratedBaseClass() |
ClassTemplateEditorSubsystem.h | ||
bool ReadHeader
(
FString& OutHeaderFileText, |
Reads the header template text from disk. | ClassTemplateEditorSubsystem.h | |
bool ReadSource
(
FString& OutSourceFileText, |
Reads the source template text from disk. | ClassTemplateEditorSubsystem.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetFilename () |
Returns the filename associated with the provided class template without an extension. | ClassTemplateEditorSubsystem.h | |
FString GetHeaderFilename() |
Returns full header filename including '.h.template' extension. | ClassTemplateEditorSubsystem.h | |
FString GetSourceFilename() |
Returns full sourcefilename including '.cpp.template' extension. | ClassTemplateEditorSubsystem.h | |
void SetGeneratedBaseClass
(
UClass* InClass |
Sets the generated base class associated with the given template. | ClassTemplateEditorSubsystem.h |