Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FConfigCacheIni
Description
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
NOTE: The function naming is weird because you can't apparently have an overridden function differnt only by template type params
Parses apart an ini section that contains a list of 1-to-N mappings of strings in the following format [PerMapPackages] .MapName1=Map1 .Package1=PackageA .Package1=PackageB .MapName2=Map2 .Package2=PackageC .Package2=PackageD
NOTE: The function naming is weird because you can't apparently have an overridden function differnt only by template type params
| Name | Parse1ToNSectionOfStrings |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/ConfigCacheIni.h |
| Include Path | #include "Misc/ConfigCacheIni.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/ConfigCacheIni.cpp |
void Parse1ToNSectionOfStrings
(
const TCHAR * Section,
const TCHAR * KeyOne,
const TCHAR * KeyN,
TMap < FString , TArray < FString > > & OutMap,
const FString & Filename
)
Parameters
| Name | Remarks |
|---|---|
| Section | Name of section to look in |
| KeyOne | Key to use for the 1 in the 1-to-N (MapName in the above example) |
| KeyN | Key to use for the N in the 1-to-N (Package in the above example) |
| OutMap | Map containing parsed results |
| Filename | Filename to use to find the section |
| Section | Name of section to look in |
| KeyOne | Key to use for the 1 in the 1-to-N (MapName in the above example - the number suffix gets ignored but helps to keep ordering) |
| KeyN | Key to use for the N in the 1-to-N (Package in the above example - the number suffix gets ignored but helps to keep ordering) |
| OutMap | Map containing parsed results |
| Filename | Filename to use to find the section |