Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/SourceProject
Inheritance Hierarchy
- CSharedMix
- ISourceSnippet
- CSourceFileSnippet
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/SourceProject/SourceFileProject.h |
| Include | #include "uLang/SourceProject/SourceFileProject.h" |
Syntax
class CSourceFileSnippet : public uLang::ISourceSnippet
Remarks
A source snippet on disk
Constructors
| Type | Name | Description | |
|---|---|---|---|
CSourceFileSnippet
(
CUTF8String&& FilePath, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const CUTF8StringView & | GetFilePath () |
||
| const CUTF8StringView & | |||
| bool | |||
| void | SetModifiedText
(
const CUTF8StringView& Text |
||
| void |
Overridden from ISourceSnippet
| Type | Name | Description | |
|---|---|---|---|
| CUTF8String | GetPath () |
Globally unique path of this snippet, e.g. a fully qualified file path | |
| TOptional< CUTF8String > | GetText () |
Get text representation of this snippet When the result is EResult::Unspecified, no text representation exists When the result is EResult::Error, text representation exists, but an error occurred retrieving it | |
| TOptional< uLang::TSRef< Verse::Vst::Snippet > > | GetVst () |
Get Vst representation of this snippet When the result is EResult::Unspecified, no Vst representation exists When the result is EResult::Error, Vst representation exists, but an error occurred retrieving it | |
| void | SetPath
(
const CUTF8String& Path |
||
| void | SetVst
(
TSRef< Verse::Vst::Snippet > Snippet |
Operators
| Type | Name | Description | |
|---|---|---|---|
Constants
| Name | Description |
|---|---|
| _InvalidSnippetCharacters | This mimics what Unreal allows for package names, except that we allow periods in filenames as well. |