Inheritance diagram for Int:
Public Member Functions | |
void | setRadix (Radix radix) |
void | setFill (tChar fill, uint width) |
tChar[] | format (uint x) |
Static Public Member Functions | |
tChar[] | format (int i) |
tChar[] | format (uint i, Radix radix, tChar fill=tChar.init) |
tChar[] | format (tChar[] dst, int i) |
tChar[] | format (tChar[] dst, uint i, Radix radix, tChar fill=tChar.init) |
uint | parse (tChar[] src, Radix radix=Radix.Decimal, uint *ate=null) |
Public Attributes | |
alias put | opCall |
private tChar | fill |
private tChar | space [32] |
private int | width = space.length |
private Radix | radix = Radix.Decimal |
Private Types | |
enum | Radix { Binary = 2, Octal = 8, Decimal = 10, Hexadecimal = 16 } |
Static Private Member Functions | |
this () | |
package uint | trim (tChar[] digits, inout bool sign, Radix *radix=null) |
Used by modules Token and DisplayWriter
Definition at line 52 of file Int.d.
|
|
|
|
|
|
|
Definition at line 87 of file Int.d. References fill, radix, space, and width. Referenced by format(). |
|
Definition at line 97 of file Int.d. References format(). |
|
Definition at line 107 of file Int.d. References format(). |
|
Definition at line 117 of file Int.d. References assert(). |
|
Definition at line 134 of file Int.d. References len. |
|
Definition at line 183 of file Int.d. References Number::trim(). |
|
Definition at line 61 of file Number.d. References Number::error. |
|
Definition at line 70 of file Number.d. References len. Referenced by Long::parse(), parse(), and Double::parse(). |
|
|
|
Definition at line 57 of file Int.d. Referenced by format(). |
|
Definition at line 58 of file Int.d. Referenced by format(). |
|
Definition at line 59 of file Int.d. Referenced by format(). |
|
Definition at line 60 of file Int.d. Referenced by format(). |