Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/SourceProject
Inheritance Hierarchy
- CSharedMix
- CSourcePackage
- CSourceDataPackage
- CSourceFilePackage
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/SourceProject/SourceProject.h |
| Include | #include "uLang/SourceProject/SourceProject.h" |
Syntax
class CSourcePackage : public uLang::CSharedMix
Remarks
A package of modules
Variables
| Type | Name | Description | |
|---|---|---|---|
| TOptional< SVersionedDigest > | _Digest | Optional digest to be used instead of source if desired. | |
| TOptional< SVersionedDigest > | _PublicDigest | The public-only digest, if it exists. | |
| TSRef< CSourceModule > | _RootModule | The root module of this package, equivalent to the _VersePath specified in _Settings. | |
| SSettings | _Settings | Settings, e.g. parsed from .vpackage file. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
CSourcePackage
(
const CUTF8StringView& Name, |
Construct from name. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddDependencyPackage
(
const CUTF8StringView& PackageName |
||
| const CUTF8String & | GetDirPath () |
||
| const CUTF8String & | GetFilePath () |
||
| const CUTF8String & | GetName () |
||
| int32_t | |||
| EOrigin | GetOrigin () |
||
| const SSettings & | GetSettings () |
||
| bool | RemoveSnippet
(
const uLang::TSRef< ISourceSnippet >& Snippet |
||
| void | SetDependencyPackages
(
TArray< CUTF8String >&& PackageNames |
||
| void | SetName
(
const CUTF8StringView& NewName |
||
| void | SetRole
(
const EPackageRole Role |
||
| void | SetTreatDefinitionsAsImplicit
(
bool bTreatAsImplicit |
||
| void | SetVersePath
(
const CUTF8StringView& VersePath |
||
| void | SetVerseScope
(
const EVerseScope VerseScope |
||
| void | SetVerseVersion
(
const TOptional< uint32_t > VerseVersion |
||
| void |
Classes
| Type | Name | Description | |
|---|---|---|---|
| SSettings | Settings of a package This mirrors FVersePackageSettings in the runtime | ||
| SVersionedDigest |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EOrigin | Where the source code of this package originates. |