UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::AssetDataGather::Private::FPathExistence Struct Reference

#include <AssetDataGathererPrivate.h>

Public Types

enum  EType { Directory , File , MissingButDirExists , MissingParentDir }
 

Public Member Functions

 FPathExistence (FStringView InLocalAbsPath)
 
const FString & GetLocalAbsPath () const
 
EType GetType ()
 
FDateTime GetModificationTime ()
 
bool IsReadOnly ()
 
FStringView GetLowestExistingPath ()
 
void LoadExistenceData ()
 
bool HasExistenceData () const
 
void SetConfirmedExists (bool bValue)
 

Detailed Description

Stores a LocalAbsPath and existence information. A file system query is issued the first time the data is needed.

Member Enumeration Documentation

◆ EType

What kind of thing we found at the given path

Enumerator
Directory 
File 
MissingButDirExists 
MissingParentDir 

Constructor & Destructor Documentation

◆ FPathExistence()

UE::AssetDataGather::Private::FPathExistence::FPathExistence ( FStringView  InLocalAbsPath)
explicit

Member Function Documentation

◆ GetLocalAbsPath()

const FString & UE::AssetDataGather::Private::FPathExistence::GetLocalAbsPath ( ) const

◆ GetLowestExistingPath()

FStringView UE::AssetDataGather::Private::FPathExistence::GetLowestExistingPath ( )

If the path is a directory or file, return the path. Otherwise return the parent directory, if it exists.

◆ GetModificationTime()

FDateTime UE::AssetDataGather::Private::FPathExistence::GetModificationTime ( )

◆ GetType()

FPathExistence::EType UE::AssetDataGather::Private::FPathExistence::GetType ( )

◆ HasExistenceData()

bool UE::AssetDataGather::Private::FPathExistence::HasExistenceData ( ) const

◆ IsReadOnly()

bool UE::AssetDataGather::Private::FPathExistence::IsReadOnly ( )

◆ LoadExistenceData()

void UE::AssetDataGather::Private::FPathExistence::LoadExistenceData ( )

Issue the file system query if not already done.

◆ SetConfirmedExists()

void UE::AssetDataGather::Private::FPathExistence::SetConfirmedExists ( bool  bValue)

The documentation for this struct was generated from the following files: