note
	description: "[
		Hierarchical structures in which each item has zero or
		one immediate predecessor, and zero or more successors.
	]"
	library: "Free implementation of ELKS library"
	legal: "See notice at end of class."
	status: "See notice at end of class."
	names: hierarchical, traversing
	access: cursor
	contents: generic
	date: "$Date: 2012-07-23 21:02:19 +0000 (Mon, 23 Jul 2012) $"
	revision: "$Revision: 91989 $"

deferred class interface
	HIERARCHICAL [G]

feature -- Access

	successor_count: INTEGER_32
			-- Number of successors of current element
		require
			not_off: not off
	
feature -- Cursor movement

	up
			-- Move to predecessor.
		require
			not_off: not off

	down (i: INTEGER_32)
			-- Move to i-th successor.
		require
			not_off: not off
			argument_within_bounds: i >= 1 and i <= successor_count
	
invariant
	non_negative_successor_count: successor_count >= 0

note
	copyright: "Copyright (c) 1984-2012, Eiffel Software and others"
	license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
	source: "[
		Eiffel Software
		5949 Hollister Ave., Goleta, CA 93117 USA
		Telephone 805-685-1006, Fax 805-685-6869
		Website http://www.eiffel.com
		Customer support http://support.eiffel.com
	]"

end -- class HIERARCHICAL

Generated by ISE EiffelStudio