Inheritance diagram for UMessageFormat:
Public Member Functions | |
this (wchar[] pattern, inout ULocale locale=ULocale.Default) | |
this (UText pattern, inout ULocale locale=ULocale.Default) | |
~this () | |
UMessageFormat | setLocale (inout ULocale locale) |
UMessageFormat | getLocale (inout ULocale locale) |
UMessageFormat | setPattern (UText pattern) |
UMessageFormat | getPattern (UString s) |
UMessageFormat | format (UString s, Args *list) |
Static Public Member Functions | |
static | this () |
static | ~this () |
static void | test () |
Static Public Attributes | |
static FunctionLoader Bind[] | targets |
Private Types | |
typedef void * | Handle |
enum | Error { OK, BufferOverflow = 15 } |
Static Private Member Functions | |
static bool | isError (Error e) |
static void | testError (Error e, char[] msg) |
static char * | toString (char[] string) |
static wchar * | toString (wchar[] string) |
static uint | length (char *s) |
static uint | length (wchar *s) |
static char[] | toArray (char *s) |
static wchar[] | toArray (wchar *s) |
Private Attributes | |
Handle | handle |
Static Private Attributes | |
static void * | library |
Classes | |
struct | Args |
See this page for full details.
Definition at line 104 of file UMessageFormat.d.
|
Use this for the primary argument-type to most ICU functions |
|
ICU error codes (the ones which are referenced) |
|
Release message formatter Definition at line 141 of file UMessageFormat.d. References handle. |
|
Definition at line 370 of file UMessageFormat.d. References library. |
|
Open a message formatter with given wchar[] and for the given locale. Definition at line 115 of file UMessageFormat.d. References handle, and ICU::testError(). |
|
Open a message formatter with given pattern and for the given locale. Definition at line 130 of file UMessageFormat.d. |
|
This locale is used for fetching default number or date format information Definition at line 153 of file UMessageFormat.d. References handle, and ICU::toString(). |
|
This locale is used for fetching default number or date format information Definition at line 166 of file UMessageFormat.d. References handle, and ICU::toArray(). |
|
Sets the pattern Definition at line 178 of file UMessageFormat.d. References UText::get(), handle, UText::len, and ICU::testError(). |
|
Gets the pattern Definition at line 193 of file UMessageFormat.d. References UString::format(), and handle. |
|
This function may perform re-ordering of the arguments depending on the locale. For all numeric arguments, double is assumed unless the type is explicitly integer. All choice format arguments must be of type double. Definition at line 213 of file UMessageFormat.d. References UString::format(), and handle. Referenced by test(). |
|
Definition at line 360 of file UMessageFormat.d. |
|
Definition at line 379 of file UMessageFormat.d. References format(), UMessageFormat, and UString. |
|
Definition at line 156 of file ICU.d. Referenced by UCollator::getLocale(). |
|
|
|
|
|
Definition at line 228 of file ICU.d. References strlen(). Referenced by UConverter::UTranscoder::convert(). |
|
Definition at line 237 of file ICU.d. References wcslen(). |
|
Definition at line 246 of file ICU.d. References strlen(). Referenced by UConverter::detectSignature(), UResourceBundle::getKey(), UResourceBundle::getLocale(), getLocale(), UCollator::getLocale(), UConverter::getName(), UChar::getPropertyName(), UChar::getPropertyValueName(), and UConverter::opApply(). |
|
Definition at line 257 of file ICU.d. References wcslen(). |
|
Definition at line 106 of file UMessageFormat.d. Referenced by format(), getLocale(), getPattern(), setLocale(), setPattern(), this(), and ~this(). |
|
Bind the ICU functions from a shared library. This is complicated by the issues regarding D and DLLs on the Windows platform Definition at line 324 of file UMessageFormat.d. |
|
Initial value: [ {cast(void**) &umsg_open, "umsg_open"} Definition at line 345 of file UMessageFormat.d. Referenced by this(). |