Back to index

lightning-sunbird  0.9+nobinonly
Static Public Member Functions
UTF8traits Class Reference

#include <nsUTF8Utils.h>

List of all members.

Static Public Member Functions

static PRBool isASCII (char c)
static PRBool isInSeq (char c)
static PRBool is2byte (char c)
static PRBool is3byte (char c)
static PRBool is4byte (char c)
static PRBool is5byte (char c)
static PRBool is6byte (char c)

Detailed Description

Definition at line 44 of file nsUTF8Utils.h.


Member Function Documentation

static PRBool UTF8traits::is2byte ( char  c) [inline, static]

Definition at line 49 of file nsUTF8Utils.h.

{ return (c & 0xE0) == 0xC0; }

Here is the caller graph for this function:

static PRBool UTF8traits::is3byte ( char  c) [inline, static]

Definition at line 50 of file nsUTF8Utils.h.

{ return (c & 0xF0) == 0xE0; }

Here is the caller graph for this function:

static PRBool UTF8traits::is4byte ( char  c) [inline, static]

Definition at line 51 of file nsUTF8Utils.h.

{ return (c & 0xF8) == 0xF0; }

Here is the caller graph for this function:

static PRBool UTF8traits::is5byte ( char  c) [inline, static]

Definition at line 52 of file nsUTF8Utils.h.

{ return (c & 0xFC) == 0xF8; }

Here is the caller graph for this function:

static PRBool UTF8traits::is6byte ( char  c) [inline, static]

Definition at line 53 of file nsUTF8Utils.h.

{ return (c & 0xFE) == 0xFC; }

Here is the caller graph for this function:

static PRBool UTF8traits::isASCII ( char  c) [inline, static]

Definition at line 47 of file nsUTF8Utils.h.

{ return (c & 0x80) == 0x00; }

Here is the caller graph for this function:

static PRBool UTF8traits::isInSeq ( char  c) [inline, static]

Definition at line 48 of file nsUTF8Utils.h.

{ return (c & 0xC0) == 0x80; }

Here is the caller graph for this function:


The documentation for this class was generated from the following file: