Automatic generation produced by ISE Eiffel

Classes Clusters Cluster hierarchy Chart Relations Text Flat Contracts Flat contracts Go to:
indexing description: "References to objects containing a character value" status: "See notice at end of class" date: "$Date: 2001-11-16 20:32:23 +0000 (Fri, 16 Nov 2001) $" revision: "$Revision: 51435 $" class interface CHARACTER_REF feature -- Access item: CHARACTER -- Character value code: INTEGER -- Associated integer value hash_code: INTEGER -- Hash code value feature -- Status report is_hashable: BOOLEAN -- May current object be hashed? -- (True if it is not its type's default.) feature -- Comparison infix "<" (other: like Current): BOOLEAN -- Is other greater than current character? ensure then definition: Result = (code < other.code) is_equal (other: like Current): BOOLEAN -- Is other attached to an object of the same type -- as current object and identical to it? three_way_comparison (other: CHARACTER_REF): INTEGER -- If current object equal to other, 0; -- if smaller, -1; if greater, 1 feature -- Basic routines infix "+" (incr: INTEGER): CHARACTER -- Add incr to the code of item require valid_upper_increment: item.code + incr <= 255 valid_lower_increment: item.code + incr >= 0 ensure valid_result: Result |-| item = incr infix "-" (decr: INTEGER): CHARACTER -- Subtract decr to the code of item require valid_upper_decrement: item.code - decr <= 255 valid_lower_decrement: item.code - decr >= 0 ensure valid_result: item |-| Result = decr infix "|-|" (other: CHARACTER): INTEGER -- Difference between the codes of item and other ensure valid_result: other + Result = item next: CHARACTER -- Next character require valid_character: item /= 'ÿ' ensure valid_result: Result |-| item = 1 previous: CHARACTER -- Previous character require valid_character: item /= '%U' ensure valid_result: Result |-| item = - 1 feature -- Element change set_item (c: CHARACTER) -- Make c the item value. feature -- Output out: STRING -- Printable representation of character feature -- Conversion upper: CHARACTER -- Uppercase value of item -- Returns item if not is_lower lower: CHARACTER -- Lowercase value of item -- Returns item if not is_upper feature -- Status report is_lower: BOOLEAN -- Is item lowercase? is_upper: BOOLEAN -- Is item uppercase? is_digit: BOOLEAN -- Is item a digit? -- A digit is one of 0123456789 is_alpha: BOOLEAN -- Is item alphabetic? -- Alphabetic is is_upper or is_lower indexing library: "[ EiffelBase: Library of reusable components for Eiffel. ]" status: "[ Copyright 1986-2001 Interactive Software Engineering (ISE). For ISE customers the original versions are an ISE product covered by the ISE Eiffel license and support agreements. ]" license: "[ EiffelBase may now be used by anyone as FREE SOFTWARE to develop any product, public-domain or commercial, without payment to ISE, under the terms of the ISE Free Eiffel Library License (IFELL) at http://eiffel.com/products/base/license.html. ]" source: "[ Interactive Software Engineering Inc. ISE Building 360 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Electronic mail <info@eiffel.com> Customer support http://support.eiffel.com ]" info: "[ For latest info see award-winning pages: http://eiffel.com ]" end -- class CHARACTER_REF
Classes Clusters Cluster hierarchy Chart Relations Text Flat Contracts Flat contracts Go to:

-- Generated by ISE Eiffel --
For more details: www.eiffel.com