filters

#include <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)

Detailed Description

Unicode character.

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

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

Constructor & Destructor Documentation

◆ UChar() [1/7]

Swinder::UChar::UChar ( )
inline

Construct a character with value 0.

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

◆ UChar() [2/7]

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

Construct a character with the value denoted by the arguments.

Parameters
hhigher byte
llower byte

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

◆ UChar() [3/7]

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

Construct a character with the given value.

Parameters
u16 bit Unicode value

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

◆ UChar() [4/7]

Swinder::UChar::UChar ( unsigned char u)
inline

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

◆ UChar() [5/7]

Swinder::UChar::UChar ( char u)
inline

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

◆ UChar() [6/7]

Swinder::UChar::UChar ( unsigned int u)
inline

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

◆ UChar() [7/7]

UChar::UChar ( const UCharReference & c)

Definition at line 41 of file kspread/excel/sidewinder/ustring.cpp.

Member Function Documentation

◆ high()

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.

◆ low()

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.

◆ unicode()

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.

◆ operator==

bool operator== ( const UChar & c1,
const UChar & c2 )
friend

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

◆ UCharReference

friend class UCharReference
friend

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

◆ UString

friend class UString
friend

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

Member Data Documentation

◆ null

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: