1 #ifndef nrbytes2string_h 2 #define nrbytes2string_h 25 NrBytesToStringCreator();
26 NrBytesToStringCreator(
od_uint64 nrbytes);
28 enum Unit { Bytes=0, KB=1, MB=2, GB=3, TB=4, PB=5 };
30 void setUnitFrom(
od_uint64 number,
bool maximum=
true);
38 bool withunit=
true)
const;
#define mExpClass(module)
Definition: commondefs.h:160
Unit
Definition: nrbytes2string.h:28
Definition: nrbytes2string.h:22
OD::String that holds an existing text string.
Definition: fixedstring.h:29
Unit unit_
Definition: nrbytes2string.h:47
#define od_uint64
Definition: plftypes.h:37
Export_Basic const char * toString(ViewStyle)