Navigation
API > API/Runtime > API/Runtime/VerseCompiler
Helper class to write a source project to disk This can either be a copy from one location to another, or save an in-memory project to the file system
| Name | CSourceProjectWriter |
| Type | class |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/SourceProject/SourceProjectWriter.h |
| Include Path | #include "uLang/SourceProject/SourceProjectWriter.h" |
Syntax
class CSourceProjectWriter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
CSourceProjectWriter
(
const TSRef< IFileSystem >& FileSystem, |
uLang/SourceProject/SourceProjectWriter.h |
Enums
Public
| Name | Remarks |
|---|---|
| EWriteFlags |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| _Diagnostics | TSRef< CDiagnostics > | uLang/SourceProject/SourceProjectWriter.h | ||
| _FileSystem | TSRef< IFileSystem > | uLang/SourceProject/SourceProjectWriter.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool WriteProject
(
const CSourceProject& Project, |
Write the entire given source project to disk If ResultProjectFilePath is given, a vproject file will be generated and the path to it returned | uLang/SourceProject/SourceProjectWriter.h | |
bool WriteProjectFile
(
const SProjectDesc& ProjectDesc, |
Write only a vproject file to the given file path | uLang/SourceProject/SourceProjectWriter.h | |
bool WriteVSCodeWorkspaceFile
(
const SWorkspaceDesc& WorkspaceDesc, |
Write a .code-workspace file to the given file path | uLang/SourceProject/SourceProjectWriter.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static SProjectDesc GetProjectDesc
(
const CSourceProject& Project |
Derive a project desc from a source project | uLang/SourceProject/SourceProjectWriter.h | |
static SWorkspaceDesc GetWorkspaceDesc
(
const CSourceProject& Project, |
Derive a workspace desc from a source project | uLang/SourceProject/SourceProjectWriter.h |