Skip to content

FOperatingSystemSizeInGB

#include <OperatingSystemSimulator/Public/OperatingSystemSize.h>
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class FOperatingSystemSizeInGB {
    +SizeInBytes : const double
    +FOperatingSystemSizeInGB()
    +FOperatingSystemSizeInGB(const double Size)
    +GetValue(const double &TestSizeInBytes) double
  }
struct FOperatingSystemSizeInGB

Defined in OperatingSystemSize.h:45 Represents the size of an operating system in gigabytes.

ReturnNameDescription
const doubleSizeInBytesRepresents the size of data in bytes.

const double SizeInBytes

Defined in OperatingSystemSize.h:50 Represents the size of data in bytes.

ReturnNameDescription
FOperatingSystemSizeInGB inline
FOperatingSystemSizeInGB inline explicit

inline

inline FOperatingSystemSizeInGB()

inline explicit

inline explicit FOperatingSystemSizeInGB(const double Size)

Defined in OperatingSystemSize.h:68

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

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.

  • TestSizeInBytes The test size in bytes.

The calculated value of the test size in the specified unit.