/[eiffelstudio]/trunk/eweasel/tests/incr071/cursor_structure.e
ViewVC logotype

Contents of /trunk/eweasel/tests/incr071/cursor_structure.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65297 - (show annotations)
Thu Nov 30 20:22:33 2006 UTC (13 years ago) by manus
File size: 1719 byte(s)
Moved from trunk/Src/eweasel to trunk/eweasel so that a simple checkout of the source code is not penalized by the lenghty process of checking out all the tests of eweasel.
1 indexing
2
3 description:
4 "Active structures, which always have a current position %
5 %accessible through a cursor.";
6
7 status: "See notice at end of class";
8 names: cursor_structure, access;
9 access: cursor, membership;
10 contents: generic;
11 date: "$Date$";
12 revision: "$Revision$"
13
14 deferred class CURSOR_STRUCTURE [G] inherit
15
16 ACTIVE [G]
17
18 feature -- Access
19
20 cursor: CURSOR is
21 -- Current cursor position
22 deferred
23 end;
24
25 feature -- Status report
26
27 valid_cursor (p: CURSOR): BOOLEAN is
28 -- Can the cursor be moved to position `p'?
29 deferred
30 end;
31
32 feature -- Cursor movement
33
34 go_to (p: CURSOR) is
35 -- Move cursor to position `p'.
36 require
37 cursor_position_valid: valid_cursor (p)
38 deferred
39 end;
40
41 end -- class CURSOR_STRUCTURE
42
43
44 --|----------------------------------------------------------------
45 --| EiffelBase: Library of reusable components for Eiffel.
46 --| Copyright (c) 1993-2006 University of Southern California and contributors.
47 --| For ISE customers the original versions are an ISE product
48 --| covered by the ISE Eiffel license and support agreements.
49 --| EiffelBase may now be used by anyone as FREE SOFTWARE to
50 --| develop any product, public-domain or commercial, without
51 --| payment to ISE, under the terms of the ISE Free Eiffel Library
52 --| License (IFELL) at http://eiffel.com/products/base/license.html.
53 --|
54 --| Interactive Software Engineering Inc.
55 --| ISE Building, 2nd floor
56 --| 270 Storke Road, Goleta, CA 93117 USA
57 --| Telephone 805-685-1006, Fax 805-685-6869
58 --| Electronic mail <info@eiffel.com>
59 --| Customer support e-mail <support@eiffel.com>
60 --| For latest info see award-winning pages: http://eiffel.com
61 --|----------------------------------------------------------------
62

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23