Ark Server API (ASA) - Wiki
|
#include <LocalTimestampDirectoryVisitor.h>
Public Member Functions | |
FLocalTimestampDirectoryVisitor (IPlatformFile &InFileInterface, const TArray< FString > &InDirectoriesToIgnore, const TArray< FString > &InDirectoriesToNotRecurse, bool bInCacheDirectories=false, bool bInMakeLowerCase=false) | |
virtual bool | Visit (const TCHAR *FilenameOrDirectory, bool bIsDirectory) |
Public Member Functions inherited from IPlatformFile::FDirectoryVisitor | |
FDirectoryVisitor (EDirectoryVisitorFlags InDirectoryVisitorFlags=EDirectoryVisitorFlags::None) | |
virtual | ~FDirectoryVisitor () |
FORCEINLINE bool | IsThreadSafe () const |
Public Attributes | |
TMap< FString, FDateTime > | FileTimes |
Public Attributes inherited from IPlatformFile::FDirectoryVisitor | |
EDirectoryVisitorFlags | DirectoryVisitorFlags |
Private Attributes | |
bool | bCacheDirectories |
bool | bMakeLowerCase |
TArray< FString > | DirectoriesToIgnore |
TArray< FString > | DirectoriesToNotRecurse |
IPlatformFile & | FileInterface |
Visitor to gather local files with their timestamps.
Definition at line 18 of file LocalTimestampDirectoryVisitor.h.
FLocalTimestampDirectoryVisitor::FLocalTimestampDirectoryVisitor | ( | IPlatformFile & | InFileInterface, |
const TArray< FString > & | InDirectoriesToIgnore, | ||
const TArray< FString > & | InDirectoriesToNotRecurse, | ||
bool | bInCacheDirectories = false, | ||
bool | bInMakeLowerCase = false ) |
Creates and initializes a new instance.
InFileInterface | - The platform file interface to use. |
InDirectoriesToIgnore | - The list of directories to ignore. |
InDirectoriesToNotRecurse | - The list of directories to not visit recursively. |
bInCacheDirectories | - Whether to cache the directories. |
bInMakeLowerCase | - Whether to lower case filenames and directories. |
|
virtual |
Callback for a single file or a directory in a directory iteration.
FilenameOrDirectory | If bIsDirectory is true, this is a directory (with no trailing path delimiter), otherwise it is a file name. |
bIsDirectory | true if FilenameOrDirectory is a directory. |
Implements IPlatformFile::FDirectoryVisitor.
|
private |
Definition at line 46 of file LocalTimestampDirectoryVisitor.h.
|
private |
Definition at line 49 of file LocalTimestampDirectoryVisitor.h.
Definition at line 52 of file LocalTimestampDirectoryVisitor.h.
Definition at line 55 of file LocalTimestampDirectoryVisitor.h.
|
private |
Definition at line 58 of file LocalTimestampDirectoryVisitor.h.
Relative paths to local files and their timestamps.
Definition at line 24 of file LocalTimestampDirectoryVisitor.h.