filters

Swinder::UChar Struct Reference

#include <ustring.h>

List of all members.


Detailed Description

Unicode character.

UChar represents a 16 bit Unicode character. It's internal data representation is compatible to XChar2b and QChar. It's therefore possible to exchange data with X and Qt with shallow copies.

Definition at line 38 of file kspread/excel/sidewinder/ustring.h.


Public Member Functions

 UChar ()
 UChar (unsigned char h, unsigned char l)
 UChar (unsigned short u)
 UChar (unsigned char u)
 UChar (char u)
 UChar (unsigned int u)
 UChar (const UCharReference &c)
unsigned char high () const
unsigned char low () const
unsigned short unicode () const

Static Public Attributes

static UChar null

Friends

class UCharReference
class UString
bool operator== (const UChar &c1, const UChar &c2)
bool operator== (const UString &s1, const char *s2)
bool operator< (const UString &s1, const UString &s2)

Constructor & Destructor Documentation

Swinder::UChar::UChar (  )  [inline]

Construct a character with value 0.

Definition at line 87 of file kspread/excel/sidewinder/ustring.h.

Swinder::UChar::UChar ( unsigned char  h,
unsigned char  l 
) [inline]

Construct a character with the value denoted by the arguments.

Parameters:
h higher byte
l lower byte

Definition at line 88 of file kspread/excel/sidewinder/ustring.h.

Swinder::UChar::UChar ( unsigned short  u  )  [inline]

Construct a character with the given value.

Parameters:
u 16 bit Unicode value

Definition at line 89 of file kspread/excel/sidewinder/ustring.h.


Member Function Documentation

unsigned char Swinder::UChar::high (  )  const [inline]

Returns:
The higher byte of the character.

Definition at line 63 of file kspread/excel/sidewinder/ustring.h.

unsigned char Swinder::UChar::low (  )  const [inline]

Returns:
The lower byte of the character.

Definition at line 67 of file kspread/excel/sidewinder/ustring.h.

unsigned short Swinder::UChar::unicode (  )  const [inline]

Returns:
the 16 bit Unicode value of the character

Definition at line 71 of file kspread/excel/sidewinder/ustring.h.


Member Data Documentation

UChar UChar::null [static]

A static instance of UChar(0).

Definition at line 76 of file kspread/excel/sidewinder/ustring.h.


The documentation for this struct was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys