Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/SourceProject
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/SourceProject/SourceProjectWriter.h |
| Include | #include "uLang/SourceProject/SourceProjectWriter.h" |
Syntax
class CSourceProjectWriter
Remarks
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
Constructors
| Type | Name | Description | |
|---|---|---|---|
CSourceProjectWriter
(
const TSRef< IFileSystem >& FileSystem, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| SProjectDesc | GetProjectDesc
(
const CSourceProject& Project |
Derive a project desc from a source project | |
| SWorkspaceDesc | GetWorkspaceDesc
(
const CSourceProject& Project, |
Derive a workspace desc from a source project | |
| bool | WriteProject
(
const CSourceProject& Project, |
Write the entire given source project to disk Iff ResultProjectFilePath is given, a vproject file will be generated and the path to it returned | |
| bool | WriteProjectFile
(
const SProjectDesc& ProjectDesc, |
Write only a vproject file to the given file path | |
| bool | WriteVSCodeWorkspaceFile
(
const SWorkspaceDesc& WorkspaceDesc, |
Write a .code-workspace file to the given file path |