Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/SourceProject
Inheritance Hierarchy
- CSharedMix
- ISourceSnippet
- CSourceDataSnippet
- CSourceFileSnippet
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/SourceProject/SourceProject.h |
| Include | #include "uLang/SourceProject/SourceProject.h" |
Syntax
class ISourceSnippet : public uLang::CSharedMix
Remarks
Abstraction of a source file
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| 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 |