Inheritance diagram for UMessageFormat:
Public Member Functions | |
this (UText pattern, inout ULocale locale) | |
~this () | |
UMessageFormat | setLocale (inout ULocale locale) |
UMessageFormat | getLocale (inout ULocale locale) |
UMessageFormat | setPattern (UText pattern) |
UMessageFormat | getPattern (UString s) |
UMessageFormat | format (UString s, UList list) |
Static Public Member Functions | |
void | test () |
Private Types | |
typedef void * | Handle |
enum | Error { OK, BufferOverflow = 15 } |
Static Private Member Functions | |
bool | isError (Error e) |
void | testError (Error e, char[] msg) |
char * | toString (char[] string) |
wchar * | toString (wchar[] string) |
uint | length (char *s) |
uint | length (wchar *s) |
char[] | toArray (char *s) |
wchar[] | toArray (wchar *s) |
Private Attributes | |
Handle | handle |
See this page for full details.
Definition at line 101 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 126 of file UMessageFormat.d. |
|
Open a message formatter with given pattern and for the given locale. Definition at line 112 of file UMessageFormat.d. References ICU::testError(), and ICU::toString(). |
|
This locale is used for fetching default number or date format information Definition at line 138 of file UMessageFormat.d. References ICU::toString(). |
|
This locale is used for fetching default number or date format information Definition at line 151 of file UMessageFormat.d. References ICU::toArray(). |
|
Sets the pattern Definition at line 163 of file UMessageFormat.d. References UText::get(), UText::len, and ICU::testError(). |
|
Gets the pattern Definition at line 178 of file UMessageFormat.d. References UString::format(). |
|
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 198 of file UMessageFormat.d. References UList::args, and UString::format(). Referenced by test(). |
|
Definition at line 278 of file UMessageFormat.d. References format(), UMessageFormat, and UString. |
|
Definition at line 127 of file ICU.d. Referenced by UConverter::detectSignature(), UString::format(), and UConverter::this(). |
|
|
Definition at line 155 of file ICU.d. Referenced by UConverter::compareNames(), UResourceBundle::getResource(), UResourceBundle::getString(), UCalendar::getTimeZoneName(), setLocale(), UResourceBundle::this(), this(), UDateFormat::this(), UText::toLower(), ICU::toString(), and UText::toUpper(). |
|
Definition at line 175 of file ICU.d. References ICU::toString(). |
|
Definition at line 184 of file ICU.d. References strlen(). |
|
Definition at line 193 of file ICU.d. References wcslen(). |
|
Definition at line 202 of file ICU.d. References strlen(). Referenced by UConverter::detectSignature(), UResourceBundle::getKey(), UResourceBundle::getLocale(), getLocale(), and UConverter::getName(). |
|
Definition at line 213 of file ICU.d. References wcslen(). |
|
Definition at line 103 of file UMessageFormat.d. |