class EL_ARRAYED_REPRESENTATION_LIST_ITERATION_CURSOR
Iteration cursor for EL_ARRAYED_REPRESENTATION_LIST
note
description: "Iteration cursor for ${EL_ARRAYED_REPRESENTATION_LIST}"
author: "Finnian Reilly"
copyright: "Copyright (c) 2001-2022 Finnian Reilly"
contact: "finnian at eiffel hyphen loop dot com"
license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
date: "2025-04-16 10:28:00 GMT (Wednesday 16th April 2025)"
revision: "3"
class
EL_ARRAYED_REPRESENTATION_LIST_ITERATION_CURSOR [R, N]
inherit
ARRAYED_LIST_ITERATION_CURSOR [R]
redefine
make, item, target
end
create
make
feature {NONE} -- Creation
make (t: like target)
do
Precursor (t)
seed_area := t.seed_area
end
feature -- Access
item: R
do
Result := target.to_representation (seed_area [area_index])
end
seed_item: N
do
Result := seed_area [area_index]
end
feature {TYPED_INDEXABLE_ITERATION_CURSOR} -- Access
seed_area: SPECIAL [N]
target: EL_ARRAYED_REPRESENTATION_LIST [R, N]
end