Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

unistr.h File Reference

#include "unicode/utypes.h"
#include "unicode/rep.h"
#include "unicode/uchar.h"

Go to the source code of this file.

Compounds

class  UCharReference
class  UnicodeString

Defines

#define UNICODE_STRING(cs, length)    UnicodeString(TRUE, (UChar *)L ## cs, length)
 Unicode String literals in C++. More...


Functions

void uprv_arrayCopy (const UnicodeString *src, UnicodeString *dst, int32_t count)
void uprv_arrayCopy (const UnicodeString *src, int32_t srcStart, UnicodeString *dst, int32_t dstStart, int32_t count)


Define Documentation

#define UNICODE_STRING( cs, length )   UnicodeString(TRUE, (UChar *)L ## cs, length)
 

Unicode String literals in C++.

Dependent on the platform properties, different UnicodeString constructors should be used to create a UnicodeString object from a string literal. The macros are defined for maximum performance. They work only for strings that contain "invariant characters", i.e., only latin letters, digits, and some punctuation. See utypes.h for details.

The string parameter must be a C string literal. The length of the string, not including the terminating NUL, must be specified as a constant. The U_STRING_DECL macro should be invoked exactly once for one such string variable before it is used.

Definition at line 65 of file unistr.h.


Function Documentation

void uprv_arrayCopy ( const UnicodeString * src,
int32_t srcStart,
UnicodeString * dst,
int32_t dstStart,
int32_t count ) [inline]
 

Definition at line 2493 of file unistr.h.

void uprv_arrayCopy ( const UnicodeString * src,
UnicodeString * dst,
int32_t count ) [inline]
 

Definition at line 2489 of file unistr.h.


Generated at Tue Jun 12 14:04:13 2001 for ICU 1.8.1 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000