Navigation
API > API/Plugins > API/Plugins/ExternalSource
URI container class used for referencing external sources. TODO - A proper standardized version should be implemented in a Runtime/Core module to unify all URI implementations across the engine. For example, a URI implementation is provided in Plugins\Media\ElectraPlayer\Source\ElectraPlayerRuntime\Private\Runtime\Utilities\URI.h
| Name | FSourceUri |
| Type | class |
| Header File | /Engine/Plugins/Enterprise/DatasmithImporter/Source/ExternalSource/Public/SourceUri.h |
| Include Path | #include "SourceUri.h" |
Syntax
class FSourceUri
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSourceUri
(
const FString& InUri |
SourceUri.h | ||
FSourceUri () |
SourceUri.h | ||
FSourceUri
(
const FString& InScheme, |
SourceUri.h | ||
FSourceUri
(
const FString& InScheme, |
SourceUri.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Uri | FString | SourceUri.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStringView GetPath() |
Return the path of the FSourceUri | SourceUri.h | |
FStringView GetQuery() |
SourceUri.h | ||
TMap< FString, FString > GetQueryMap() |
SourceUri.h | ||
FStringView GetScheme() |
SourceUri.h | ||
bool HasScheme
(
const FString& InScheme |
Check if the FSourceUri has the provided scheme. | SourceUri.h | |
bool IsValid() |
Return if the FSourceUri is a properly structure valid uri. | SourceUri.h | |
const FString & ToString() |
Return the FSourceUri as a string. | SourceUri.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString BuildQueryString
(
const TContainer& QueryContainer |
SourceUri.h | ||
static FSourceUri FromAssetData
(
const FAssetData& AssetData |
Try to get the FSourceUri registered in the AssetData. | SourceUri.h | |
static FSourceUri FromFilePath
(
const FString& FilePath |
Generate a FSourceUri from the given filepath. | SourceUri.h | |
static FName GetAssetDataTag() |
Returns the Tag that should be used for registering the SourceUri of an asset in its corresponding FAssetData. | SourceUri.h | |
static const FString & GetFileScheme() |
Return the scheme used for file URIs : "file" | SourceUri.h | |
static TCHAR GetQueryAppendPairCharacter() |
SourceUri.h | ||
static TCHAR GetQueryPairCharacter() |
SourceUri.h | ||
static TCHAR GetQueryStartCharacter() |
URI Queries are structured like so |
SourceUri.h | |
static const FString & GetSchemeDelimiter() |
SourceUri.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FSourceUri& Other |
SourceUri.h | ||
bool operator==
(
const FSourceUri& Other |
SourceUri.h |