4#include "Containers/Set.h"
24 NonDestructiveInstall,
35static_assert((
uint32)BuildPatchServices::EInstallMode::InvalidOrMax == 4,
"Please add support for the extra values to the Lex functions below.");
39#define CASE_ENUM_TO_STR(Value) case BuildPatchServices::EInstallMode::Value: return TEXT(#Value)
46 default:
return TEXT(
"InvalidOrMax");
48#undef CASE_ENUM_TO_STR
53#define RETURN_IF_EQUAL(Value) if (FCString::Stricmp(Buffer, TEXT(#Value)) == 0) { InstallMode = BuildPatchServices::EInstallMode::Value; return; }
54 const TCHAR*
const Prefix =
TEXT(
"EInstallMode::");
65 InstallMode = BuildPatchServices::EInstallMode::InvalidOrMax;
const TCHAR * LexToString(BuildPatchServices::EInstallMode InstallMode)
Definition BuildPatchInstall.h:37
#define CASE_ENUM_TO_STR(Value)
#define RETURN_IF_EQUAL(Value)
void LexFromString(BuildPatchServices::EInstallMode &InstallMode, const TCHAR *Buffer)
Definition BuildPatchInstall.h:51
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EInstallMode
Definition BuildPatchInstall.h:16
Definition BuildPatchFileConstructor.h:28
BUILDPATCHSERVICES_API uint64 CalculateRequiredDiskSpace(const IBuildManifestPtr &CurrentManifest, const IBuildManifestRef &BuildManifest, const EInstallMode &InstallMode, const TSet< FString > &InstallTags)
static int32 Strlen(const CharType *String)
Definition CString.h:1047
static UE_FORCEINLINE_HINT int32 Strnicmp(const CharType *String1, const CharType *String2, SIZE_T Count)
Definition CString.h:1036