FOperatingSystemSizeInGB
#include <OperatingSystemSimulator/Public/OperatingSystemSize.h>Class detail
Section titled “Class detail”---
config:
class:
hideEmptyMembersBox: true
---
classDiagram
class FOperatingSystemSizeInGB {
+SizeInBytes : const double
+FOperatingSystemSizeInGB()
+FOperatingSystemSizeInGB(const double Size)
+GetValue(const double &TestSizeInBytes) double
}
struct FOperatingSystemSizeInGBDefined in OperatingSystemSize.h:45 Represents the size of an operating system in gigabytes.
Public Attributes
Section titled “Public Attributes”| Return | Name | Description |
|---|---|---|
const double | SizeInBytes | Represents the size of data in bytes. |
SizeInBytes
Section titled “SizeInBytes”const double SizeInBytesDefined in OperatingSystemSize.h:50 Represents the size of data in bytes.
Referenced by
Section titled “Referenced by”Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
FOperatingSystemSizeInGB inline | ||
FOperatingSystemSizeInGB inline explicit |
FOperatingSystemSizeInGB
Section titled “FOperatingSystemSizeInGB”inline
inline FOperatingSystemSizeInGB()Defined in OperatingSystemSize.h:63
Section titled “Defined in OperatingSystemSize.h:63”FOperatingSystemSizeInGB
Section titled “FOperatingSystemSizeInGB”inline explicit
inline explicit FOperatingSystemSizeInGB(const double Size)Defined in OperatingSystemSize.h:68
Public Static Methods
Section titled “Public Static Methods”| Return | Name | Description |
|---|---|---|
double | GetValue static inline | A static method that calculates the value of a given test size in bytes and converts it to a specified unit. |
GetValue
Section titled “GetValue”static inline
static inline double GetValue(const double & TestSizeInBytes)Defined in OperatingSystemSize.h:61 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
Section titled “Parameters”TestSizeInBytesThe test size in bytes.
Returns
Section titled “Returns”The calculated value of the test size in the specified unit.