Skip to content

Class USFSettingValue_String

ClassList > USFSettingValue_String

Setting value with an underlying string value. Useful for IDs, names, resolutions, etc. More...

  • #include "Core/SFSettingValue.h"

Inherits the following classes: USFSettingValue

Public Attributes

Type Name
FString Value

Public Functions

Type Name
virtual void DeserializeFromString (const FString & InString) override
virtual bool Equals (const USFSettingValue * Other) override const
virtual FString SerializeToString () override const

Public Functions inherited from USFSettingValue

See USFSettingValue

Type Name
virtual void DeserializeFromString (const FString & InString)
virtual USFSettingValue * Duplicate (UObject * Outer) const
virtual bool Equals (const USFSettingValue * Other) const
virtual FString SerializeToString () const
virtual FString ToString () const

Detailed Description

Setting value with an underlying string value. Useful for IDs, names, resolutions, etc.

Blueprint display name: SF String Value.

Public Attributes Documentation

variable Value

FString USFSettingValue_String::Value;

The underlying string value.

Note:

EditAnywhere BlueprintReadWrite


Public Functions Documentation

function DeserializeFromString

virtual void USFSettingValue_String::DeserializeFromString (
    const FString & InString
) override

Load value from string

Parameters:

  • InString The string to parse the value from, typically loaded from disk.

Implements USFSettingValue::DeserializeFromString


function Equals

virtual bool USFSettingValue_String::Equals (
    const USFSettingValue * Other
) override const

Checks equality with another value object.

Parameters:

  • Other The other value object to compare with.

Returns:

true if the two value objects are considered equal in terms of their underlying value, false otherwise.

Implements USFSettingValue::Equals


function SerializeToString

virtual FString USFSettingValue_String::SerializeToString () override const

Convert current value to string for saving

Returns:

The string representation of the current value. Should be parseable by DeserializeFromString().

Implements USFSettingValue::SerializeToString



The documentation for this class was generated from the following file Source/SettingsFramework/Public/Core/SFSettingValue.h