Skip to content

Class USFSettingValue_Bool

ClassList > USFSettingValue_Bool

Setting value representing a boolean value. More...

  • #include "Core/SFSettingValue.h"

Inherits the following classes: USFSettingValue

Public Attributes

Type Name
bool Value = false

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 representing a boolean value.

Blueprint display name: SF Bool Value.

Public Attributes Documentation

variable Value

bool USFSettingValue_Bool::Value;

The underlying bool value.

Note:

EditAnywhere BlueprintReadWrite


Public Functions Documentation

function DeserializeFromString

virtual void USFSettingValue_Bool::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_Bool::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_Bool::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