numeric
Functions
| Return | Name | Description |
|---|---|---|
void | format | Formats an integer value in decimal notation. |
void | format | Formats an integer value in decimal notation, right justified in a field having at least the specified width. |
void | format0 | Formats an integer value in decimal notation, right justified and zero-padded in a field having at least the specified width. |
void | formatHex | Formats an int value in hexadecimal notation. The value is treated as unsigned. |
void | formatHex | Formats an int value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width. The value is treated as unsigned. |
void | format | Formats an unsigned int value in decimal notation. |
void | format | Formats an unsigned int value in decimal notation, right justified in a field having at least the specified width. |
void | format0 | Formats an unsigned int value in decimal notation, right justified and zero-padded in a field having at least the specified width. |
void | formatHex | Formats an unsigned int value in hexadecimal notation. |
void | formatHex | Formats an unsigned int value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width. |
void | format | Formats a long value in decimal notation. |
void | format | Formats a long value in decimal notation, right justified in a field having at least the specified width. |
void | format0 | Formats a long value in decimal notation, right justified and zero-padded in a field having at least the specified width. |
void | formatHex | Formats a long value in hexadecimal notation. The value is treated as unsigned. |
void | formatHex | Formats a long value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width. The value is treated as unsigned. |
void | format | Formats an unsigned long value in decimal notation. |
void | format | Formats an unsigned long value in decimal notation, right justified in a field having at least the specified width. |
void | format0 | Formats an unsigned long value in decimal notation, right justified and zero-padded in a field having at least the specified width. |
void | formatHex | Formats an unsigned long value in hexadecimal notation. |
void | formatHex | Formats an unsigned long value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width. |
void | format | Formats a 64-bit integer value in decimal notation. |
void | format | Formats a 64-bit integer value in decimal notation, right justified in a field having at least the specified width. |
void | format0 | Formats a 64-bit integer value in decimal notation, right justified and zero-padded in a field having at least the specified width. |
void | formatHex | Formats a 64-bit integer value in hexadecimal notation. The value is treated as unsigned. |
void | formatHex | Formats a 64-bit integer value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width. The value is treated as unsigned. |
void | format | Formats an unsigned 64-bit integer value in decimal notation. |
void | format | Formats an unsigned 64-bit integer value in decimal notation, right justified in a field having at least the specified width. |
void | format0 | Formats an unsigned 64-bit integer value in decimal notation, right justified and zero-padded in a field having at least the specified width. |
void | formatHex | Formats an unsigned 64-bit integer value in hexadecimal notation. |
void | formatHex | Formats an unsigned 64-bit integer value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width. |
format
void format(std::string & str, int value)Defined in src/base/include/icy/numeric.h:32
Formats an integer value in decimal notation.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | int | Value to format. |
format
void format(std::string & str, int value, int width)Defined in src/base/include/icy/numeric.h:39
Formats an integer value in decimal notation, right justified in a field having at least the specified width.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | int | Value to format. |
width | int | Minimum field width; padded with spaces on the left. |
format0
void format0(std::string & str, int value, int width)Defined in src/base/include/icy/numeric.h:46
Formats an integer value in decimal notation, right justified and zero-padded in a field having at least the specified width.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | int | Value to format. |
width | int | Minimum field width; padded with zeros on the left. |
formatHex
void formatHex(std::string & str, int value)Defined in src/base/include/icy/numeric.h:52
Formats an int value in hexadecimal notation. The value is treated as unsigned.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | int | Value to format. |
formatHex
void formatHex(std::string & str, int value, int width)Defined in src/base/include/icy/numeric.h:60
Formats an int value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width. The value is treated as unsigned.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | int | Value to format. |
width | int | Minimum field width; padded with zeros on the left. |
format
void format(std::string & str, unsigned value)Defined in src/base/include/icy/numeric.h:65
Formats an unsigned int value in decimal notation.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | unsigned | Value to format. |
format
void format(std::string & str, unsigned value, int width)Defined in src/base/include/icy/numeric.h:72
Formats an unsigned int value in decimal notation, right justified in a field having at least the specified width.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | unsigned | Value to format. |
width | int | Minimum field width; padded with spaces on the left. |
format0
void format0(std::string & str, unsigned int value, int width)Defined in src/base/include/icy/numeric.h:79
Formats an unsigned int value in decimal notation, right justified and zero-padded in a field having at least the specified width.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | unsigned int | Value to format. |
width | int | Minimum field width; padded with zeros on the left. |
formatHex
void formatHex(std::string & str, unsigned value)Defined in src/base/include/icy/numeric.h:84
Formats an unsigned int value in hexadecimal notation.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | unsigned | Value to format. |
formatHex
void formatHex(std::string & str, unsigned value, int width)Defined in src/base/include/icy/numeric.h:91
Formats an unsigned int value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | unsigned | Value to format. |
width | int | Minimum field width; padded with zeros on the left. |
format
void format(std::string & str, long value)Defined in src/base/include/icy/numeric.h:96
Formats a long value in decimal notation.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | long | Value to format. |
format
void format(std::string & str, long value, int width)Defined in src/base/include/icy/numeric.h:103
Formats a long value in decimal notation, right justified in a field having at least the specified width.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | long | Value to format. |
width | int | Minimum field width; padded with spaces on the left. |
format0
void format0(std::string & str, long value, int width)Defined in src/base/include/icy/numeric.h:110
Formats a long value in decimal notation, right justified and zero-padded in a field having at least the specified width.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | long | Value to format. |
width | int | Minimum field width; padded with zeros on the left. |
formatHex
void formatHex(std::string & str, long value)Defined in src/base/include/icy/numeric.h:116
Formats a long value in hexadecimal notation. The value is treated as unsigned.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | long | Value to format. |
formatHex
void formatHex(std::string & str, long value, int width)Defined in src/base/include/icy/numeric.h:124
Formats a long value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width. The value is treated as unsigned.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | long | Value to format. |
width | int | Minimum field width; padded with zeros on the left. |
format
void format(std::string & str, unsigned long value)Defined in src/base/include/icy/numeric.h:129
Formats an unsigned long value in decimal notation.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | unsigned long | Value to format. |
format
void format(std::string & str, unsigned long value, int width)Defined in src/base/include/icy/numeric.h:136
Formats an unsigned long value in decimal notation, right justified in a field having at least the specified width.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | unsigned long | Value to format. |
width | int | Minimum field width; padded with spaces on the left. |
format0
void format0(std::string & str, unsigned long value, int width)Defined in src/base/include/icy/numeric.h:143
Formats an unsigned long value in decimal notation, right justified and zero-padded in a field having at least the specified width.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | unsigned long | Value to format. |
width | int | Minimum field width; padded with zeros on the left. |
formatHex
void formatHex(std::string & str, unsigned long value)Defined in src/base/include/icy/numeric.h:148
Formats an unsigned long value in hexadecimal notation.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | unsigned long | Value to format. |
formatHex
void formatHex(std::string & str, unsigned long value, int width)Defined in src/base/include/icy/numeric.h:155
Formats an unsigned long value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | unsigned long | Value to format. |
width | int | Minimum field width; padded with zeros on the left. |
format
void format(std::string & str, std::int64_t value)Defined in src/base/include/icy/numeric.h:160
Formats a 64-bit integer value in decimal notation.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | std::int64_t | Value to format. |
format
void format(std::string & str, std::int64_t value, int width)Defined in src/base/include/icy/numeric.h:167
Formats a 64-bit integer value in decimal notation, right justified in a field having at least the specified width.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | std::int64_t | Value to format. |
width | int | Minimum field width; padded with spaces on the left. |
format0
void format0(std::string & str, std::int64_t value, int width)Defined in src/base/include/icy/numeric.h:174
Formats a 64-bit integer value in decimal notation, right justified and zero-padded in a field having at least the specified width.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | std::int64_t | Value to format. |
width | int | Minimum field width; padded with zeros on the left. |
formatHex
void formatHex(std::string & str, std::int64_t value)Defined in src/base/include/icy/numeric.h:180
Formats a 64-bit integer value in hexadecimal notation. The value is treated as unsigned.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | std::int64_t | Value to format. |
formatHex
void formatHex(std::string & str, std::int64_t value, int width)Defined in src/base/include/icy/numeric.h:188
Formats a 64-bit integer value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width. The value is treated as unsigned.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | std::int64_t | Value to format. |
width | int | Minimum field width; padded with zeros on the left. |
format
void format(std::string & str, uint64_t value)Defined in src/base/include/icy/numeric.h:193
Formats an unsigned 64-bit integer value in decimal notation.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | uint64_t | Value to format. |
format
void format(std::string & str, uint64_t value, int width)Defined in src/base/include/icy/numeric.h:200
Formats an unsigned 64-bit integer value in decimal notation, right justified in a field having at least the specified width.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | uint64_t | Value to format. |
width | int | Minimum field width; padded with spaces on the left. |
format0
void format0(std::string & str, uint64_t value, int width)Defined in src/base/include/icy/numeric.h:207
Formats an unsigned 64-bit integer value in decimal notation, right justified and zero-padded in a field having at least the specified width.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | uint64_t | Value to format. |
width | int | Minimum field width; padded with zeros on the left. |
formatHex
void formatHex(std::string & str, uint64_t value)Defined in src/base/include/icy/numeric.h:212
Formats an unsigned 64-bit integer value in hexadecimal notation.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | uint64_t | Value to format. |
formatHex
void formatHex(std::string & str, uint64_t value, int width)Defined in src/base/include/icy/numeric.h:219
Formats an unsigned 64-bit integer value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | std::string & | Output string to append to. |
value | uint64_t | Value to format. |
width | int | Minimum field width; padded with zeros on the left. |
