UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FConfigSection Class Reference

#include <ConfigCacheIni.h>

+ Inheritance diagram for FConfigSection:

Public Member Functions

 FConfigSection ()
 
 FConfigSection (UE::ConfigAccessTracking::FSection *InSectionAccess)
 
bool operator== (const FConfigSection &Other) const
 
bool operator!= (const FConfigSection &Other) const
 
void CORE_API HandleAddCommand (FName ValueName, FString &&Value, bool bAppendValueIfNotArrayOfStructsKeyUsed)
 
bool HandleArrayOfKeyedStructsCommand (FName Key, FString &&Value)
 
template<typename Allocator >
void MultiFind (const FName Key, TArray< FConfigValue, Allocator > &OutValues, const bool bMaintainOrder=false) const
 
template<typename Allocator >
void MultiFind (const FName Key, TArray< FString, Allocator > &OutValues, const bool bMaintainOrder=false) const
 
CORE_API bool GetString (const TCHAR *Key, FString &Value) const
 
CORE_API bool GetText (const TCHAR *Section, const TCHAR *Key, FText &Value) const
 
CORE_API bool GetInt (const TCHAR *Key, int32 &Value) const
 
CORE_API bool GetUInt (const TCHAR *Key, uint32 &Value) const
 
CORE_API bool GetFloat (const TCHAR *Key, float &Value) const
 
CORE_API bool GetDouble (const TCHAR *Key, double &Value) const
 
CORE_API bool GetInt64 (const TCHAR *Key, int64 &Value) const
 
CORE_API bool GetBool (const TCHAR *Key, bool &Value) const
 
CORE_API int32 GetArray (const TCHAR *Key, TArray< FString > &Value) const
 

Static Public Member Functions

static bool HasQuotes (const FString &Test)
 

Public Attributes

TMap< FName, FString > ArrayOfStructKeys
 
TSet< FNameEmptyInitializedKeys
 
bool bCanSave = true
 

Friends

FArchiveoperator<< (FArchive &Ar, FConfigSection &ConfigSection)
 

Constructor & Destructor Documentation

◆ FConfigSection() [1/2]

FConfigSection::FConfigSection ( )
inline

◆ FConfigSection() [2/2]

FConfigSection::FConfigSection ( UE::ConfigAccessTracking::FSection *  InSectionAccess)
inline

Member Function Documentation

◆ GetArray()

int32 FConfigSection::GetArray ( const TCHAR Key,
TArray< FString > &  Value 
) const

◆ GetBool()

bool FConfigSection::GetBool ( const TCHAR Key,
bool Value 
) const

◆ GetDouble()

bool FConfigSection::GetDouble ( const TCHAR Key,
double Value 
) const

◆ GetFloat()

bool FConfigSection::GetFloat ( const TCHAR Key,
float Value 
) const

◆ GetInt()

bool FConfigSection::GetInt ( const TCHAR Key,
int32 Value 
) const

◆ GetInt64()

bool FConfigSection::GetInt64 ( const TCHAR Key,
int64 Value 
) const

◆ GetString()

bool FConfigSection::GetString ( const TCHAR Key,
FString &  Value 
) const

◆ GetText()

bool FConfigSection::GetText ( const TCHAR Section,
const TCHAR Key,
FText Value 
) const

◆ GetUInt()

bool FConfigSection::GetUInt ( const TCHAR Key,
uint32 Value 
) const

◆ HandleAddCommand()

void FConfigSection::HandleAddCommand ( FName  ValueName,
FString &&  Value,
bool  bAppendValueIfNotArrayOfStructsKeyUsed 
)

◆ HandleArrayOfKeyedStructsCommand()

bool FConfigSection::HandleArrayOfKeyedStructsCommand ( FName  Key,
FString &&  Value 
)

◆ HasQuotes()

bool FConfigSection::HasQuotes ( const FString &  Test)
static

Check whether the input string is surrounded by quotes

Parameters
TestThe string to check
Returns
true if the input string is surrounded by quotes

◆ MultiFind() [1/2]

template<typename Allocator >
void FConfigSection::MultiFind ( const FName  Key,
TArray< FConfigValue, Allocator > &  OutValues,
const bool  bMaintainOrder = false 
) const
inline

◆ MultiFind() [2/2]

template<typename Allocator >
void FConfigSection::MultiFind ( const FName  Key,
TArray< FString, Allocator > &  OutValues,
const bool  bMaintainOrder = false 
) const
inline

◆ operator!=()

bool FConfigSection::operator!= ( const FConfigSection Other) const

◆ operator==()

bool FConfigSection::operator== ( const FConfigSection Other) const

Friends And Related Symbol Documentation

◆ operator<<

FArchive & operator<< ( FArchive Ar,
FConfigSection ConfigSection 
)
friend

Member Data Documentation

◆ ArrayOfStructKeys

TMap<FName, FString> FConfigSection::ArrayOfStructKeys

◆ bCanSave

bool FConfigSection::bCanSave = true

◆ EmptyInitializedKeys

TSet<FName> FConfigSection::EmptyInitializedKeys

The documentation for this class was generated from the following files: