Logo Search packages:      
Sourcecode: icu version File versions

Classes | Defines | Typedefs | Enumerations | Functions

uiter.h File Reference

C API: Unicode Character Iteration. More...

#include "unicode/utypes.h"
Include dependency graph for uiter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  UCharIterator

Defines

#define UITER_NO_STATE   ((uint32_t)0xffffffff)

Typedefs

typedef struct UCharIterator UCharIterator
typedef UChar32 U_CALLCONV UCharIteratorCurrent (UCharIterator *iter)
typedef int32_t U_CALLCONV UCharIteratorGetIndex (UCharIterator *iter, UCharIteratorOrigin origin)
typedef uint32_t U_CALLCONV UCharIteratorGetState (const UCharIterator *iter)
typedef UBool U_CALLCONV UCharIteratorHasNext (UCharIterator *iter)
typedef UBool U_CALLCONV UCharIteratorHasPrevious (UCharIterator *iter)
typedef int32_t U_CALLCONV UCharIteratorMove (UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin)
typedef UChar32 U_CALLCONV UCharIteratorNext (UCharIterator *iter)
typedef enum UCharIteratorOrigin UCharIteratorOrigin
typedef UChar32 U_CALLCONV UCharIteratorPrevious (UCharIterator *iter)
typedef int32_t U_CALLCONV UCharIteratorReserved (UCharIterator *iter, int32_t something)
typedef void U_CALLCONV UCharIteratorSetState (UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode)

Enumerations

enum  { UITER_UNKNOWN_INDEX = -2 }
enum  UCharIteratorOrigin {
  UITER_START, UITER_CURRENT, UITER_LIMIT, UITER_ZERO,
  UITER_LENGTH
}

Functions

U_STABLE UChar32 U_EXPORT2 uiter_current32 (UCharIterator *iter)
U_STABLE uint32_t U_EXPORT2 uiter_getState (const UCharIterator *iter)
U_STABLE UChar32 U_EXPORT2 uiter_next32 (UCharIterator *iter)
U_STABLE UChar32 U_EXPORT2 uiter_previous32 (UCharIterator *iter)
U_STABLE void U_EXPORT2 uiter_setState (UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode)
U_STABLE void U_EXPORT2 uiter_setString (UCharIterator *iter, const UChar *s, int32_t length)
U_STABLE void U_EXPORT2 uiter_setUTF16BE (UCharIterator *iter, const char *s, int32_t length)
U_STABLE void U_EXPORT2 uiter_setUTF8 (UCharIterator *iter, const char *s, int32_t length)

Detailed Description

C API: Unicode Character Iteration.

See also:
UCharIterator

Definition in file uiter.h.


Generated by  Doxygen 1.6.0   Back to index