![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "Misc/ConfigCacheIni.h"#include "Misc/ConfigContext.h"#include "Misc/ConfigHierarchy.h"#include "Misc/ConfigUtilities.h"#include "Containers/StringView.h"#include "Misc/DateTime.h"#include "Misc/MessageDialog.h"#include "HAL/FileManager.h"#include "Misc/FileHelper.h"#include "Misc/CommandLine.h"#include "Math/Vector4.h"#include "Stats/Stats.h"#include "HAL/IConsoleManager.h"#include "HAL/LowLevelMemStats.h"#include "HAL/LowLevelMemTracker.h"#include "Misc/CoreDelegates.h"#include "Misc/App.h"#include "Misc/RemoteConfigIni.h"#include "Misc/DefaultValueHelper.h"#include "Misc/ConfigManifest.h"#include "Misc/DataDrivenPlatformInfoRegistry.h"#include "Misc/StringBuilder.h"#include "Misc/PathViews.h"#include "Misc/ScopeLock.h"#include "Misc/ScopeRWLock.h"#include "Misc/TransactionallySafeRWLock.h"#include "ProfilingDebugging/CpuProfilerTrace.h"#include "ProfilingDebugging/AssetMetadataTrace.h"#include "Serialization/MemoryReader.h"#include "Serialization/MemoryWriter.h"#include "Serialization/LargeMemoryReader.h"#include "Async/Async.h"#include "Async/ParallelFor.h"#include "Misc/OutputDeviceRedirector.h"#include "Logging/MessageLog.h"#include <limits>Classes | |
| struct | FConfigExpansion |
| class | FSinglePropertyConfigHelper |
| struct | UE::ConfigCacheIni::Private::FImpl |
| class | FArchiveCountConfigMem |
| struct | FDetailedConfigMemUsage |
| struct | FConfigFileMemoryData |
| struct | FConfigMemoryData |
| class | FIniExec |
Namespaces | |
| namespace | UE |
| namespace | UE::ConfigCacheIni |
| namespace | UE::ConfigCacheIni::Private |
Macros | |
| #define | LOCTEXT_NAMESPACE "ConfigCache" |
| #define | SET_KNOWN_NAME(Ini) Branches[(uint8)EKnownIniFile::Ini].IniName = FName(#Ini); |
| #define | ASSIGN_GLOBAL_INI_STRING(IniName) G##IniName##Ini = FString(#IniName); |
Variables | |
| double | GPrepareForLoadTime = 0 |
| double | GPerformLoadTime = 0 |
| double | GConfigShrinkTime = 0 |
| FIniExec | GConfigExec |
| #define LOCTEXT_NAMESPACE "ConfigCache" |
| DEFINE_LOG_CATEGORY | ( | LogConfig | ) |
| bool DoesConfigFileExistWrapper | ( | const TCHAR * | IniFile, |
| const TSet< FString > * | IniCacheSet, | ||
| const TSet< FString > * | PrimaryConfigFileCache, | ||
| const TSet< FString > * | SecondaryConfigFileCache | ||
| ) |
Check if an ini file exists, allowing a delegate to determine if it will handle loading it
const bool bFileExistsCachedTest = IFileManager::Get().FileSize(IniFile) >= 0; ensureMsgf( bFileExistsCached == bFileExistsCachedTest, TEXT("DoesConfigFileExistWrapper: InCache = %d, InFileSystem = %d, Name = %s, Configs = \n%s"), !!bFileExistsCached, !!bFileExistsCachedTest, IniFile, FString::Join(*IniCacheSet, TEXT("\n")) );
| void FillFileFromBuffer | ( | FileType * | File, |
| FStringView | Buffer, | ||
| bool | bHandleSymbolCommands, | ||
| const FString & | FileHint | ||
| ) |
| bool FillFileFromDisk | ( | FileType * | File, |
| const FString & | Filename, | ||
| bool | bHandleSymbolCommands | ||
| ) |
| ValueType & FindOrAddHeterogeneous | ( | TMap< KeyType, ValueType > & | Map, |
| const AltKeyType & | Key | ||
| ) |
| void FixupArrayOfStructKeysForSection | ( | SectionType * | Section, |
| const FString & | SectionName, | ||
| const TMap< FString, TMap< FName, FString > > & | PerObjectConfigKeys | ||
| ) |
| FArchive & operator<< | ( | FArchive & | Ar, |
| FConfigBranch & | ConfigBranch | ||
| ) |
| FArchive & operator<< | ( | FArchive & | Ar, |
| FConfigCacheIni::FKnownConfigFiles & | KnownFiles | ||
| ) |
| FArchive & operator<< | ( | FArchive & | Ar, |
| FConfigFile & | ConfigFile | ||
| ) |
| FArchive & operator<< | ( | FArchive & | Ar, |
| FConfigSection & | ConfigSection | ||
| ) |
| bool PropertySetFromCommandlineOption | ( | const FConfigFile * | InConfigFile, |
| const FString & | InSectionName, | ||
| const FName & | InPropertyName, | ||
| const FString & | InPropertyValue | ||
| ) |
Check if the provided property information was set as a commandline override
| InConfigFile | - The config file which we want to check had overridden values |
| InSectionName | - The name of the section which we are checking for a match |
| InPropertyName | - The name of the property which we are checking for a match |
| InPropertyValue | - The value of the property which we are checking for a match |
| FIniExec GConfigExec |
| double GConfigShrinkTime = 0 |
| double GPerformLoadTime = 0 |
| double GPrepareForLoadTime = 0 |