FContentBrowserItemPath

Hold multiple versions of a path as FNames Path conversion each time Set is called

Choose your operating system:

Windows

macOS

Linux

References

Module

ContentBrowserData

Header

/Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserItemPath.h

Include

#include "ContentBrowserItemPath.h"

Syntax

class FContentBrowserItemPath

Remarks

Hold multiple versions of a path as FNames

Path conversion each time Set is called

Constructors

Name Description

Public function

FContentBrowserItemPath()

Public function

FContentBrowserItemPath

(
    const FName InVirtualPath,
    const FName InInternalPath
)

Public function

FContentBrowserItemPath

(
    const FStringView InPath,
    const EContentBrowserPathType InPat...
)

Public function

FContentBrowserItemPath

(
    const TCHAR* InPath,
    const EContentBrowserPathType InPat...
)

Public function

FContentBrowserItemPath

(
    const FName InPath,
    const EContentBrowserPathType InPat...
)

Functions

Name Description

Public function Const

FName

 

GetInternalPathName()

Returns internal path if there is one (eg,. "/PluginA/MyFile").

Public function Const

FString

 

GetInternalPathString()

Returns internal path as newly allocated FString if there is one or empty FString (eg,. "/PluginA/MyFile").

Public function Const

FName

 

GetVirtualPathName()

Returns virtual path as FName (eg, "/All/Plugins/PluginA/MyFile").

Public function Const

FString

 

GetVirtualPathString()

Returns virtual path as newly allocated FString (eg, "/All/Plugins/PluginA/MyFile").

Public function Const

bool

 

HasInternalPath()

Returns true if there is an internal path

Public function

void

 

SetPathFromName

(
    const FName InPath,
    const EContentBrowserPathType InPat...
)

Public function

void

 

SetPathFromString

(
    const FStringView InPath,
    const EContentBrowserPathType InPat...
)

Set the path being stored

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FContentBrowserItemPath& Oth...
)