/[eiffelstudio]/FreeELKS/trunk/library/structures/cursors/circular_cursor.e
ViewVC logotype

Contents of /FreeELKS/trunk/library/structures/cursors/circular_cursor.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 91477 - (show annotations)
Sun Jan 14 09:47:13 2007 UTC (13 years ago) by ericb
File size: 1195 byte(s)
Synchronized with ISE 6.0.65740
1 indexing
2
3 description:
4 "Cursors for circular lists"
5 legal: "See notice at end of class."
6
7 status: "See notice at end of class."
8 names: circular_cursor, cursor;
9 contents: generic;
10 date: "$Date$"
11 revision: "$Revision$"
12
13 class CIRCULAR_CURSOR
14
15 inherit
16 CURSOR
17
18 create
19 make
20
21 feature {NONE} -- Initialization
22
23 make (curs: like cursor; int: BOOLEAN; start: INTEGER) is
24 -- Create a cursor and set it up on `active_element'.
25 do
26 cursor := curs
27 internal_exhausted := int
28 starter := start
29 end
30
31 feature {CIRCULAR} -- Implementation
32
33 cursor: CURSOR
34 -- Current element in implementation
35
36 internal_exhausted: BOOLEAN
37 -- Has traversal passsed the start?
38
39 starter: INTEGER;
40 -- Index of start position
41
42 indexing
43 library: "EiffelBase: Library of reusable components for Eiffel."
44 copyright: "Copyright (c) 1984-2006, Eiffel Software and others"
45 license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
46 source: "[
47 Eiffel Software
48 356 Storke Road, Goleta, CA 93117 USA
49 Telephone 805-685-1006, Fax 805-685-6869
50 Website http://www.eiffel.com
51 Customer support http://support.eiffel.com
52 ]"
53
54
55
56
57
58
59
60 end -- class CIRCULAR_CURSOR
61
62
63

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23