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

#include "OperatingSystemSize.h"

Public Member Functions

 FOperatingSystemSizeInGB ()
 
 FOperatingSystemSizeInGB (const double Size)
 

Static Public Member Functions

static FORCEINLINE double GetValue (const double &TestSizeInBytes)
 A static method that calculates the value of a given test size in bytes and converts it to a specified unit.
 

Public Attributes

const double SizeInBytes
 

Detailed Description

Represents the size of an operating system in gigabytes.

Constructor & Destructor Documentation

◆ FOperatingSystemSizeInGB() [1/2]

FOperatingSystemSizeInGB::FOperatingSystemSizeInGB ( )
inline

◆ FOperatingSystemSizeInGB() [2/2]

FOperatingSystemSizeInGB::FOperatingSystemSizeInGB ( const double Size)
inlineexplicit

Member Function Documentation

◆ GetValue()

static FORCEINLINE double FOperatingSystemSizeInGB::GetValue ( const double & TestSizeInBytes)
inlinestatic

A static method that calculates the value of a given test size in bytes and converts it to a specified unit.

This method takes the test size in bytes and calculates its value based on the specified unit. The possible units are bytes, megabytes (MB), and gigabytes (GB). The calculated value is returned as a double.

Parameters
TestSizeInBytesThe test size in bytes.
Returns
The calculated value of the test size in the specified unit.
Here is the caller graph for this function:

Member Data Documentation

◆ SizeInBytes

const double FOperatingSystemSizeInGB::SizeInBytes

Represents the size of data in bytes.


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