UClassTemplate

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GameProjectGeneration

Header

/Engine/Source/Editor/GameProjectGeneration/Public/ClassTemplateEditorSubsystem.h

Include

#include "ClassTemplateEditorSubsystem.h"

Syntax

class UClassTemplate : public UObject

Functions

Name Description

Public function Virtual Const

FString

 

GetDirectory()

Returns the directory containing the text file template for the given base generated class.

Protected function Virtual Const

FString

 

GetFilename()

Returns the filename associated with the provided class template without an extension.

Public function Const

const UClass...

 

GetGeneratedBaseClass()

Protected function Const

FString

 

GetHeaderFilename()

Returns full header filename including '.h.template' extension.

Protected function Const

FString

 

GetSourceFilename()

Returns full sourcefilename including '.cpp.template' extension.

Public function Const

bool

 

ReadHeader

(
    FString& OutHeaderFileText,
    FText& OutFailReason
)

Reads the header template text from disk.

Public function Const

bool

 

ReadSource

(
    FString& OutSourceFileText,
    FText& OutFailReason
)

Reads the source template text from disk.

Protected function

void

 

SetGeneratedBaseClass

(
    UClass* InClass
)

Sets the generated base class associated with the given template.

Overridden from UObject

Name Description

Public function Virtual

void

 

BeginDestroy()

Called before destroying the object.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss