Automatic generation produced by ISE Eiffel

Classes Clusters Cluster hierarchy Chart Relations Text Flat Contracts Flat contracts Go to:
indexing 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 SEQ_STRING create make feature -- Access search_after (c: CHARACTER) -- Move cursor to first position -- (at or after current cursor position) -- where current_item and c are identical. search_before (c: CHARACTER) -- Move cursor to greatest position at or before cursor -- where current_item and c are identical; -- go before if unsuccessful. search_string_after (s: STRING; fuzzy: INTEGER) -- Move cursor to first position -- (at or after cursor position) where `substring -- (index, index + s.count)' and s are identical. -- Go after if unsuccessful. -- The 'fuzzy' parameter is the maximum allowed number -- of mismatches within the pattern. A 0 means an exact match. search_string_before (s: STRING; fuzzy: INTEGER) -- Move cursor to first position -- (at or before cursor position) where `substring -- (index, index + s.count)' and s are identical. -- Go before if unsuccessful. -- The 'fuzzy' parameter is the maximum allowed number -- of mismatches within the pattern. A 0 means an exact match. current_item: CHARACTER -- Current item index: INTEGER -- Index of current_item, if valid -- Valid values are between 1 and count (if count > 0). index_of_occurrence (c: CHARACTER; i: INTEGER): INTEGER -- Index of i-th occurrence of c. -- 0 if none. ensure then index_value: (Result = 0) or item (Result) = c has (c: CHARACTER): BOOLEAN -- Does string include c? feature -- Status report before: BOOLEAN -- Is there no valid cursor position to the left of cursor? after: BOOLEAN -- Is there no valid cursor position to the right of cursor? feature -- Cursor movement start -- Move to first position. finish -- Move to last position. back -- Move to previous position. forth -- Move to next position. feature -- Element change replace (c: CHARACTER) -- Replace current item by c. share (other: like Current) -- Make string share the text of other. require argument_not_void: other /= void ensure shared_index: other.index = index precede (c: CHARACTER) -- Add c at front. ensure new_index: index = old index + 1 prepend (s: STRING) -- Prepend a copy of s at front. require argument_not_void: s /= void ensure new_index: index = old index + s.count feature -- Removal prune (c: CHARACTER) -- Remove first occurrence of c. remove_current_item -- Remove current item. wipe_out -- Clear out all characters. feature -- Duplication mirrored: like Current -- Current string read from right to left. -- The result string has the same capacity and the -- same current position (i.e. the cursor is pointing -- at the same item) ensure mirrored_index: Result.index = count - index + 1 same_count: Result.count = count mirror -- Reverse the characters order. -- "Hello world" -> "dlrow olleH". -- The current position will be on the same item -- as before. ensure same_count: count = old count mirrored_index: index = count - old index + 1 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 SEQ_STRING
Classes Clusters Cluster hierarchy Chart Relations Text Flat Contracts Flat contracts Go to:

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