INDEX
CLUSTER
FEATURES
SHORT
FRAMES
NO FRAMES
indexing
title:
"Simple cursors: tools for traversing all the ancestors",
"of class SIMPLE_TRAVERSABLE_ (a class of USCL)"
project:
"Visual Eiffel"
revision:
"$Revision: 1.2 $"
copyright:
"Copyright (C) 1996-2005 Object Tools Group"
license:
"http://visual-eiffel.com/license"
cluster:
containers
class
SIMPLE_CURSOR_
creation
{
SIMPLE_TRAVERSABLE_
}
make
feature
-- Operations
first
-- positions on the first item
forth
-- moves one item forward
require
still_inside
:
not
is_finished
stop
-- stops traversal
feature
-- Queries
is_finished
:
BOOLEAN
target
:
SIMPLE_TRAVERSABLE_
feature
{
SIMPLE_TRAVERSABLE_
}
-- Implementation
make
(
tgt
:
SIMPLE_TRAVERSABLE_
)
-- ...
require
valid_argument
:
tgt
/=
void
end
-- class
SIMPLE_CURSOR_
INDEX
CLUSTER
FEATURES
SHORT
FRAMES
NO FRAMES