FConfigValue

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/ConfigCacheIni.h"

Syntax

struct FConfigValue

Constructors

Name Description

Public function

FConfigValue()

Public function

FConfigValue

(
    const TCHAR* InValue
)

Public function

FConfigValue

(
    const FString& InValue
)

Public function

FConfigValue

(
    FString&& InValue
)

Public function

FConfigValue

(
    const FConfigValue& InConfigValue
)

Public function

FConfigValue

(
    FConfigValue&& InConfigValue
)

Functions

Name Description

Public function Static

bool

 

CollapseValue

(
    const FString& InExpandedValue,
    FString& OutCollapsedValue
)

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

Public function Static

FString

 

CollapseValue

(
    const FString& InExpandedValue
)

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

Public function Static

bool

 

ExpandValue

(
    const FString& InCollapsedValue,
    FString& OutExpandedValue
)

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

Public function Static

FString

 

ExpandValue

(
    const FString& InCollapsedValue
)

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

Public function Const

const FStrin...

 

GetSavedValue()

Returns the original ini setting without macro expansion.

Public function Const

const FStrin...

 

GetValue()

Returns the ini setting with any macros expanded out.

Public function Const

const bool

 

HasBeenRead()

Public function Const

void

 

SetHasBeenRead

(
    bool InBRead
)

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FConfigValue& Other
)

Public function

FConfigValue...

 

operator=

(
    FConfigValue&& RHS
)

Public function

FConfigValue...

 

operator=

(
    const FConfigValue& RHS
)

Public function Const

bool

 

operator==

(
    const FConfigValue& Other
)

Deprecated Functions

Name Description

Public function Const

 

operator const FString &()

Please switch to explicitly doing a GetValue() or GetSavedValue()

Public function Const

const TCHAR ...

 

operator*()

Please switch to explicitly doing a GetValue() or GetSavedValue()

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