Navigation
API > API/Runtime > API/Runtime/VerseCompiler
A module of source snippets on disk
| Name | CSourceFileModule |
| Type | class |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/SourceProject/SourceFileProject.h |
| Include Path | #include "uLang/SourceProject/SourceFileProject.h" |
Syntax
class CSourceFileModule : public uLang::CSourceModule
Inheritance Hierarchy
- CSharedMix → CSourceModule → CSourceFileModule
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
CSourceFileModule
(
const CUTF8StringView& ModuleName, |
uLang/SourceProject/SourceFileProject.h | ||
CSourceFileModule
(
const CUTF8StringView& ModuleName, |
uLang/SourceProject/SourceFileProject.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| _FilePath | CUTF8String | Path to the module file on disk If no module file exists, this is the module directory with a slash `/_ at the end | uLang/SourceProject/SourceFileProject.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddSnippet
(
const uLang::TSRef< ISourceSnippet >& Snippet |
uLang/SourceProject/SourceFileProject.h | ||
TSRef< CSourceFileModule > FindOrAddSubmodule
(
const CUTF8StringView& ModuleName, |
uLang/SourceProject/SourceFileProject.h | ||
TOptional< TSRef< CSourceFileSnippet > > FindSnippetByFilePath
(
const CUTF8StringView& FilePath, |
uLang/SourceProject/SourceFileProject.h | ||
TOptional< TSRef< CSourceFileModule > > FindSubmodule
(
const CUTF8StringView& ModuleName |
uLang/SourceProject/SourceFileProject.h | ||
CUTF8StringView GetDirPath() |
uLang/SourceProject/SourceFileProject.h | ||
bool RemoveSnippet
(
const uLang::TSRef< ISourceSnippet >& Snippet, |
uLang/SourceProject/SourceFileProject.h |
Overridden from CSourceModule
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const CUTF8String & GetFilePath() |
uLang/SourceProject/SourceFileProject.h |