CyberEngineMkIII
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Static Public Member Functions | List of all members
CYB::API::ByteConverters Class Reference

Converters from large byte types to smaller ones. More...

#include <Expressions.hpp>

Static Public Member Functions

static constexpr unsigned long long Terabytes (const unsigned long long AAmount)
 Get the true byte value of some amount of terabytes. More...
 
static constexpr unsigned long long Gigabytes (const unsigned long long AAmount)
 Get the true byte value of some amount of gigabytes. More...
 
static constexpr unsigned long long Megabytes (const unsigned long long AAmount)
 Get the true byte value of some amount of megabytes. More...
 
static constexpr unsigned long long Kilobytes (const unsigned long long AAmount)
 Get the true byte value of some amount of kilobytes. More...
 

Detailed Description

Converters from large byte types to smaller ones.

Definition at line 7 of file Expressions.hpp.

Member Function Documentation

static constexpr unsigned long long CYB::API::ByteConverters::Gigabytes ( const unsigned long long  AAmount)
static

Get the true byte value of some amount of gigabytes.

Parameters
AAmountThe number of gigabytes
Returns
The number of bytes in AAmount GB
static constexpr unsigned long long CYB::API::ByteConverters::Kilobytes ( const unsigned long long  AAmount)
static

Get the true byte value of some amount of kilobytes.

Parameters
AAmountThe number of kilobytes
Returns
The number of bytes in AAmount KB
static constexpr unsigned long long CYB::API::ByteConverters::Megabytes ( const unsigned long long  AAmount)
static

Get the true byte value of some amount of megabytes.

Parameters
AAmountThe number of megabytes
Returns
The number of bytes in AAmount MB

Here is the caller graph for this function:

static constexpr unsigned long long CYB::API::ByteConverters::Terabytes ( const unsigned long long  AAmount)
static

Get the true byte value of some amount of terabytes.

Parameters
AAmountThe number of terabytes
Returns
The number of bytes in AAmount TB

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