Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Number Class Reference

Inheritance diagram for Number:

Formatter DGDouble Double Int Long List of all members.

Public Types

enum  Radix { Binary = 2, Octal = 8, Decimal = 10, Hexadecimal = 16 }

Static Public Member Functions

 this ()
package uint trim (tChar[] digits, inout bool sign, Radix *radix=null)

Private Types

typedef char tChar
typedef void delegate (tChar[] s) FormatTarget

Private Member Functions

void emit (tChar[] x)
void setTarget (FormatTarget target)
void setTarget (IFormatTarget target)

Private Attributes

protected FormatTarget put

Static Private Attributes

IOException error

Member Typedef Documentation

typedef char tChar [inherited]
 

Definition at line 49 of file Formatter.d.

Referenced by Formatter::emit().

typedef void delegate(tChar[] s) FormatTarget [inherited]
 

Definition at line 51 of file Formatter.d.


Member Enumeration Documentation

enum Radix
 

Enumeration values:
Binary 
Octal 
Decimal 
Hexadecimal 

Definition at line 51 of file Number.d.


Member Function Documentation

this  )  [inline, static]
 

Definition at line 61 of file Number.d.

References error.

package uint trim tChar[]  digits,
inout bool  sign,
Radix radix = null
[inline, static]
 

Definition at line 70 of file Number.d.

References len.

Referenced by Long::parse(), Int::parse(), and Double::parse().

void emit tChar[]  x  )  [inline, inherited]
 

Definition at line 59 of file Formatter.d.

References Formatter::put, and Formatter::tChar.

void setTarget FormatTarget  target  )  [inline, inherited]
 

Definition at line 68 of file Formatter.d.

References ColumnWriter::put.

Referenced by Formatter::setTarget().

void setTarget IFormatTarget  target  )  [inline, inherited]
 

Definition at line 77 of file Formatter.d.

References Formatter::setTarget().


Member Data Documentation

IOException error [static, private]
 

Setup a static error instance

Definition at line 59 of file Number.d.

Referenced by this().

protected FormatTarget put [inherited]
 

Definition at line 53 of file Formatter.d.

Referenced by Formatter::emit().


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 00:31:13 2005 for Mango by doxygen 1.3.6