#include <bytes.hpp>
constexpr Bytes::Bytes |
( |
uint64_t |
bytes = 0 | ) |
|
|
inline |
constexpr Bytes::Bytes |
( |
uint64_t |
_value, |
|
|
uint64_t |
_unit |
|
) |
| |
|
inline |
uint64_t Bytes::bytes |
( |
| ) |
const |
|
inline |
bool Bytes::operator!= |
( |
const Bytes & |
that | ) |
const |
|
inline |
Bytes& Bytes::operator*= |
( |
uint64_t |
multiplier | ) |
|
|
inline |
Bytes& Bytes::operator/= |
( |
uint64_t |
divisor | ) |
|
|
inline |
bool Bytes::operator< |
( |
const Bytes & |
that | ) |
const |
|
inline |
bool Bytes::operator<= |
( |
const Bytes & |
that | ) |
const |
|
inline |
bool Bytes::operator== |
( |
const Bytes & |
that | ) |
const |
|
inline |
bool Bytes::operator> |
( |
const Bytes & |
that | ) |
const |
|
inline |
bool Bytes::operator>= |
( |
const Bytes & |
that | ) |
const |
|
inline |
static Try<Bytes> Bytes::parse |
( |
const std::string & |
s | ) |
|
|
inlinestatic |
constexpr uint64_t Bytes::BYTES = 1 |
|
static |
constexpr uint64_t Bytes::GIGABYTES = 1024 * MEGABYTES |
|
static |
constexpr uint64_t Bytes::KILOBYTES = 1024 * BYTES |
|
static |
constexpr uint64_t Bytes::MEGABYTES = 1024 * KILOBYTES |
|
static |
constexpr uint64_t Bytes::TERABYTES = 1024 * GIGABYTES |
|
static |
The documentation for this class was generated from the following file: