Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FConfigValue Struct Reference

#include <ConfigCacheIni.h>

+ Collaboration diagram for FConfigValue:

Public Member Functions

 FConfigValue ()
 
 FConfigValue (const TCHAR *InValue)
 
 FConfigValue (const FString &InValue)
 
 FConfigValue (FString &&InValue)
 
 FConfigValue (const FConfigValue &InConfigValue)
 
 FConfigValue (FConfigValue &&InConfigValue)
 
FConfigValueoperator= (FConfigValue &&RHS)
 
FConfigValueoperator= (const FConfigValue &RHS)
 
const FStringGetValue () const
 
const FStringGetSavedValue () const
 
bool operator== (const FConfigValue &Other) const
 
bool operator!= (const FConfigValue &Other) const
 

Static Public Member Functions

static bool ExpandValue (const FString &InCollapsedValue, FString &OutExpandedValue)
 
static FString ExpandValue (const FString &InCollapsedValue)
 
static bool CollapseValue (const FString &InExpandedValue, FString &OutCollapsedValue)
 
static FString CollapseValue (const FString &InExpandedValue)
 

Private Member Functions

void ExpandValueInternal ()
 
const FStringGetSavedValueForWriting () const
 

Private Attributes

FString SavedValue
 
FString ExpandedValue
 
uint32 SavedValueHash
 

Friends

struct UE::ConfigCacheIni::Private::FAccessor
 
FArchiveoperator<< (FArchive &Ar, FConfigValue &ConfigSection)
 
void operator<< (FStructuredArchive::FSlot Slot, FConfigValue &ConfigSection)
 

Detailed Description

Definition at line 102 of file ConfigCacheIni.h.

Constructor & Destructor Documentation

◆ FConfigValue() [1/6]

FConfigValue::FConfigValue ( )
inline

Definition at line 105 of file ConfigCacheIni.h.

◆ FConfigValue() [2/6]

FConfigValue::FConfigValue ( const TCHAR * InValue)
inline

Definition at line 107 of file ConfigCacheIni.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FConfigValue() [3/6]

FConfigValue::FConfigValue ( const FString & InValue)
inline

Definition at line 117 of file ConfigCacheIni.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FConfigValue() [4/6]

FConfigValue::FConfigValue ( FString && InValue)
inline

Definition at line 127 of file ConfigCacheIni.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FConfigValue() [5/6]

FConfigValue::FConfigValue ( const FConfigValue & InConfigValue)
inline

Definition at line 137 of file ConfigCacheIni.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FConfigValue() [6/6]

FConfigValue::FConfigValue ( FConfigValue && InConfigValue)
inline

Definition at line 148 of file ConfigCacheIni.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ CollapseValue() [1/2]

static FString FConfigValue::CollapseValue ( const FString & InExpandedValue)
static

Given an expanded config value, try and produce a collapsed version of it (adding any placeholder tokens).

Parameters
InExpandedValueThe expanded config value to try and expand.
Returns
The collapsed version of the config value.

◆ CollapseValue() [2/2]

static bool FConfigValue::CollapseValue ( const FString & InExpandedValue,
FString & OutCollapsedValue )
static

Given an expanded config value, try and produce a collapsed version of it (adding any placeholder tokens).

Parameters
InExpandedValueThe expanded config value to try and expand.
OutCollapsedValueString to fill with the collapsed version of the config value.
Returns
true if collapsing occurred, false if the collapsed and expanded values are equal.

◆ ExpandValue() [1/2]

static FString FConfigValue::ExpandValue ( const FString & InCollapsedValue)
static

Given a collapsed config value, try and produce an expanded version of it (removing any placeholder tokens).

Parameters
InCollapsedValueThe collapsed config value to try and expand.
Returns
The expanded version of the config value.

◆ ExpandValue() [2/2]

static bool FConfigValue::ExpandValue ( const FString & InCollapsedValue,
FString & OutExpandedValue )
static

Given a collapsed config value, try and produce an expanded version of it (removing any placeholder tokens).

Parameters
InCollapsedValueThe collapsed config value to try and expand.
OutExpandedValueString to fill with the expanded version of the config value.
Returns
true if expansion occurred, false if the collapsed and expanded values are equal.

◆ ExpandValueInternal()

void FConfigValue::ExpandValueInternal ( )
private

Internal version of ExpandValue that expands SavedValue into ExpandedValue, or produces an empty ExpandedValue if no expansion occurred.

+ Here is the caller graph for this function:

◆ GetSavedValue()

const FString & FConfigValue::GetSavedValue ( ) const
inline

Definition at line 194 of file ConfigCacheIni.h.

◆ GetSavedValueForWriting()

const FString & FConfigValue::GetSavedValueForWriting ( ) const
inlineprivate

Definition at line 279 of file ConfigCacheIni.h.

+ Here is the caller graph for this function:

◆ GetValue()

const FString & FConfigValue::GetValue ( ) const
inline

Definition at line 184 of file ConfigCacheIni.h.

◆ operator!=()

bool FConfigValue::operator!= ( const FConfigValue & Other) const
inline

Definition at line 214 of file ConfigCacheIni.h.

+ Here is the call graph for this function:

◆ operator=() [1/2]

FConfigValue & FConfigValue::operator= ( const FConfigValue & RHS)
inline

Definition at line 171 of file ConfigCacheIni.h.

◆ operator=() [2/2]

FConfigValue & FConfigValue::operator= ( FConfigValue && RHS)
inline

Definition at line 159 of file ConfigCacheIni.h.

◆ operator==()

bool FConfigValue::operator== ( const FConfigValue & Other) const
inline

Definition at line 213 of file ConfigCacheIni.h.

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator<< [1/2]

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

Definition at line 216 of file ConfigCacheIni.h.

◆ operator<< [2/2]

void operator<< ( FStructuredArchive::FSlot Slot,
FConfigValue & ConfigSection )
friend

Definition at line 222 of file ConfigCacheIni.h.

◆ UE::ConfigCacheIni::Private::FAccessor

Gets the SavedValue without marking it as having been accessed for e.g. writing out to a ConfigFile to disk

Definition at line 278 of file ConfigCacheIni.h.

Member Data Documentation

◆ ExpandedValue

FString FConfigValue::ExpandedValue
private

Definition at line 285 of file ConfigCacheIni.h.

◆ SavedValue

FString FConfigValue::SavedValue
private

Definition at line 284 of file ConfigCacheIni.h.

◆ SavedValueHash

uint32 FConfigValue::SavedValueHash
private

Definition at line 286 of file ConfigCacheIni.h.


The documentation for this struct was generated from the following file: