Inheritance diagram for UEnumeration:
Public Member Functions | |
this (Handle handle) | |
~this () | |
uint | count () |
void | reset () |
bool | next (out char[] dst) |
bool | next (inout wchar[] dst) |
Static Public Member Functions | |
static | this () |
static | ~this () |
Public Attributes | |
package Handle | handle |
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) |
Static Private Attributes | |
static void * | library |
Definition at line 96 of file UEnumeration.d.
|
Use this for the primary argument-type to most ICU functions |
|
ICU error codes (the ones which are referenced) |
|
Disposes of the storage used by a UEnumeration object Definition at line 115 of file UEnumeration.d. |
|
Definition at line 260 of file UEnumeration.d. |
|
Definition at line 104 of file UEnumeration.d. |
|
Returns the next element in the iterator's list. If there are no more elements, returns NULL. If the iterator is out-of-sync with its service, status is set to U_ENUM_OUT_OF_SYNC_ERROR and NULL is returned. If the native service string is a UChar* string, it is converted to char* with the invariant converter. The result is terminated by (char)0. If the conversion fails (because a character cannot be converted) then status is set to U_INVARIANT_CONVERSION_ERROR and the return value is undefined (but non-NULL). Definition at line 136 of file UEnumeration.d. References ICU::testError(). |
|
Resets the iterator to the current list of service IDs. This re-establishes sync with the service and rewinds the iterator to start at the first element Definition at line 154 of file UEnumeration.d. References ICU::testError(). |
|
Returns the next element in the iterator's list. If there are no more elements, returns NULL. If the iterator is out-of-sync with its service, status is set to U_ENUM_OUT_OF_SYNC_ERROR and NULL is returned. If the native service string is a char* string, it is converted to UChar* with the invariant converter. Definition at line 174 of file UEnumeration.d. References ICU::testError(). Referenced by UTimeZone::opApply(). |
|
Returns the next element in the iterator's list. If there are no more elements, returns NULL. If the iterator is out-of-sync with its service, status is set to U_ENUM_OUT_OF_SYNC_ERROR and NULL is returned. If the native service string is a char* string, it is converted to UChar* with the invariant converter. Definition at line 198 of file UEnumeration.d. References ICU::testError(). |
|
Definition at line 251 of file UEnumeration.d. |
|
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(), UMessageFormat::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 98 of file UEnumeration.d. |
|
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 219 of file UEnumeration.d. |
|
Initial value: [ {cast(void**) &uenum_close, "uenum_close"} Definition at line 238 of file UEnumeration.d. |