Operating System Simulator Plugin  3.5.1
Unreal Engine plugin that simulates an Operating System Environment
Loading...
Searching...
No Matches
FOperatingSystemEmail Struct Reference

Represents an email address and password for use in an operating system. More...

#include "OperatingSystemEmail.h"

Public Member Functions

FORCEINLINE bool IsValid () const
 Checks if the email address and password stored in the FOperatingSystemEmail struct are valid.
 
FORCEINLINE bool operator== (const FOperatingSystemEmail &Other) const
 cond
 
FORCEINLINE bool operator!= (const FOperatingSystemEmail &Other) const
 
 FOperatingSystemEmail ()
 Default constructor for the FOperatingSystemEmail struct.
 
 FOperatingSystemEmail (const FText &Email, const FText &Password)
 Constructs a new FOperatingSystemEmail object.
 
 FOperatingSystemEmail (const FString &Email, const FString &Password)
 Constructs a new FOperatingSystemEmail object.
 

Public Attributes

FText EmailAddress
 
FText Password
 

Friends

uint32 GetTypeHash (const FOperatingSystemEmail &Other)
 Calculates the hash value for an instance of the FOperatingSystemEmail struct.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FOperatingSystemEmail() [1/3]

FOperatingSystemEmail::FOperatingSystemEmail ( )
inline

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.

◆ FOperatingSystemEmail() [2/3]

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

Constructs a new FOperatingSystemEmail object.

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

Parameters
EmailThe email address to be stored in the FOperatingSystemEmail struct.
PasswordThe password to be stored in the FOperatingSystemEmail struct.

◆ FOperatingSystemEmail() [3/3]

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

Constructs a new FOperatingSystemEmail object.

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

Parameters
EmailThe email address to be stored in the FOperatingSystemEmail struct, as a FString.
PasswordThe password to be stored in the FOperatingSystemEmail struct, as a FString.

Member Function Documentation

◆ IsValid()

FORCEINLINE bool FOperatingSystemEmail::IsValid ( ) const
inline

Checks if the email address and password stored in the 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.

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

◆ operator!=()

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

◆ operator==()

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

cond

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FOperatingSystemEmail & Other)
friend

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 (^).

Parameters
OtherThe FOperatingSystemEmail struct for which to calculate the hash value.
Returns
The hash value calculated for the FOperatingSystemEmail struct.

Member Data Documentation

◆ EmailAddress

FText FOperatingSystemEmail::EmailAddress

Stores the email address for use in the operating system.

◆ Password

FText FOperatingSystemEmail::Password

Stores the password


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