Skip to content

FOperatingSystemEmail

#include <OperatingSystemSimulator/Public/OperatingSystemEmail.h>
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class FOperatingSystemEmail {
    +EmailAddress : FText
    +Password : FText
    +IsValid() const bool
    +operator==(const FOperatingSystemEmail &Other) const bool
    +operator!=(const FOperatingSystemEmail &Other) const bool
    +FOperatingSystemEmail()
    +FOperatingSystemEmail(const FText &Email, const FText &Password)
    +FOperatingSystemEmail(const FString &Email, const FString &Passwo
    +Internal_VerifyEmail() const bool
  }
struct FOperatingSystemEmail

Defined in OperatingSystemEmail.h:15 Represents an email address and password for use in an operating system.

This struct is used to store and validate an email address and password for use in an operating system.

NameDescription
GetTypeHash inlineCalculates the hash value for an instance of the FOperatingSystemEmail struct.

inline

friend inline uint32 GetTypeHash(const FOperatingSystemEmail & Other)

Defined in OperatingSystemEmail.h:90 Calculates the hash value for an instance of the FOperatingSystemEmail struct.

This function calculates the hash value for an instance of the FOperatingSystemEmail struct by combining the hash values of the email address and password using the XOR operator (^).

The hash value calculated for the FOperatingSystemEmail struct.

ReturnNameDescription
FTextEmailAddressStores the email address for use in the operating system.
FTextPasswordStores the password

FText EmailAddress

Defined in OperatingSystemEmail.h:21 Stores the email address for use in the operating system.


FText Password

Defined in OperatingSystemEmail.h:25 Stores the password

ReturnNameDescription
boolIsValid const inlineChecks if the email address and password stored in the [FOperatingSystemEmail](#foperatingsystememail) struct are valid.
booloperator== const inlinecond
booloperator!= const inline
FOperatingSystemEmail inlineDefault constructor for the FOperatingSystemEmail struct.
FOperatingSystemEmail inlineConstructs a new FOperatingSystemEmail object.
FOperatingSystemEmail inlineConstructs a new FOperatingSystemEmail object.

const inline

inline bool IsValid() const

Defined in OperatingSystemEmail.h:64 Checks if the email address and password stored in the [FOperatingSystemEmail](#foperatingsystememail) struct are valid.

This method performs internal verification of the email address using regular expression pattern matching. Additionally, it checks if the password is not empty or only contains whitespace characters.

True if the email address and password are valid, false otherwise.


const inline

inline bool operator==(const FOperatingSystemEmail & Other) const

Defined in OperatingSystemEmail.h:70 cond


const inline

inline bool operator!=(const FOperatingSystemEmail & Other) const

Defined in OperatingSystemEmail.h:75


inline

inline FOperatingSystemEmail()

Defined in OperatingSystemEmail.h:101 Default constructor for the FOperatingSystemEmail struct.

This constructor initializes the EmailAddress and Password members of the FOperatingSystemEmail struct with empty FText objects and is considered invalid.


inline

inline FOperatingSystemEmail(const FText & Email, const FText & Password)

Defined in OperatingSystemEmail.h:116 Constructs a new FOperatingSystemEmail object.

This constructor initializes the EmailAddress and Password members of the FOperatingSystemEmail struct with the provided email and password values.


inline

inline FOperatingSystemEmail(const FString & Email, const FString & Password)

Defined in OperatingSystemEmail.h:131 Constructs a new FOperatingSystemEmail object.

This constructor initializes the EmailAddress and Password members of the FOperatingSystemEmail struct with the provided email and password values.

ReturnNameDescription
boolInternal_VerifyEmail const inlineThis method verifies the email address stored in the [FOperatingSystemEmail](#foperatingsystememail) struct.

const inline

inline bool Internal_VerifyEmail() const

Defined in OperatingSystemEmail.h:38 This method verifies the email address stored in the [FOperatingSystemEmail](#foperatingsystememail) struct.

The method checks if the email address is empty or contains only whitespace characters. If the email address is not empty, it uses regular expression pattern matching to validate the format of the email address.

True if the email address is valid, false otherwise.