UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
uLang::FilePathUtils Namespace Reference

Functions

CUTF8String NormalizePath (const CUTF8StringView &Path)
 
bool IsPathRelative (const CUTF8StringView &Path)
 
bool SplitPath (const CUTF8StringView &FilePath, CUTF8StringView &OutDir, CUTF8StringView &OutFileName, bool bIncludeDirEndSlash)
 
CUTF8String AppendSlash (const CUTF8StringView &Path)
 
CUTF8String GetDirectory (const CUTF8StringView &Path, bool bIncludeDirEndSlash)
 
CUTF8String GetFileName (const CUTF8StringView &Path)
 
void SplitFileName (const CUTF8StringView &FileName, CUTF8StringView &Stem, CUTF8StringView &Extension)
 
CUTF8String CombinePaths (const CUTF8StringView &LhsPath, const CUTF8StringView &RhsPath)
 
CUTF8String ConvertRelativePathToFull (const CUTF8StringView &Path, const CUTF8StringView &BasePath)
 
CUTF8String ConvertFullPathToRelative (const CUTF8StringView &FullPath, const CUTF8StringView &BasePath)
 
CUTF8StringView GetNameFromFileOrDir (const CUTF8StringView &FilePath)
 
bool IsDescendantOfDirectory (const CUTF8StringView &ParentDirectory, const CUTF8StringView &PotentialDescendantDirectory)
 
template<typename FunctionType >
void ForeachPartOfPath (const CUTF8StringView &Path, FunctionType &&Lambda)
 

Function Documentation

◆ AppendSlash()

ULANGCORE_API CUTF8String uLang::FilePathUtils::AppendSlash ( const CUTF8StringView Path)

◆ CombinePaths()

ULANGCORE_API CUTF8String uLang::FilePathUtils::CombinePaths ( const CUTF8StringView LhsPath,
const CUTF8StringView RhsPath 
)

◆ ConvertFullPathToRelative()

ULANGCORE_API CUTF8String uLang::FilePathUtils::ConvertFullPathToRelative ( const CUTF8StringView FullPath,
const CUTF8StringView BasePath 
)

◆ ConvertRelativePathToFull()

ULANGCORE_API CUTF8String uLang::FilePathUtils::ConvertRelativePathToFull ( const CUTF8StringView Path,
const CUTF8StringView BasePath 
)

◆ ForeachPartOfPath()

template<typename FunctionType >
void uLang::FilePathUtils::ForeachPartOfPath ( const CUTF8StringView Path,
FunctionType &&  Lambda 
)

◆ GetDirectory()

ULANGCORE_API CUTF8String uLang::FilePathUtils::GetDirectory ( const CUTF8StringView Path,
bool  bIncludeDirEndSlash 
)

◆ GetFileName()

ULANGCORE_API CUTF8String uLang::FilePathUtils::GetFileName ( const CUTF8StringView Path)

◆ GetNameFromFileOrDir()

ULANGCORE_API CUTF8StringView uLang::FilePathUtils::GetNameFromFileOrDir ( const CUTF8StringView FilePath)

◆ IsDescendantOfDirectory()

ULANGCORE_API bool uLang::FilePathUtils::IsDescendantOfDirectory ( const CUTF8StringView ParentDirectory,
const CUTF8StringView PotentialDescendantDirectory 
)

◆ IsPathRelative()

ULANGCORE_API bool uLang::FilePathUtils::IsPathRelative ( const CUTF8StringView Path)

◆ NormalizePath()

ULANGCORE_API CUTF8String uLang::FilePathUtils::NormalizePath ( const CUTF8StringView Path)

◆ SplitFileName()

ULANGCORE_API void uLang::FilePathUtils::SplitFileName ( const CUTF8StringView FileName,
CUTF8StringView Stem,
CUTF8StringView Extension 
)

◆ SplitPath()

ULANGCORE_API bool uLang::FilePathUtils::SplitPath ( const CUTF8StringView FilePath,
CUTF8StringView OutDir,
CUTF8StringView OutFileName,
bool  bIncludeDirEndSlash 
)