note
	description: "Unicode constants"
	library: "Gobo Eiffel Kernel Library"
	copyright: "Copyright (c) 2002-2005, Eric Bezault and others"
	license: "MIT License"
	date: "$Date: 2016-05-06 19:15:38 +0000 (Fri, 06 May 2016) $"
	revision: "$Revision: 98678 $"

class 
	UC_UNICODE_CONSTANTS

inherit
	KL_SHARED_PLATFORM

create 
	default_create

feature -- Access

	Minimum_unicode_character_code: INTEGER_32 = 0
			-- Smallest code for unicode characters
			--		ensure
			--			definition: Result = 0
			--		end

	Maximum_unicode_character_code: INTEGER_32 = 1114111
			-- Largest code for unicode characters (10FFFF);
			-- Includes final two non-characters.
			--		ensure
			--			definition: Result = 1114111
			--		end

	Minimum_unicode_surrogate_code: INTEGER_32 = 55296
			-- Lowest unicode surrogate code-point (0xD800)
			--		ensure
			--			definition: Result = 55296
			--		end

	Maximum_unicode_surrogate_code: INTEGER_32 = 57343
			-- Highest unicode surrogate code-point (0xDFFF)
			--		ensure
			--			definition: Result = 57343
			--		end

	Maximum_bmp_character_code: INTEGER_32 = 65535
			-- Largest code for unicode characters in Basic Multi-lingual Plane (FFFF);
			--		ensure
			--			definition: Result = 65535
			--		end

	Minimum_ascii_character_code: INTEGER_32 = 0
			-- Smallest code for ASCII characters
			--		ensure
			--			definition: Result = 0
			--		end

	Maximum_ascii_character_code: INTEGER_32 = 127
			-- Largest code for ASCII characters
			-- (2^7 - 1)
			--		ensure
			--			definition: Result = 127
			--			small_enough: Result <= Platform.Maximum_byte_code
			--		end

	Minimum_ascii_character: CHARACTER_8 = '%U'
			-- Smallest ASCII character
			--		ensure
			--			definition: Result.code = minimum_ascii_code
			--		end

	Maximum_ascii_character: CHARACTER_8 = '%/127/'
			-- Largest ASCII character
			--		ensure
			--			definition: Result.code = maximum_ascii_code
			--		end

	Unassigned_other_category: INTEGER_32 = 0
			-- Unassigned chacaracter

	Uppercase_letter_category: INTEGER_32 = 1
			-- Upper case letter

	Lowercase_letter_category: INTEGER_32 = 2
			-- Lower case letter

	Titlecase_letter_category: INTEGER_32 = 3
			-- Title case letter

	Modifier_letter_category: INTEGER_32 = 4
			-- Modifier letter

	Other_letter_category: INTEGER_32 = 5
			-- Other letter

	Non_spacing_mark_category: INTEGER_32 = 6
			-- Non-spacing mark

	Spacing_combining_mark_category: INTEGER_32 = 7
			-- Spacing combining mark

	Enclosing_mark_category: INTEGER_32 = 8
			-- Enclosing mark

	Decimal_digit_number_category: INTEGER_32 = 9
			-- Decimal digit number

	Letter_number_category: INTEGER_32 = 10
			-- Letter number

	Other_number_category: INTEGER_32 = 11
			-- Other number

	Connector_punctuation_category: INTEGER_32 = 12
			-- Connector punctuation

	Dash_punctuation_category: INTEGER_32 = 13
			-- Dash punctuation

	Open_punctuation_category: INTEGER_32 = 14
			-- Open punctuation

	Close_punctuation_category: INTEGER_32 = 15
			-- Close punctuation

	Initial_quote_punctuation_category: INTEGER_32 = 16
			-- Initial punctuation

	Final_quote_punctuation_category: INTEGER_32 = 17
			-- Final_quote punctuation

	Other_punctuation_category: INTEGER_32 = 18
			-- Other punctuation

	Math_symbol_category: INTEGER_32 = 19
			-- Mathematics symbol

	Currency_symbol_category: INTEGER_32 = 20
			-- Currency symbol

	Modifier_symbol_category: INTEGER_32 = 21
			-- Modifier symbol

	Other_symbol_category: INTEGER_32 = 22
			-- Other symbol

	Space_separator_category: INTEGER_32 = 23
			-- Space separator

	Line_separator_category: INTEGER_32 = 24
			-- Line separator

	Paragraph_separator_category: INTEGER_32 = 25
			-- Paragraph separator

	Control_other_category: INTEGER_32 = 26
			-- Control character

	Format_other_category: INTEGER_32 = 27
			-- Format character

	Surrogate_other_category: INTEGER_32 = 28
			-- Surrogate character

	Private_other_category: INTEGER_32 = 29
			-- Private-use character

	Canonical_decomposition_mapping: INTEGER_32 = 0
			-- Decomposition mapping is canonical

	Font_decomposition_mapping: INTEGER_32 = 1
			-- Decomposition mapping for font variant

	No_break_decomposition_mapping: INTEGER_32 = 2
			-- Decomposition mapping for no-break variant

	Initial_decomposition_mapping: INTEGER_32 = 3
			-- Decomposition mapping for Arabic initial presentation form

	Medial_decomposition_mapping: INTEGER_32 = 4
			-- Decomposition mapping for Arabic medial presentation form

	Final_decomposition_mapping: INTEGER_32 = 5
			-- Decomposition mapping for Arabic final presentation form

	Isolated_decomposition_mapping: INTEGER_32 = 6
			-- Decomposition mapping for Arabic isolated presentation form

	Encircled_decomposition_mapping: INTEGER_32 = 7
			-- Decomposition mapping for encircled form

	Superscript_decomposition_mapping: INTEGER_32 = 8
			-- Decomposition mapping for superscript form

	Subscript_decomposition_mapping: INTEGER_32 = 9
			-- Decomposition mapping for subscript form

	Vertical_decomposition_mapping: INTEGER_32 = 10
			-- Decomposition mapping for vertical layout presentation form

	Wide_decomposition_mapping: INTEGER_32 = 11
			-- Decomposition mapping for wide (zenkaku) compatibility character

	Narrow_decomposition_mapping: INTEGER_32 = 12
			-- Decomposition mapping for narrow (hankaku) compatibility character

	Small_decomposition_mapping: INTEGER_32 = 13
			-- Decomposition mapping for small variant form (CNS compatibility)

	Square_decomposition_mapping: INTEGER_32 = 14
			-- Decomposition mapping for CJK squared font variant

	Fraction_decomposition_mapping: INTEGER_32 = 15
			-- Decomposition mapping for vulgar fraction form

	Compatibility_decomposition_mapping: INTEGER_32 = 16
			-- Decomposition mapping for unspecified compatibility character
	
end -- class UC_UNICODE_CONSTANTS

Generated by ISE EiffelStudio