note
	description: "Scancode values of the SDL2 library"
	author: "Louis Marchand"
	date: "Thu, 02 Apr 2015 02:40:10 +0000"
	revision: "2.0"

class interface
	GAME_SDL_SCANCODE

create 
	default_create
			-- Process instances of classes with no creation clause.
			-- (Default: do nothing.)
			-- (from ANY)

feature -- Access

	generating_type: TYPE [detachable GAME_SDL_SCANCODE]
			-- Type of current object
			-- (type of which it is a direct instance)
			-- (from ANY)
		ensure -- from ANY
			generating_type_not_void: Result /= Void

	generator: STRING_8
			-- Name of current object's generating class
			-- (base class of the type of which it is a direct instance)
			-- (from ANY)
		ensure -- from ANY
			generator_not_void: Result /= Void
			generator_not_empty: not Result.is_empty
	
feature -- Comparison

	frozen deep_equal (a: detachable ANY; b: like arg #1): BOOLEAN
			-- Are a and b either both void
			-- or attached to isomorphic object structures?
			-- (from ANY)
		ensure -- from ANY
			instance_free: class
			shallow_implies_deep: standard_equal (a, b) implies Result
			both_or_none_void: (a = Void) implies (Result = (b = Void))
			same_type: (Result and (a /= Void)) implies (b /= Void and then a.same_type (b))
			symmetric: Result implies deep_equal (b, a)

	frozen equal (a: detachable ANY; b: like arg #1): BOOLEAN
			-- Are a and b either both void or attached
			-- to objects considered equal?
			-- (from ANY)
		ensure -- from ANY
			instance_free: class
			definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.is_equal (b))

	frozen is_deep_equal alias "≡≡≡" (other: GAME_SDL_SCANCODE): BOOLEAN
			-- Are Current and other attached to isomorphic object structures?
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
		ensure -- from ANY
			shallow_implies_deep: standard_is_equal (other) implies Result
			same_type: Result implies same_type (other)
			symmetric: Result implies other.is_deep_equal (Current)

	is_equal (other: GAME_SDL_SCANCODE): BOOLEAN
			-- Is other attached to an object considered
			-- equal to current object?
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
		ensure -- from ANY
			symmetric: Result implies other ~ Current
			consistent: standard_is_equal (other) implies Result

	frozen standard_equal (a: detachable ANY; b: like arg #1): BOOLEAN
			-- Are a and b either both void or attached to
			-- field-by-field identical objects of the same type?
			-- Always uses default object comparison criterion.
			-- (from ANY)
		ensure -- from ANY
			instance_free: class
			definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.standard_is_equal (b))

	frozen standard_is_equal alias "" (other: GAME_SDL_SCANCODE): BOOLEAN
			-- Is other attached to an object of the same type
			-- as current object, and field-by-field identical to it?
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
		ensure -- from ANY
			same_type: Result implies same_type (other)
			symmetric: Result implies other.standard_is_equal (Current)
	
feature -- Status report

	conforms_to (other: ANY): BOOLEAN
			-- Does type of current object conform to type
			-- of other (as per Eiffel: The Language, chapter 13)?
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void

	same_type (other: ANY): BOOLEAN
			-- Is type of current object identical to type of other?
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
		ensure -- from ANY
			definition: Result = (conforms_to (other) and other.conforms_to (Current))
	
feature -- Conversion

	frozen sdl_getscancodefromkey (key: INTEGER_32): INTEGER_32

	frozen sdl_getscancodefromname (name: POINTER): INTEGER_32
	
feature -- Duplication

	copy (other: GAME_SDL_SCANCODE)
			-- Update current object using fields of object attached
			-- to other, so as to yield equal objects.
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
			type_identity: same_type (other)
		ensure -- from ANY
			is_equal: Current ~ other

	frozen deep_copy (other: GAME_SDL_SCANCODE)
			-- Effect equivalent to that of:
			--		copy (other . deep_twin)
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
		ensure -- from ANY
			deep_equal: deep_equal (Current, other)

	frozen deep_twin: GAME_SDL_SCANCODE
			-- New object structure recursively duplicated from Current.
			-- (from ANY)
		ensure -- from ANY
			deep_twin_not_void: Result /= Void
			deep_equal: deep_equal (Current, Result)

	frozen standard_copy (other: GAME_SDL_SCANCODE)
			-- Copy every field of other onto corresponding field
			-- of current object.
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
			type_identity: same_type (other)
		ensure -- from ANY
			is_standard_equal: standard_is_equal (other)

	frozen standard_twin: GAME_SDL_SCANCODE
			-- New object field-by-field identical to other.
			-- Always uses default copying semantics.
			-- (from ANY)
		ensure -- from ANY
			standard_twin_not_void: Result /= Void
			equal: standard_equal (Result, Current)

	frozen twin: GAME_SDL_SCANCODE
			-- New object equal to Current
			-- twin calls copy; to change copying/twinning semantics, redefine copy.
			-- (from ANY)
		ensure -- from ANY
			twin_not_void: Result /= Void
			is_equal: Result ~ Current
	
feature -- Basic operations

	frozen default: detachable GAME_SDL_SCANCODE
			-- Default value of object's type
			-- (from ANY)

	frozen default_pointer: POINTER
			-- Default value of type POINTER
			-- (Avoid the need to write p.default for
			-- some p of type POINTER.)
			-- (from ANY)
		ensure -- from ANY
			instance_free: class

	default_rescue
			-- Process exception for routines with no Rescue clause.
			-- (Default: do nothing.)
			-- (from ANY)

	frozen do_nothing
			-- Execute a null action.
			-- (from ANY)
		ensure -- from ANY
			instance_free: class
	
feature -- Output

	Io: STD_FILES
			-- Handle to standard file setup
			-- (from ANY)
		ensure -- from ANY
			instance_free: class
			io_not_void: Result /= Void

	out: STRING_8
			-- New string containing terse printable representation
			-- of current object
			-- (from ANY)
		ensure -- from ANY
			out_not_void: Result /= Void

	print (o: detachable ANY)
			-- Write terse external representation of o
			-- on standard output.
			-- (from ANY)
		ensure -- from ANY
			instance_free: class

	frozen tagged_out: STRING_8
			-- New string containing terse printable representation
			-- of current object
			-- (from ANY)
		ensure -- from ANY
			tagged_out_not_void: Result /= Void
	
feature -- Platform

	Operating_environment: OPERATING_ENVIRONMENT
			-- Objects available from the operating system
			-- (from ANY)
		ensure -- from ANY
			instance_free: class
			operating_environment_not_void: Result /= Void
	
feature -- Scancodes

	frozen sdl_scancode_0: INTEGER_32

	frozen sdl_scancode_1: INTEGER_32

	frozen sdl_scancode_2: INTEGER_32

	frozen sdl_scancode_3: INTEGER_32

	frozen sdl_scancode_4: INTEGER_32

	frozen sdl_scancode_5: INTEGER_32

	frozen sdl_scancode_6: INTEGER_32

	frozen sdl_scancode_7: INTEGER_32

	frozen sdl_scancode_8: INTEGER_32

	frozen sdl_scancode_9: INTEGER_32

	frozen sdl_scancode_a: INTEGER_32

	frozen sdl_scancode_ac_back: INTEGER_32

	frozen sdl_scancode_ac_bookmarks: INTEGER_32

	frozen sdl_scancode_ac_forward: INTEGER_32

	frozen sdl_scancode_ac_home: INTEGER_32

	frozen sdl_scancode_ac_refresh: INTEGER_32

	frozen sdl_scancode_ac_search: INTEGER_32

	frozen sdl_scancode_ac_stop: INTEGER_32

	frozen sdl_scancode_again: INTEGER_32

	frozen sdl_scancode_alterase: INTEGER_32

	frozen sdl_scancode_apostrophe: INTEGER_32

	frozen sdl_scancode_app1: INTEGER_32

	frozen sdl_scancode_app2: INTEGER_32

	frozen sdl_scancode_application: INTEGER_32

	frozen sdl_scancode_audiomute: INTEGER_32

	frozen sdl_scancode_audionext: INTEGER_32

	frozen sdl_scancode_audioplay: INTEGER_32

	frozen sdl_scancode_audioprev: INTEGER_32

	frozen sdl_scancode_audiostop: INTEGER_32

	frozen sdl_scancode_b: INTEGER_32

	frozen sdl_scancode_backslash: INTEGER_32

	frozen sdl_scancode_backspace: INTEGER_32

	frozen sdl_scancode_brightnessdown: INTEGER_32

	frozen sdl_scancode_brightnessup: INTEGER_32

	frozen sdl_scancode_c: INTEGER_32

	frozen sdl_scancode_calculator: INTEGER_32

	frozen sdl_scancode_cancel: INTEGER_32

	frozen sdl_scancode_capslock: INTEGER_32

	frozen sdl_scancode_clear: INTEGER_32

	frozen sdl_scancode_clearagain: INTEGER_32

	frozen sdl_scancode_comma: INTEGER_32

	frozen sdl_scancode_computer: INTEGER_32

	frozen sdl_scancode_copy: INTEGER_32

	frozen sdl_scancode_crsel: INTEGER_32

	frozen sdl_scancode_currencysubunit: INTEGER_32

	frozen sdl_scancode_currencyunit: INTEGER_32

	frozen sdl_scancode_cut: INTEGER_32

	frozen sdl_scancode_d: INTEGER_32

	frozen sdl_scancode_decimalseparator: INTEGER_32

	frozen sdl_scancode_delete: INTEGER_32

	frozen sdl_scancode_displayswitch: INTEGER_32

	frozen sdl_scancode_down: INTEGER_32

	frozen sdl_scancode_e: INTEGER_32

	frozen sdl_scancode_eject: INTEGER_32

	frozen sdl_scancode_end: INTEGER_32

	frozen sdl_scancode_equals: INTEGER_32

	frozen sdl_scancode_escape: INTEGER_32

	frozen sdl_scancode_execute: INTEGER_32

	frozen sdl_scancode_exsel: INTEGER_32

	frozen sdl_scancode_f: INTEGER_32

	frozen sdl_scancode_f1: INTEGER_32

	frozen sdl_scancode_f10: INTEGER_32

	frozen sdl_scancode_f11: INTEGER_32

	frozen sdl_scancode_f12: INTEGER_32

	frozen sdl_scancode_f13: INTEGER_32

	frozen sdl_scancode_f14: INTEGER_32

	frozen sdl_scancode_f15: INTEGER_32

	frozen sdl_scancode_f16: INTEGER_32

	frozen sdl_scancode_f17: INTEGER_32

	frozen sdl_scancode_f18: INTEGER_32

	frozen sdl_scancode_f19: INTEGER_32

	frozen sdl_scancode_f2: INTEGER_32

	frozen sdl_scancode_f20: INTEGER_32

	frozen sdl_scancode_f21: INTEGER_32

	frozen sdl_scancode_f22: INTEGER_32

	frozen sdl_scancode_f23: INTEGER_32

	frozen sdl_scancode_f24: INTEGER_32

	frozen sdl_scancode_f3: INTEGER_32

	frozen sdl_scancode_f4: INTEGER_32

	frozen sdl_scancode_f5: INTEGER_32

	frozen sdl_scancode_f6: INTEGER_32

	frozen sdl_scancode_f7: INTEGER_32

	frozen sdl_scancode_f8: INTEGER_32

	frozen sdl_scancode_f9: INTEGER_32

	frozen sdl_scancode_find: INTEGER_32

	frozen sdl_scancode_g: INTEGER_32

	frozen sdl_scancode_grave: INTEGER_32

	frozen sdl_scancode_h: INTEGER_32

	frozen sdl_scancode_help: INTEGER_32

	frozen sdl_scancode_home: INTEGER_32

	frozen sdl_scancode_i: INTEGER_32

	frozen sdl_scancode_insert: INTEGER_32

	frozen sdl_scancode_international1: INTEGER_32

	frozen sdl_scancode_international2: INTEGER_32

	frozen sdl_scancode_international3: INTEGER_32

	frozen sdl_scancode_international4: INTEGER_32

	frozen sdl_scancode_international5: INTEGER_32

	frozen sdl_scancode_international6: INTEGER_32

	frozen sdl_scancode_international7: INTEGER_32

	frozen sdl_scancode_international8: INTEGER_32

	frozen sdl_scancode_international9: INTEGER_32

	frozen sdl_scancode_j: INTEGER_32

	frozen sdl_scancode_k: INTEGER_32

	frozen sdl_scancode_kbdillumdown: INTEGER_32

	frozen sdl_scancode_kbdillumtoggle: INTEGER_32

	frozen sdl_scancode_kbdillumup: INTEGER_32

	frozen sdl_scancode_kp_0: INTEGER_32

	frozen sdl_scancode_kp_00: INTEGER_32

	frozen sdl_scancode_kp_000: INTEGER_32

	frozen sdl_scancode_kp_1: INTEGER_32

	frozen sdl_scancode_kp_2: INTEGER_32

	frozen sdl_scancode_kp_3: INTEGER_32

	frozen sdl_scancode_kp_4: INTEGER_32

	frozen sdl_scancode_kp_5: INTEGER_32

	frozen sdl_scancode_kp_6: INTEGER_32

	frozen sdl_scancode_kp_7: INTEGER_32

	frozen sdl_scancode_kp_8: INTEGER_32

	frozen sdl_scancode_kp_9: INTEGER_32

	frozen sdl_scancode_kp_a: INTEGER_32

	frozen sdl_scancode_kp_ampersand: INTEGER_32

	frozen sdl_scancode_kp_at: INTEGER_32

	frozen sdl_scancode_kp_b: INTEGER_32

	frozen sdl_scancode_kp_backspace: INTEGER_32

	frozen sdl_scancode_kp_binary: INTEGER_32

	frozen sdl_scancode_kp_c: INTEGER_32

	frozen sdl_scancode_kp_clear: INTEGER_32

	frozen sdl_scancode_kp_clearentry: INTEGER_32

	frozen sdl_scancode_kp_colon: INTEGER_32

	frozen sdl_scancode_kp_comma: INTEGER_32

	frozen sdl_scancode_kp_d: INTEGER_32

	frozen sdl_scancode_kp_dblampersand: INTEGER_32

	frozen sdl_scancode_kp_dblverticalbar: INTEGER_32

	frozen sdl_scancode_kp_decimal: INTEGER_32

	frozen sdl_scancode_kp_divide: INTEGER_32

	frozen sdl_scancode_kp_e: INTEGER_32

	frozen sdl_scancode_kp_enter: INTEGER_32

	frozen sdl_scancode_kp_equals: INTEGER_32

	frozen sdl_scancode_kp_equalsas400: INTEGER_32

	frozen sdl_scancode_kp_exclam: INTEGER_32

	frozen sdl_scancode_kp_f: INTEGER_32

	frozen sdl_scancode_kp_greater: INTEGER_32

	frozen sdl_scancode_kp_hash: INTEGER_32

	frozen sdl_scancode_kp_hexadecimal: INTEGER_32

	frozen sdl_scancode_kp_leftbrace: INTEGER_32

	frozen sdl_scancode_kp_leftparen: INTEGER_32

	frozen sdl_scancode_kp_less: INTEGER_32

	frozen sdl_scancode_kp_memadd: INTEGER_32

	frozen sdl_scancode_kp_memclear: INTEGER_32

	frozen sdl_scancode_kp_memdivide: INTEGER_32

	frozen sdl_scancode_kp_memmultiply: INTEGER_32

	frozen sdl_scancode_kp_memrecall: INTEGER_32

	frozen sdl_scancode_kp_memstore: INTEGER_32

	frozen sdl_scancode_kp_memsubtract: INTEGER_32

	frozen sdl_scancode_kp_minus: INTEGER_32

	frozen sdl_scancode_kp_multiply: INTEGER_32

	frozen sdl_scancode_kp_octal: INTEGER_32

	frozen sdl_scancode_kp_percent: INTEGER_32

	frozen sdl_scancode_kp_period: INTEGER_32

	frozen sdl_scancode_kp_plus: INTEGER_32

	frozen sdl_scancode_kp_plusminus: INTEGER_32

	frozen sdl_scancode_kp_power: INTEGER_32

	frozen sdl_scancode_kp_rightbrace: INTEGER_32

	frozen sdl_scancode_kp_rightparen: INTEGER_32

	frozen sdl_scancode_kp_space: INTEGER_32

	frozen sdl_scancode_kp_tab: INTEGER_32

	frozen sdl_scancode_kp_verticalbar: INTEGER_32

	frozen sdl_scancode_kp_xor: INTEGER_32

	frozen sdl_scancode_l: INTEGER_32

	frozen sdl_scancode_lalt: INTEGER_32

	frozen sdl_scancode_lang1: INTEGER_32

	frozen sdl_scancode_lang2: INTEGER_32

	frozen sdl_scancode_lang3: INTEGER_32

	frozen sdl_scancode_lang4: INTEGER_32

	frozen sdl_scancode_lang5: INTEGER_32

	frozen sdl_scancode_lang6: INTEGER_32

	frozen sdl_scancode_lang7: INTEGER_32

	frozen sdl_scancode_lang8: INTEGER_32

	frozen sdl_scancode_lang9: INTEGER_32

	frozen sdl_scancode_lctrl: INTEGER_32

	frozen sdl_scancode_left: INTEGER_32

	frozen sdl_scancode_leftbracket: INTEGER_32

	frozen sdl_scancode_lgui: INTEGER_32

	frozen sdl_scancode_lshift: INTEGER_32

	frozen sdl_scancode_m: INTEGER_32

	frozen sdl_scancode_mail: INTEGER_32

	frozen sdl_scancode_mediaselect: INTEGER_32

	frozen sdl_scancode_menu: INTEGER_32

	frozen sdl_scancode_minus: INTEGER_32

	frozen sdl_scancode_mode: INTEGER_32

	frozen sdl_scancode_mute: INTEGER_32

	frozen sdl_scancode_n: INTEGER_32

	frozen sdl_scancode_nonusbackslash: INTEGER_32

	frozen sdl_scancode_nonushash: INTEGER_32

	frozen sdl_scancode_numlockclear: INTEGER_32

	frozen sdl_scancode_o: INTEGER_32

	frozen sdl_scancode_oper: INTEGER_32

	frozen sdl_scancode_out: INTEGER_32

	frozen sdl_scancode_p: INTEGER_32

	frozen sdl_scancode_pagedown: INTEGER_32

	frozen sdl_scancode_pageup: INTEGER_32

	frozen sdl_scancode_paste: INTEGER_32

	frozen sdl_scancode_pause: INTEGER_32

	frozen sdl_scancode_period: INTEGER_32

	frozen sdl_scancode_power: INTEGER_32

	frozen sdl_scancode_printscreen: INTEGER_32

	frozen sdl_scancode_prior: INTEGER_32

	frozen sdl_scancode_q: INTEGER_32

	frozen sdl_scancode_r: INTEGER_32

	frozen sdl_scancode_ralt: INTEGER_32

	frozen sdl_scancode_rctrl: INTEGER_32

	frozen sdl_scancode_return: INTEGER_32

	frozen sdl_scancode_return2: INTEGER_32

	frozen sdl_scancode_rgui: INTEGER_32

	frozen sdl_scancode_right: INTEGER_32

	frozen sdl_scancode_rightbracket: INTEGER_32

	frozen sdl_scancode_rshift: INTEGER_32

	frozen sdl_scancode_s: INTEGER_32

	frozen sdl_scancode_scrolllock: INTEGER_32

	frozen sdl_scancode_select: INTEGER_32

	frozen sdl_scancode_semicolon: INTEGER_32

	frozen sdl_scancode_separator: INTEGER_32

	frozen sdl_scancode_slash: INTEGER_32

	frozen sdl_scancode_sleep: INTEGER_32

	frozen sdl_scancode_space: INTEGER_32

	frozen sdl_scancode_stop: INTEGER_32

	frozen sdl_scancode_sysreq: INTEGER_32

	frozen sdl_scancode_t: INTEGER_32

	frozen sdl_scancode_tab: INTEGER_32

	frozen sdl_scancode_thousandsseparator: INTEGER_32

	frozen sdl_scancode_u: INTEGER_32

	frozen sdl_scancode_undo: INTEGER_32

	frozen sdl_scancode_unknown: INTEGER_32

	frozen sdl_scancode_up: INTEGER_32

	frozen sdl_scancode_v: INTEGER_32

	frozen sdl_scancode_volumedown: INTEGER_32

	frozen sdl_scancode_volumeup: INTEGER_32

	frozen sdl_scancode_w: INTEGER_32

	frozen sdl_scancode_www: INTEGER_32

	frozen sdl_scancode_x: INTEGER_32

	frozen sdl_scancode_y: INTEGER_32

	frozen sdl_scancode_z: INTEGER_32
	
invariant
		-- from ANY
	reflexive_equality: standard_is_equal (Current)
	reflexive_conformance: conforms_to (Current)

end -- class GAME_SDL_SCANCODE

Generated by ISE EiffelStudio