tango.text.convert.Layout

Members

Aliases

Arg
alias Arg = void*

Platform issues ...

Arg
alias Arg = void*
Undocumented in source.
Arg
alias Arg = void*
Undocumented in source.
Arg
alias Arg = void*
Undocumented in source.
ArgList
alias ArgList = va_list

Platform issues ...

ArgList
alias ArgList = va_list
Undocumented in source.
ArgList
alias ArgList = va_list
Undocumented in source.
ArgList
alias ArgList = void*
Undocumented in source.

Classes

Layout
class Layout(T)

Contains methods for replacing format items in a string with string equivalents of each argument.

Enums

TypeCode
enum TypeCode

Functions

main
void main()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

License

BSD style: $(LICENSE)

Version

Initial release: 2005

Authors

Kris, Keinfarbton

This module provides a general-purpose formatting system to convert values to text suitable for display. There is support for alignment, justification, and common format specifiers for numbers.

Layout can be customized via configuring various handlers and associated meta-data. This is utilized to plug in text.locale for handling custom formats, date/time and culture-specific conversions.

The format notation is influenced by that used by the .NET and ICU frameworks, rather than C-style printf or D-style writef notation.