Logo Search packages:      
Sourcecode: icu version File versions  Download package

UnicodeString::UnicodeString ( UChar32  ch  ) 

Single UChar32 (code point) constructor.

ch the character to place in the UnicodeString ICU 2.0

Definition at line 207 of file unistr.cpp.

References FALSE, and U16_APPEND.

  : fShortLength(0),
  int32_t i = 0;
  UBool isError = FALSE;
  U16_APPEND(fUnion.fStackBuffer, i, US_STACKBUF_SIZE, ch, isError);
  fShortLength = (int8_t)i;

Generated by  Doxygen 1.6.0   Back to index