lestes::std::character Class Reference

Character constants and manipulators. More...

#include <character.hh>

List of all members.

Public Member Functions

 character (void)
 Initializes internal tables.
 ~character (void)
 Destructor of the initializer.

Static Public Member Functions

static ucn create_internal (ulint code)
 Returns internal character set ucn.
static ucn create_from_host (hchar c)
 Returns internal ucn from host character.
static ucn create_external (ulint code)
 Returns external character set ucn.
static ucn create_xdigit (ulint digit)
 Returns internal character set ucn from hexadecimal digit.
static bool is_internal (ucn u)
 Tests if value is internal character.
static bool is_external (ucn u)
 Tests if value is external character.
static bool is_basic (ucn u)
 Tests if value is basic source character.
static bool is_translated (ucn u)
 Tests if value is translated source character.
static bool is_ascii7 (ucn u)
 Tests if value is 7 bit ASCII.
static bool is_alpha (ucn u)
 Tests if value is ASCII letter.
static bool is_upper (ucn u)
 Tests if value is ASCII uppercase letter.
static bool is_lower (ucn u)
 Tests if value is ASCII lowercase letter.
static bool is_digit (ucn u)
 Tests if value is ASCII digit.
static bool is_odigit (ucn u)
 Tests if value is ASCII octal digit.
static bool is_xdigit (ucn u)
 Tests if value is ASCII hexadecimal digit .
static bool is_space (ucn u)
 Tests if value is ASCII space character .
static bool is_translated_identifier (ucn u)
 Tests if value is translated C++ identifier character.
static bool is_encodable_host (ucn u)
 Tests if value is host character encodable in ucn.
static ucn to_upper (ucn u)
 Returns uppercase of ASCII letter.
static ucn to_lower (ucn u)
 Returns lowercase of ASCII letter.
static hchar to_host (ucn u)
 Returns host character.
static ulint extract_digit (ucn u)
 Returns digit value.
static ulint extract_xdigit (ucn u)
 Returns hexadecimal digit value.
static ulint extract_odigit (ucn u)
 Returns hexadecimal digit value.
static ulint extract_value (ucn u)
 Returns character value.

Static Public Attributes

static const ucn ascii_bell = static_cast<ucn>(0x07)
 ASCII bell character.
static const ucn ascii_backspace = static_cast<ucn>(0x08)
 ASCII backspace character.
static const ucn ascii_tab = static_cast<ucn>(0x09)
 ASCII tabulator character.
static const ucn ascii_vtab = static_cast<ucn>(0x0B)
 ASCII vertical tabulator character.
static const ucn ascii_form_feed = static_cast<ucn>(0x0C)
 ASCII form feed character.
static const ucn ascii_new_line = static_cast<ucn>(0x0A)
 ASCII new line character.
static const ucn ascii_carriage_return = static_cast<ucn>(0x0D)
 ASCII carriage return character.
static const ucn ascii_space = static_cast<ucn>(0x20)
 ASCII space character.
static const ucn ascii_emark = static_cast<ucn>(0x21)
 ASCII exclamation mark character.
static const ucn ascii_dquote = static_cast<ucn>(0x22)
 ASCII double quote character.
static const ucn ascii_hash = static_cast<ucn>(0x23)
 ASCII hash character.
static const ucn ascii_dollar = static_cast<ucn>(0x24)
 ASCII dollar character.
static const ucn ascii_percent = static_cast<ucn>(0x25)
 ASCII percent character.
static const ucn ascii_amp = static_cast<ucn>(0x26)
 ASCII ampersand character.
static const ucn ascii_quote = static_cast<ucn>(0x27)
 ASCII quote character.
static const ucn ascii_left_par = static_cast<ucn>(0x28)
 ASCII left parenthesis character.
static const ucn ascii_right_par = static_cast<ucn>(0x29)
 ASCII right parenthesis character.
static const ucn ascii_star = static_cast<ucn>(0x2A)
 ASCII star character.
static const ucn ascii_plus = static_cast<ucn>(0x2B)
 ASCII plus character.
static const ucn ascii_comma = static_cast<ucn>(0x2C)
 ASCII comma character.
static const ucn ascii_minus = static_cast<ucn>(0x2D)
 ASCII minus character.
static const ucn ascii_dot = static_cast<ucn>(0x2E)
 ASCII dot character.
static const ucn ascii_slash = static_cast<ucn>(0x2F)
 ASCII slash character.
static const ucn ascii_digit_0 = static_cast<ucn>(0x30)
 ASCII digit 0 character.
static const ucn ascii_digit_1 = static_cast<ucn>(0x31)
 ASCII digit 1 character.
static const ucn ascii_digit_2 = static_cast<ucn>(0x32)
 ASCII digit 2 character.
static const ucn ascii_digit_3 = static_cast<ucn>(0x33)
 ASCII digit 3 character.
static const ucn ascii_digit_4 = static_cast<ucn>(0x34)
 ASCII digit 4 character.
static const ucn ascii_digit_5 = static_cast<ucn>(0x35)
 ASCII digit 5 character.
static const ucn ascii_digit_6 = static_cast<ucn>(0x36)
 ASCII digit 6 character.
static const ucn ascii_digit_7 = static_cast<ucn>(0x37)
 ASCII digit 7 character.
static const ucn ascii_digit_8 = static_cast<ucn>(0x38)
 ASCII digit 8 character.
static const ucn ascii_digit_9 = static_cast<ucn>(0x39)
 ASCII digit 9 character.
static const ucn ascii_colon = static_cast<ucn>(0x3A)
 ASCII colon character.
static const ucn ascii_semicolon = static_cast<ucn>(0x3B)
 ASCII semicolon character.
static const ucn ascii_lt = static_cast<ucn>(0x3C)
 ASCII less than character.
static const ucn ascii_eq = static_cast<ucn>(0x3D)
 ASCII equals character.
static const ucn ascii_gt = static_cast<ucn>(0x3E)
 ASCII greater than character.
static const ucn ascii_qmark = static_cast<ucn>(0x3F)
 ASCII question mark character.
static const ucn ascii_at = static_cast<ucn>(0x40)
 ASCII commercial at character (zavinac).
static const ucn ascii_upper_a = static_cast<ucn>(0x41)
 ASCII upper a character.
static const ucn ascii_upper_b = static_cast<ucn>(0x42)
 ASCII upper b character.
static const ucn ascii_upper_c = static_cast<ucn>(0x43)
 ASCII upper c character.
static const ucn ascii_upper_d = static_cast<ucn>(0x44)
 ASCII upper d character.
static const ucn ascii_upper_e = static_cast<ucn>(0x45)
 ASCII upper e character.
static const ucn ascii_upper_f = static_cast<ucn>(0x46)
 ASCII upper f character.
static const ucn ascii_upper_g = static_cast<ucn>(0x47)
 ASCII upper g character.
static const ucn ascii_upper_h = static_cast<ucn>(0x48)
 ASCII upper h character.
static const ucn ascii_upper_i = static_cast<ucn>(0x49)
 ASCII upper i character.
static const ucn ascii_upper_j = static_cast<ucn>(0x4A)
 ASCII upper j character.
static const ucn ascii_upper_k = static_cast<ucn>(0x4B)
 ASCII upper k character.
static const ucn ascii_upper_l = static_cast<ucn>(0x4C)
 ASCII upper l character.
static const ucn ascii_upper_m = static_cast<ucn>(0x4D)
 ASCII upper m character.
static const ucn ascii_upper_n = static_cast<ucn>(0x4E)
 ASCII upper n character.
static const ucn ascii_upper_o = static_cast<ucn>(0x4F)
 ASCII upper o character.
static const ucn ascii_upper_p = static_cast<ucn>(0x50)
 ASCII upper p character.
static const ucn ascii_upper_q = static_cast<ucn>(0x51)
 ASCII upper q character.
static const ucn ascii_upper_r = static_cast<ucn>(0x52)
 ASCII upper r character.
static const ucn ascii_upper_s = static_cast<ucn>(0x53)
 ASCII upper s character.
static const ucn ascii_upper_t = static_cast<ucn>(0x54)
 ASCII upper t character.
static const ucn ascii_upper_u = static_cast<ucn>(0x55)
 ASCII upper u character.
static const ucn ascii_upper_v = static_cast<ucn>(0x56)
 ASCII upper v character.
static const ucn ascii_upper_w = static_cast<ucn>(0x57)
 ASCII upper w character.
static const ucn ascii_upper_x = static_cast<ucn>(0x58)
 ASCII upper x character.
static const ucn ascii_upper_y = static_cast<ucn>(0x59)
 ASCII upper y character.
static const ucn ascii_upper_z = static_cast<ucn>(0x5A)
 ASCII upper z character.
static const ucn ascii_left_bracket = static_cast<ucn>(0x5B)
 ASCII left bracket character.
static const ucn ascii_backslash = static_cast<ucn>(0x5C)
 ASCII backslash character.
static const ucn ascii_right_bracket = static_cast<ucn>(0x5D)
 ASCII right bracket character.
static const ucn ascii_hat = static_cast<ucn>(0x5E)
 ASCII hat character.
static const ucn ascii_underscore = static_cast<ucn>(0x5F)
 ASCII underscore character.
static const ucn ascii_bquote = static_cast<ucn>(0x60)
 ASCII back quote character.
static const ucn ascii_lower_a = static_cast<ucn>(0x61)
 ASCII lower a character.
static const ucn ascii_lower_b = static_cast<ucn>(0x62)
 ASCII lower b character.
static const ucn ascii_lower_c = static_cast<ucn>(0x63)
 ASCII lower c character.
static const ucn ascii_lower_d = static_cast<ucn>(0x64)
 ASCII lower d character.
static const ucn ascii_lower_e = static_cast<ucn>(0x65)
 ASCII lower e character.
static const ucn ascii_lower_f = static_cast<ucn>(0x66)
 ASCII lower f character.
static const ucn ascii_lower_g = static_cast<ucn>(0x67)
 ASCII lower g character.
static const ucn ascii_lower_h = static_cast<ucn>(0x68)
 ASCII lower h character.
static const ucn ascii_lower_i = static_cast<ucn>(0x69)
 ASCII lower i character.
static const ucn ascii_lower_j = static_cast<ucn>(0x6A)
 ASCII lower j character.
static const ucn ascii_lower_k = static_cast<ucn>(0x6B)
 ASCII lower k character.
static const ucn ascii_lower_l = static_cast<ucn>(0x6C)
 ASCII lower l character.
static const ucn ascii_lower_m = static_cast<ucn>(0x6D)
 ASCII lower m character.
static const ucn ascii_lower_n = static_cast<ucn>(0x6E)
 ASCII lower n character.
static const ucn ascii_lower_o = static_cast<ucn>(0x6F)
 ASCII lower o character.
static const ucn ascii_lower_p = static_cast<ucn>(0x70)
 ASCII lower p character.
static const ucn ascii_lower_q = static_cast<ucn>(0x71)
 ASCII lower q character.
static const ucn ascii_lower_r = static_cast<ucn>(0x72)
 ASCII lower r character.
static const ucn ascii_lower_s = static_cast<ucn>(0x73)
 ASCII lower s character.
static const ucn ascii_lower_t = static_cast<ucn>(0x74)
 ASCII lower t character.
static const ucn ascii_lower_u = static_cast<ucn>(0x75)
 ASCII lower u character.
static const ucn ascii_lower_v = static_cast<ucn>(0x76)
 ASCII lower v character.
static const ucn ascii_lower_w = static_cast<ucn>(0x77)
 ASCII lower w character.
static const ucn ascii_lower_x = static_cast<ucn>(0x78)
 ASCII lower x character.
static const ucn ascii_lower_y = static_cast<ucn>(0x79)
 ASCII lower y character.
static const ucn ascii_lower_z = static_cast<ucn>(0x7A)
 ASCII lower z character.
static const ucn ascii_left_brace = static_cast<ucn>(0x7B)
 ASCII left brace character.
static const ucn ascii_vbar = static_cast<ucn>(0x7C)
 ASCII vertical bar character.
static const ucn ascii_right_brace = static_cast<ucn>(0x7D)
 ASCII right brace character.
static const ucn ascii_tilde = static_cast<ucn>(0x7E)
 ASCII tilde character.

Private Types

enum  ascii_flags_values {
  FLG_NONE = 0x00, FLG_BASIC = 0x01, FLG_UPPER = 0x02, FLG_LOWER = 0x04,
  FLG_ALPHA = 0x06, FLG_DIGIT = 0x08, FLG_ODIGIT = 0x10, FLG_XDIGIT = 0x20,
  FLG_SPACE = 0x40
}
 Values of ASCII flags. More...
typedef lc_host_uint_least8 ascii_flags_type
 Type of ASCII flags.

Private Member Functions

 character (const character &copy)
 Hides copy constructor.
characteroperator= (const character &rhs)
 Hides assignment operator.

Static Private Attributes

static const ulint ucn_bits = 32
 Number of significant ucn_bits.
static const ucn value_mask = (static_cast<ucn>(1) << (ucn_bits - 1)) - 1
 Mask for character value.
static const ucn external_mask = (static_cast<ucn>(1) << (ucn_bits - 1))
 Mask for external characters.
static const ucn eof = ((static_cast<ucn>(1) << (ucn_bits - 1) - 1) << 1) | 1
 Internal eof constant, only for ucn_traits, must not be used elsewhere.
static const hchar hchar_unknown = '\0'
 Host character value presumably not representing encodable character.
static const ulint ascii_length = 128
 Length of 7 bit ASCII table.
static const ulint host_length = 1 << (::std::numeric_limits<hchar>::digits)
 Length of table of host characters .
static ascii_flags_type ascii_flags [ascii_length]
 Flags of ASCII characters.
static range_type identifier_ranges []
 List of unicode character ranges for C++ identifiers.
static hchar internal_to_host [ascii_length]
 Internal to host encoding of basic characters translation table.
static ulint host_to_internal [host_length]
 Host to internal value encoding translation table.
static bool initialized = false
 Multiple initialization guard.

Classes

struct  range_type
 Range of 16 bit codes. More...


Detailed Description

Character constants and manipulators.

Contains symbolic constants for Unicode representation of basic source characters as well as creators, predicates, transformers and extracters.


Member Typedef Documentation

typedef lc_host_uint_least8 lestes::std::character::ascii_flags_type [private]

Type of ASCII flags.


Member Enumeration Documentation

enum lestes::std::character::ascii_flags_values [private]

Values of ASCII flags.

Enumerator:
FLG_NONE 
FLG_BASIC 
FLG_UPPER 
FLG_LOWER 
FLG_ALPHA 
FLG_DIGIT 
FLG_ODIGIT 
FLG_XDIGIT 
FLG_SPACE 


Constructor & Destructor Documentation

lestes::std::character::character ( void   ) 

Initializes internal tables.

Initializes some of the internal tables.

lestes::std::character::~character ( void   ) 

Destructor of the initializer.

Destructs the initializer instance.

lestes::std::character::character ( const character copy  )  [private]

Hides copy constructor.


Member Function Documentation

ucn lestes::std::character::create_internal ( ulint  code  )  [inline, static]

Returns internal character set ucn.

Returns ucn for internal character of given code.

Precondition:
code <= 0x7FFFFFFF
Parameters:
code The code of the character.
Returns:
The internal character encoded in ucn.

ucn lestes::std::character::create_from_host ( hchar  c  )  [inline, static]

Returns internal ucn from host character.

Returns ucn for basic host character.

Precondition:
The host character is basic.
Parameters:
c The host character.
Returns:
The host character encoded in ucn.

ucn lestes::std::character::create_external ( ulint  code  )  [inline, static]

Returns external character set ucn.

Returns ucn for external character of given code.

Precondition:
code < 0x7FFFFFFF
Parameters:
code The code of the character.
Returns:
The external character encoded in ucn.

ucn lestes::std::character::create_xdigit ( ulint  digit  )  [inline, static]

Returns internal character set ucn from hexadecimal digit.

Returns ucn for internal character representing given lower case hexadecimal number.

Precondition:
digit < 16
Parameters:
digit The hexadecimal digit.
Returns:
The digit as internal ucn.

bool lestes::std::character::is_internal ( ucn  u  )  [inline, static]

Tests if value is internal character.

Tests if value is internal character.

Parameters:
u The value to test.
Returns:
true If the value represents internal character.

bool lestes::std::character::is_external ( ucn  u  )  [inline, static]

Tests if value is external character.

Tests if value is external character.

Parameters:
u The value to test.
Returns:
true If the value represents external character.

bool lestes::std::character::is_basic ( ucn  u  )  [inline, static]

Tests if value is basic source character.

Tests if value is basic source character.

Parameters:
u The value to test.
Returns:
true If the value represents basic source character.

bool lestes::std::character::is_translated ( ucn  u  )  [inline, static]

Tests if value is translated source character.

Tests if value is translated source character. Certain ranges are disallowed for translated characters.

Parameters:
u The value to test.
Returns:
true If the value represents translated source character.

bool lestes::std::character::is_ascii7 ( ucn  u  )  [inline, static]

Tests if value is 7 bit ASCII.

Tests if value is 7 bit ASCII.

Parameters:
u The value to test.
Returns:
true If the value represents 7 bit ASCII character.

bool lestes::std::character::is_alpha ( ucn  u  )  [inline, static]

Tests if value is ASCII letter.

Tests if value is ASCII letter.

Parameters:
u The value to test.
Returns:
true If the value represents ASCII letter.

bool lestes::std::character::is_upper ( ucn  u  )  [inline, static]

Tests if value is ASCII uppercase letter.

Tests if value is ASCII uppercase letter.

Parameters:
u The value to test.
Returns:
true If the value represents ASCII uppercase letter.

bool lestes::std::character::is_lower ( ucn  u  )  [inline, static]

Tests if value is ASCII lowercase letter.

Tests if value is ASCII lowercase letter.

Parameters:
u The value to test.
Returns:
true If the value represents ASCII lowercase letter.

bool lestes::std::character::is_digit ( ucn  u  )  [inline, static]

Tests if value is ASCII digit.

Tests if value is ASCII digit.

Parameters:
u The value to test.
Returns:
true If the value represents ASCII digit.

bool lestes::std::character::is_odigit ( ucn  u  )  [inline, static]

Tests if value is ASCII octal digit.

Tests if value is ASCII octal digit.

Parameters:
u The value to test.
Returns:
true If the value represents ASCII octal digit.

bool lestes::std::character::is_xdigit ( ucn  u  )  [inline, static]

Tests if value is ASCII hexadecimal digit .

Tests if value is ASCII hexadecimal digit.

Parameters:
u The value to test.
Returns:
true If the value represents ASCII hexadecimal digit.

bool lestes::std::character::is_space ( ucn  u  )  [inline, static]

Tests if value is ASCII space character .

Tests if value is ASCII space character (space, tab, vtab, ff, cr, lf)

Parameters:
u The value to test.
Returns:
true If the value represents ASCII space character.

bool lestes::std::character::is_translated_identifier ( ucn  u  )  [static]

Tests if value is translated C++ identifier character.

Tests if value is translated unicode C++ identifier character. Performs a binary search, idea taken from gcc.

Parameters:
u The value to test.
Returns:
true If the value falls into a range for valid C++ identifier.

bool lestes::std::character::is_encodable_host ( ucn  u  )  [inline, static]

Tests if value is host character encodable in ucn.

Tests if value is external host character with known encoding into ucn.

Parameters:
u The value to test.
Returns:
true If the value represents encodable host character.

ucn lestes::std::character::to_upper ( ucn  u  )  [inline, static]

Returns uppercase of ASCII letter.

Returns uppercase of ASCII lowercase letter, other values intact.

Parameters:
u The value to transform.
Returns:
Uppercase of the given lowercase letter or the original ucn.

ucn lestes::std::character::to_lower ( ucn  u  )  [inline, static]

Returns lowercase of ASCII letter.

Returns lowercase of ASCII uppercase letter, other values intact.

Parameters:
u The value to transform.
Returns:
Uppercase of the given uppercase letter or the original ucn.

hchar lestes::std::character::to_host ( ucn  u  )  [inline, static]

Returns host character.

Returns host character for subset of ASCII for which the encoding is known. It contains basic ASCII characters, '$', '@' and '`'. Other values are not supported.

Precondition:
The value is internal and contains only character with known encoding.
Parameters:
u The value to transform.
Returns:
The given character in host encoding.

ulint lestes::std::character::extract_digit ( ucn  u  )  [inline, static]

Returns digit value.

Returns digit value of the ucn.

Precondition:
is_digit(u)
Parameters:
u The digit to extract.
Returns:
The value of the digit.

ulint lestes::std::character::extract_xdigit ( ucn  u  )  [inline, static]

Returns hexadecimal digit value.

Returns hexadecimal digit value of the ucn.

Precondition:
is_xdigit(u)
Parameters:
u The digit to extract.
Returns:
The value of the hexadecimal digit.

ulint lestes::std::character::extract_odigit ( ucn  u  )  [inline, static]

Returns hexadecimal digit value.

Returns octal digit value of the ucn.

Precondition:
is_odigit(u)
Parameters:
u The digit to extract.
Returns:
The value of the octal digit.

ulint lestes::std::character::extract_value ( ucn  u  )  [inline, static]

Returns character value.

Returns character value of the ucn for both unicode and external characters.

Parameters:
u The character to extract.
Returns:
The value of the stored character.

character& lestes::std::character::operator= ( const character rhs  )  [private]

Hides assignment operator.


Member Data Documentation

const ucn lestes::std::character::ascii_bell = static_cast<ucn>(0x07) [static]

ASCII bell character.

ASCII bell character.

const ucn lestes::std::character::ascii_backspace = static_cast<ucn>(0x08) [static]

ASCII backspace character.

ASCII backspace character.

const ucn lestes::std::character::ascii_tab = static_cast<ucn>(0x09) [static]

ASCII tabulator character.

ASCII tabulator character.

const ucn lestes::std::character::ascii_vtab = static_cast<ucn>(0x0B) [static]

ASCII vertical tabulator character.

ASCII vertical tabulator character.

const ucn lestes::std::character::ascii_form_feed = static_cast<ucn>(0x0C) [static]

ASCII form feed character.

ASCII form feed character.

const ucn lestes::std::character::ascii_new_line = static_cast<ucn>(0x0A) [static]

ASCII new line character.

ASCII new line character.

const ucn lestes::std::character::ascii_carriage_return = static_cast<ucn>(0x0D) [static]

ASCII carriage return character.

ASCII carriage return character.

const ucn lestes::std::character::ascii_space = static_cast<ucn>(0x20) [static]

ASCII space character.

ASCII space character.

const ucn lestes::std::character::ascii_emark = static_cast<ucn>(0x21) [static]

ASCII exclamation mark character.

ASCII exclamation mark character.

const ucn lestes::std::character::ascii_dquote = static_cast<ucn>(0x22) [static]

ASCII double quote character.

ASCII double quote character.

const ucn lestes::std::character::ascii_hash = static_cast<ucn>(0x23) [static]

ASCII hash character.

ASCII hash character.

const ucn lestes::std::character::ascii_dollar = static_cast<ucn>(0x24) [static]

ASCII dollar character.

ASCII dollar character.

const ucn lestes::std::character::ascii_percent = static_cast<ucn>(0x25) [static]

ASCII percent character.

ASCII percent character.

const ucn lestes::std::character::ascii_amp = static_cast<ucn>(0x26) [static]

ASCII ampersand character.

ASCII ampersand character.

const ucn lestes::std::character::ascii_quote = static_cast<ucn>(0x27) [static]

ASCII quote character.

ASCII quote character.

const ucn lestes::std::character::ascii_left_par = static_cast<ucn>(0x28) [static]

ASCII left parenthesis character.

ASCII left parenthesis character.

const ucn lestes::std::character::ascii_right_par = static_cast<ucn>(0x29) [static]

ASCII right parenthesis character.

ASCII right parenthesis character.

const ucn lestes::std::character::ascii_star = static_cast<ucn>(0x2A) [static]

ASCII star character.

ASCII star character.

const ucn lestes::std::character::ascii_plus = static_cast<ucn>(0x2B) [static]

ASCII plus character.

ASCII plus character.

const ucn lestes::std::character::ascii_comma = static_cast<ucn>(0x2C) [static]

ASCII comma character.

ASCII comma character.

const ucn lestes::std::character::ascii_minus = static_cast<ucn>(0x2D) [static]

ASCII minus character.

ASCII minus character.

const ucn lestes::std::character::ascii_dot = static_cast<ucn>(0x2E) [static]

ASCII dot character.

ASCII dot character.

const ucn lestes::std::character::ascii_slash = static_cast<ucn>(0x2F) [static]

ASCII slash character.

ASCII slash character.

const ucn lestes::std::character::ascii_digit_0 = static_cast<ucn>(0x30) [static]

ASCII digit 0 character.

ASCII digit 0 character.

const ucn lestes::std::character::ascii_digit_1 = static_cast<ucn>(0x31) [static]

ASCII digit 1 character.

ASCII digit 1 character.

const ucn lestes::std::character::ascii_digit_2 = static_cast<ucn>(0x32) [static]

ASCII digit 2 character.

ASCII digit 2 character.

const ucn lestes::std::character::ascii_digit_3 = static_cast<ucn>(0x33) [static]

ASCII digit 3 character.

ASCII digit 3 character.

const ucn lestes::std::character::ascii_digit_4 = static_cast<ucn>(0x34) [static]

ASCII digit 4 character.

ASCII digit 4 character.

const ucn lestes::std::character::ascii_digit_5 = static_cast<ucn>(0x35) [static]

ASCII digit 5 character.

ASCII digit 5 character.

const ucn lestes::std::character::ascii_digit_6 = static_cast<ucn>(0x36) [static]

ASCII digit 6 character.

ASCII digit 6 character.

const ucn lestes::std::character::ascii_digit_7 = static_cast<ucn>(0x37) [static]

ASCII digit 7 character.

ASCII digit 7 character.

const ucn lestes::std::character::ascii_digit_8 = static_cast<ucn>(0x38) [static]

ASCII digit 8 character.

ASCII digit 8 character.

const ucn lestes::std::character::ascii_digit_9 = static_cast<ucn>(0x39) [static]

ASCII digit 9 character.

ASCII digit 9 character.

const ucn lestes::std::character::ascii_colon = static_cast<ucn>(0x3A) [static]

ASCII colon character.

ASCII colon character.

const ucn lestes::std::character::ascii_semicolon = static_cast<ucn>(0x3B) [static]

ASCII semicolon character.

ASCII semicolon character.

const ucn lestes::std::character::ascii_lt = static_cast<ucn>(0x3C) [static]

ASCII less than character.

ASCII less than character.

const ucn lestes::std::character::ascii_eq = static_cast<ucn>(0x3D) [static]

ASCII equals character.

ASCII equals character.

const ucn lestes::std::character::ascii_gt = static_cast<ucn>(0x3E) [static]

ASCII greater than character.

ASCII greater than character.

const ucn lestes::std::character::ascii_qmark = static_cast<ucn>(0x3F) [static]

ASCII question mark character.

ASCII question mark character.

const ucn lestes::std::character::ascii_at = static_cast<ucn>(0x40) [static]

ASCII commercial at character (zavinac).

ASCII commercial at character (zavinac).

const ucn lestes::std::character::ascii_upper_a = static_cast<ucn>(0x41) [static]

ASCII upper a character.

ASCII upper a character.

const ucn lestes::std::character::ascii_upper_b = static_cast<ucn>(0x42) [static]

ASCII upper b character.

ASCII upper b character.

const ucn lestes::std::character::ascii_upper_c = static_cast<ucn>(0x43) [static]

ASCII upper c character.

ASCII upper c character.

const ucn lestes::std::character::ascii_upper_d = static_cast<ucn>(0x44) [static]

ASCII upper d character.

ASCII upper d character.

const ucn lestes::std::character::ascii_upper_e = static_cast<ucn>(0x45) [static]

ASCII upper e character.

ASCII upper e character.

const ucn lestes::std::character::ascii_upper_f = static_cast<ucn>(0x46) [static]

ASCII upper f character.

ASCII upper f character.

const ucn lestes::std::character::ascii_upper_g = static_cast<ucn>(0x47) [static]

ASCII upper g character.

ASCII upper g character.

const ucn lestes::std::character::ascii_upper_h = static_cast<ucn>(0x48) [static]

ASCII upper h character.

ASCII upper h character.

const ucn lestes::std::character::ascii_upper_i = static_cast<ucn>(0x49) [static]

ASCII upper i character.

ASCII upper i character.

const ucn lestes::std::character::ascii_upper_j = static_cast<ucn>(0x4A) [static]

ASCII upper j character.

ASCII upper j character.

const ucn lestes::std::character::ascii_upper_k = static_cast<ucn>(0x4B) [static]

ASCII upper k character.

ASCII upper k character.

const ucn lestes::std::character::ascii_upper_l = static_cast<ucn>(0x4C) [static]

ASCII upper l character.

ASCII upper l character.

const ucn lestes::std::character::ascii_upper_m = static_cast<ucn>(0x4D) [static]

ASCII upper m character.

ASCII upper m character.

const ucn lestes::std::character::ascii_upper_n = static_cast<ucn>(0x4E) [static]

ASCII upper n character.

ASCII upper n character.

const ucn lestes::std::character::ascii_upper_o = static_cast<ucn>(0x4F) [static]

ASCII upper o character.

ASCII upper o character.

const ucn lestes::std::character::ascii_upper_p = static_cast<ucn>(0x50) [static]

ASCII upper p character.

ASCII upper p character.

const ucn lestes::std::character::ascii_upper_q = static_cast<ucn>(0x51) [static]

ASCII upper q character.

ASCII upper q character.

const ucn lestes::std::character::ascii_upper_r = static_cast<ucn>(0x52) [static]

ASCII upper r character.

ASCII upper r character.

const ucn lestes::std::character::ascii_upper_s = static_cast<ucn>(0x53) [static]

ASCII upper s character.

ASCII upper s character.

const ucn lestes::std::character::ascii_upper_t = static_cast<ucn>(0x54) [static]

ASCII upper t character.

ASCII upper t character.

const ucn lestes::std::character::ascii_upper_u = static_cast<ucn>(0x55) [static]

ASCII upper u character.

ASCII upper u character.

const ucn lestes::std::character::ascii_upper_v = static_cast<ucn>(0x56) [static]

ASCII upper v character.

ASCII upper v character.

const ucn lestes::std::character::ascii_upper_w = static_cast<ucn>(0x57) [static]

ASCII upper w character.

ASCII upper w character.

const ucn lestes::std::character::ascii_upper_x = static_cast<ucn>(0x58) [static]

ASCII upper x character.

ASCII upper x character.

const ucn lestes::std::character::ascii_upper_y = static_cast<ucn>(0x59) [static]

ASCII upper y character.

ASCII upper y character.

const ucn lestes::std::character::ascii_upper_z = static_cast<ucn>(0x5A) [static]

ASCII upper z character.

ASCII upper z character.

const ucn lestes::std::character::ascii_left_bracket = static_cast<ucn>(0x5B) [static]

ASCII left bracket character.

ASCII left bracket character.

const ucn lestes::std::character::ascii_backslash = static_cast<ucn>(0x5C) [static]

ASCII backslash character.

ASCII backslash character.

const ucn lestes::std::character::ascii_right_bracket = static_cast<ucn>(0x5D) [static]

ASCII right bracket character.

ASCII right bracket character.

const ucn lestes::std::character::ascii_hat = static_cast<ucn>(0x5E) [static]

ASCII hat character.

ASCII hat character.

const ucn lestes::std::character::ascii_underscore = static_cast<ucn>(0x5F) [static]

ASCII underscore character.

ASCII underscore character.

const ucn lestes::std::character::ascii_bquote = static_cast<ucn>(0x60) [static]

ASCII back quote character.

ASCII back quote character.

const ucn lestes::std::character::ascii_lower_a = static_cast<ucn>(0x61) [static]

ASCII lower a character.

ASCII lower a character.

const ucn lestes::std::character::ascii_lower_b = static_cast<ucn>(0x62) [static]

ASCII lower b character.

ASCII lower b character.

const ucn lestes::std::character::ascii_lower_c = static_cast<ucn>(0x63) [static]

ASCII lower c character.

ASCII lower c character.

const ucn lestes::std::character::ascii_lower_d = static_cast<ucn>(0x64) [static]

ASCII lower d character.

ASCII lower d character.

const ucn lestes::std::character::ascii_lower_e = static_cast<ucn>(0x65) [static]

ASCII lower e character.

ASCII lower e character.

const ucn lestes::std::character::ascii_lower_f = static_cast<ucn>(0x66) [static]

ASCII lower f character.

ASCII lower f character.

const ucn lestes::std::character::ascii_lower_g = static_cast<ucn>(0x67) [static]

ASCII lower g character.

ASCII lower g character.

const ucn lestes::std::character::ascii_lower_h = static_cast<ucn>(0x68) [static]

ASCII lower h character.

ASCII lower h character.

const ucn lestes::std::character::ascii_lower_i = static_cast<ucn>(0x69) [static]

ASCII lower i character.

ASCII lower i character.

const ucn lestes::std::character::ascii_lower_j = static_cast<ucn>(0x6A) [static]

ASCII lower j character.

ASCII lower j character.

const ucn lestes::std::character::ascii_lower_k = static_cast<ucn>(0x6B) [static]

ASCII lower k character.

ASCII lower k character.

const ucn lestes::std::character::ascii_lower_l = static_cast<ucn>(0x6C) [static]

ASCII lower l character.

ASCII lower l character.

const ucn lestes::std::character::ascii_lower_m = static_cast<ucn>(0x6D) [static]

ASCII lower m character.

ASCII lower m character.

const ucn lestes::std::character::ascii_lower_n = static_cast<ucn>(0x6E) [static]

ASCII lower n character.

ASCII lower n character.

const ucn lestes::std::character::ascii_lower_o = static_cast<ucn>(0x6F) [static]

ASCII lower o character.

ASCII lower o character.

const ucn lestes::std::character::ascii_lower_p = static_cast<ucn>(0x70) [static]

ASCII lower p character.

ASCII lower p character.

const ucn lestes::std::character::ascii_lower_q = static_cast<ucn>(0x71) [static]

ASCII lower q character.

ASCII lower q character.

const ucn lestes::std::character::ascii_lower_r = static_cast<ucn>(0x72) [static]

ASCII lower r character.

ASCII lower r character.

const ucn lestes::std::character::ascii_lower_s = static_cast<ucn>(0x73) [static]

ASCII lower s character.

ASCII lower s character.

const ucn lestes::std::character::ascii_lower_t = static_cast<ucn>(0x74) [static]

ASCII lower t character.

ASCII lower t character.

const ucn lestes::std::character::ascii_lower_u = static_cast<ucn>(0x75) [static]

ASCII lower u character.

ASCII lower u character.

const ucn lestes::std::character::ascii_lower_v = static_cast<ucn>(0x76) [static]

ASCII lower v character.

ASCII lower v character.

const ucn lestes::std::character::ascii_lower_w = static_cast<ucn>(0x77) [static]

ASCII lower w character.

ASCII lower w character.

const ucn lestes::std::character::ascii_lower_x = static_cast<ucn>(0x78) [static]

ASCII lower x character.

ASCII lower x character.

const ucn lestes::std::character::ascii_lower_y = static_cast<ucn>(0x79) [static]

ASCII lower y character.

ASCII lower y character.

const ucn lestes::std::character::ascii_lower_z = static_cast<ucn>(0x7A) [static]

ASCII lower z character.

ASCII lower z character.

const ucn lestes::std::character::ascii_left_brace = static_cast<ucn>(0x7B) [static]

ASCII left brace character.

ASCII left brace character.

const ucn lestes::std::character::ascii_vbar = static_cast<ucn>(0x7C) [static]

ASCII vertical bar character.

ASCII vertical bar character.

const ucn lestes::std::character::ascii_right_brace = static_cast<ucn>(0x7D) [static]

ASCII right brace character.

ASCII right brace character.

const ucn lestes::std::character::ascii_tilde = static_cast<ucn>(0x7E) [static]

ASCII tilde character.

ASCII tilde character.

const ulint lestes::std::character::ucn_bits = 32 [static, private]

Number of significant ucn_bits.

const ucn lestes::std::character::value_mask = (static_cast<ucn>(1) << (ucn_bits - 1)) - 1 [static, private]

Mask for character value.

const ucn lestes::std::character::external_mask = (static_cast<ucn>(1) << (ucn_bits - 1)) [static, private]

Mask for external characters.

const ucn lestes::std::character::eof = ((static_cast<ucn>(1) << (ucn_bits - 1) - 1) << 1) | 1 [static, private]

Internal eof constant, only for ucn_traits, must not be used elsewhere.

const hchar lestes::std::character::hchar_unknown = '\0' [static, private]

Host character value presumably not representing encodable character.

const ulint lestes::std::character::ascii_length = 128 [static, private]

Length of 7 bit ASCII table.

const ulint lestes::std::character::host_length = 1 << (::std::numeric_limits<hchar>::digits) [static, private]

Length of table of host characters .

character::ascii_flags_type lestes::std::character::ascii_flags [static, private]

Flags of ASCII characters.

Flags of ASCII part of internal characters, used for predicates.

character::range_type lestes::std::character::identifier_ranges [static, private]

List of unicode character ranges for C++ identifiers.

List of unicode character ranges for C++ identifiers. Does not include basic source character ranges. Shall be sorted in increasing order (for binary search).

hchar lestes::std::character::internal_to_host [static, private]

Internal to host encoding of basic characters translation table.

Internal to host encoding of basic characters translation table. Unused fields are ignored. Assumes that no basic character has code hchar_unknown in host encoding.

ulint lestes::std::character::host_to_internal [static, private]

Initial value:

 {
}
Host to internal value encoding translation table.

Host to internal encoding translation table. This is reasonable only for narrow range host characters, could be substituted by map. Zeroed statically, initialization is done in constructor.

bool lestes::std::character::initialized = false [static, private]

Multiple initialization guard.

Multiple initialization guard, set to true after first constructor run.


The documentation for this class was generated from the following files:
Generated on Mon Feb 12 18:49:46 2007 for lestes by doxygen 1.5.1-20070107