Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/FileHelper.h |
Include |
#include "Misc/FileHelper.h" |
Source |
/Engine/Source/Runtime/Core/Private/Misc/FileHelper.cpp |
static bool LoadFileToStringArrayWithPredicate
(
TArray< FString > & Result,
const TCHAR * Filename,
TFunctionRef< bool &)> Predicate,
EHashOptions VerifyFlags
)
Load a text file to an array of strings, filtered by a user-defined predicate. Supports all combination of ANSI/Unicode files and platforms.
Parameter |
Description |
---|---|
Result |
String representation of the loaded file |
Filename |
Name of the file to load |
Predicate |
Condition for whether or not to add the line to the array |
VerifyFlags |
Flags controlling the hash verification behavior ( see EHashOptions ) |