Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/SourceProject
Inheritance Hierarchy
- CSharedMix
- ISourceSnippet
- CSourceDataSnippet
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/SourceProject/SourceDataProject.h |
| Include | #include "uLang/SourceProject/SourceDataProject.h" |
Syntax
class CSourceDataSnippet : public uLang::ISourceSnippet
Remarks
A source snippet in memory
Constructors
| Type | Name | Description | |
|---|---|---|---|
CSourceDataSnippet
(
CUTF8String&& Path, |
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< 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 |