ForEachCVarInSectionFromIni

Helper function to operate a user defined function for each CVar key/value pair in the specified section in an ini file

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/ConfigCacheIni.h

Include

#include "Misc/ConfigCacheIni.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/ConfigCacheIni.cpp

Syntax

void ForEachCVarInSectionFromIni
(
    const TCHAR * InSectionName,
    const TCHAR * InIniFilename,
    TFunction< void *CVar, const FString &KeyString, const FString &ValueString)> InEvaluationFunction
)

Remarks

Helper function to operate a user defined function for each CVar key/value pair in the specified section in an ini file

Parameters

Parameter

Description

InSectionName

The name of the section to apply cvars from

InIniFilename

The ini filename

InEvaluationFunction

The evaluation function to be called for each key/value pair

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss