Choose your operating system:
Windows
macOS
Linux
| TMapBase
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/ConfigCacheIni.h |
Include |
#include "Misc/ConfigCacheIni.h" |
class FConfigCacheIni : private TMap< FString, FConfigFile >
Set of all cached config files.
Name | Description | |
---|---|---|
|
FConfigCacheIni() |
DO NOT USE. This constructor is for internal usage only for hot-reload purposes. |
|
FConfigCacheIni ( |
Basic functions. |
Name | Description | |
---|---|---|
|
~FConfigCacheIni() |
Name | Description | ||
---|---|---|---|
|
FConfigFile ... |
Add ( |
|
|
AreFileOperationsDisabled() |
Returns whether or not file operations are disabled |
|
|
ClearOtherPlatformConfigs() |
Wipe all cached platform configs. Next ForPlatform call will load on-demand the platform configs |
|
|
ContainsConfigFile ( |
Reports whether an FConfigFile* is pointing to a config file inside of this Used for downstream functions to check whether a config file they were passed came from this ConfigCacheIni or from a different source such as LoadLocalIniFile |
|
|
CreateGConfigFromSaved ( |
Create GConfig from a saved file |
|
|
Detach ( |
||
|
DisableFileOperations() |
Disables any file IO by the config cache system |
|
|
DoesSectionExist |
||
|
Dump ( |
Prints out the entire config set, or just a single file if an ini is specified |
|
|
EmptySection |
||
|
EmptySectionsMatchingString |
||
|
EnableFileOperations() |
Re-enables file IO by the config cache system |
|
|
Exit() |
||
|
FConfigFile ... |
Find ( |
Finds, loads, or creates the in-memory config file for a config cache filename. |
|
FConfigFile ... |
FindConfigFile ( |
Finds the in-memory config file for a config cache filename. |
|
FConfigFile ... |
FindConfigFileWithBaseName ( |
Finds Config file that matches the base name such as "Engine" |
|
Flush |
||
|
ForEachEntry ( |
Allows to iterate through all key value pairs |
|
|
FConfigCache... |
ForPlatform ( |
Retrieve the fully processed ini system for another platform. |
|
GetArray |
||
|
GetBool |
||
|
GetColor |
||
|
GetConfigFilename ( |
For a base ini name, gets the config cache filename key that is used by other functions like Find. |
|
|
GetConfigFilenames |
Retrieve a list of all of the config files stored in the cache |
|
|
const FStrin... |
GetCustomConfigString() |
Returns the Custom Config string, which if set will load additional config files from Config/Custom/{CustomConfig}/DefaultX.ini to allow different types of builds. |
|
GetDestIniFilename |
Calculates the name of a dest (generated) .ini file for a given base (ie Engine, Game, etc) |
|
|
GetDouble |
||
|
GetFilenames() |
||
|
GetFloat |
||
|
const TSet< ... |
GetIniCacheSet() |
|
|
GetInt |
||
|
GetMaxMemoryUsage() |
USed to get the max memory usage for the FConfigCacheIni |
|
|
GetPerObjectConfigSections |
Retrieve the names of sections which contain data for the specified PerObjectConfig class. |
|
|
GetRotator |
||
|
GetSection |
||
|
GetSectionNames |
Retrieve the names for all sections contained in the file specified by Filename |
|
|
FConfigSecti... |
GetSectionPrivate |
|
|
GetSingleLineArray |
Loads a "delimited" list of strings Loads a "delimited" list of string |
|
|
GetStr |
Derived functions. |
|
|
GetString |
||
|
GetText |
||
|
GetValue |
||
|
GetValue |
||
|
GetValue |
||
|
GetValue |
Generic versions for use with templates |
|
|
GetValue |
||
|
GetValue |
||
|
GetVector |
||
|
GetVector2D |
||
|
GetVector4 |
||
|
InitializeConfigSystem() |
Creates GConfig, loads the standard global ini files (Engine, Editor, etc), fills out GEngineIni, etc. |
|
|
InitializeKnownConfigFiles |
Load the standard (used on all platforms) ini files, like Engine, Input, etc |
|
|
IsKnownConfigName ( |
Returns true if the given name is one of the known configs, where the matching G****Ini property is going to match the base name ("Engine" returns true, which means GEngineIni's value is just "Engine") |
|
|
IsReadyForUse() |
||
|
LoadConsoleVariablesFromINI() |
Needs to be called after GConfig is set and LoadCoalescedFile was called. |
|
|
LoadExternalIniFile |
Load an ini file directly into an FConfigFile from the specified config folders, optionally writing to disk. |
|
|
LoadFile ( |
||
|
LoadGlobalIniFile |
Loads and generates a destination ini file and adds it to GConfig: |
|
|
LoadLocalIniFile ( |
Load an ini file directly into an FConfigFile, and nothing is written to GConfig or disk. |
|
|
Parse1ToNSectionOfNames |
Parses apart an ini section that contains a list of 1-to-N mappings of names in the following format [PerMapPackages] MapName=Map1 Package=PackageA Package=PackageB MapName=Map2 Package=PackageC Package=PackageD |
|
|
Parse1ToNSectionOfStrings |
Prases apart an ini section that contains a list of 1-to-N mappings of strings in the following format [PerMapPackages] MapName=Map1 Package=PackageA Package=PackageB MapName=Map2 Package=PackageC Package=PackageD |
|
|
Remove ( |
||
|
RemoveKey |
||
|
SaveCurrentStateForBootstrap ( |
Save the current config cache state into a file for bootstrapping other processes. |
|
|
Serialize ( |
||
|
SetArray |
||
|
SetBool |
||
|
SetColor |
||
|
SetDouble |
||
|
SetFile ( |
||
|
SetFloat |
||
|
SetIniCacheSet |
||
|
SetInt |
||
|
SetRotator |
||
|
SetSingleLineArray |
Saves a "delimited" list of strings Saves a "delimited" list of strings |
|
|
SetString |
||
|
SetText |
||
|
SetVector |
||
|
SetVector2D |
||
|
SetVector4 |
||
|
ShowMemoryUsage ( |
Dumps memory stats for each file in the config cache to the specified archive. |
|
|
UnloadFile ( |
Name |
Description |
|
---|---|---|
|
FKnownConfigFiles |
Name |
Description |
---|---|
Super |
Name |
Description |
---|---|
IniCacheSet |
Name | Description | ||
---|---|---|---|
|
FConfigFile ... |
Find |
CreateIfNotFound is deprecated, please use the overload without this parameter or FindConfigFile |