Navigation
API > API/Runtime > API/Runtime/VerseCompiler
A source snippet in memory
| Name | CSourceDataSnippet |
| Type | class |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/SourceProject/SourceDataProject.h |
| Include Path | #include "uLang/SourceProject/SourceDataProject.h" |
Syntax
class CSourceDataSnippet : public uLang::ISourceSnippet
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
CSourceDataSnippet
(
CUTF8String&& Path, |
uLang/SourceProject/SourceDataProject.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| _Path | CUTF8String | uLang/SourceProject/SourceDataProject.h | ||
| _Text | CUTF8String | uLang/SourceProject/SourceDataProject.h | ||
| _Vst | TOptional< TSRef< Verse::Vst::Snippet > > | uLang/SourceProject/SourceDataProject.h |
Functions
Public
Overridden from ISourceSnippet
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual CUTF8String GetPath() |
Globally unique path of this snippet, e.g. a fully qualified file path | uLang/SourceProject/SourceDataProject.h | |
virtual 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 | uLang/SourceProject/SourceDataProject.h | |
virtual 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 | uLang/SourceProject/SourceDataProject.h | |
virtual void SetPath
(
const CUTF8String& Path |
uLang/SourceProject/SourceDataProject.h | ||
virtual void SetVst
(
TSRef< Verse::Vst::Snippet > Snippet |
uLang/SourceProject/SourceDataProject.h |