Megabytes Class Reference Size

#include <bytesvalue.h>

Inheritance diagram for Megabytes:

详细描述

Byte value in megabytes.

公共成员函数

  Megabytes ( Int32 megabytes)
  Megabytes ( Int64 megabytes)
  Megabytes ( Float megabytes)
-  Public Member Functions inherited from BytesValue
  BytesValue ()
  BytesValue (const BytesValue & src )
BytesValue operator= (const BytesValue & src )
Bool   operator== (const BytesValue b) const
Bool   operator< (const BytesValue b) const
BytesValue   operator+ (const BytesValue b) const
BytesValue operator+= (const BytesValue b)
BytesValue   operator- (const BytesValue b) const
const BytesValue operator-= (const BytesValue b)
Bool   operator>= (const BytesValue b)
Bool   operator<= (const BytesValue b)
Bool   operator> (const BytesValue b)
Bool   operator< (const BytesValue b)
Bool   operator>= (const Int64 b)
Bool   operator<= (const Int64 b)
Bool   operator> (const Int64 b)
Bool   operator< (const Int64 b)
  operator Int64 () const
BytesValue operator*= (const Int64 b)
Int64   GetBits () const
Int64   GetBytes () const
void  SetBytes ( Int64 bytes)
Float32   GetKilobytes () const
Float32   GetKibibytes () const
Float32   GetMegabytes () const
Float32   GetMebibytes () const
Float32   GetGigabytes () const
Float32   GetGibibytes () const
Float32   GetTerabytes () const
Float32   GetTebibytes () const
String   ToString (const FormatStatement *formatStatement=nullptr) const
HashInt   GetHashCode () const

Additional Inherited Members

-  Static Public Member Functions inherited from BytesValue
static Result < void >  DescribeIO (const DataSerializeInterface &stream)
-  Protected Member Functions inherited from BytesValue
  BytesValue ( Int64 bytes)

构造函数 & 析构函数文档编制

◆  Megabytes() [1/3]

Megabytes ( Int32   megabytes )
explicit

◆  Megabytes() [2/3]

Megabytes ( Int64   megabytes )
explicit

◆  Megabytes() [3/3]

Megabytes ( Float   megabytes )
explicit