class EL_TRANSLATION_ITEMS_LIST

(source code)

Client examples: PYXIS_TRANSLATION_TREE_COMPILERPYXIS_TRANSLATION_TREE_COMPILER_APP

Description

Storable chain of translation items conforming to EL_TRANSLATION_ITEM

note
	description: "Storable chain of translation items conforming to [$source EL_TRANSLATION_ITEM]"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2017 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2018-05-24 11:21:59 GMT (Thursday 24th May 2018)"
	revision: "3"

class
	EL_TRANSLATION_ITEMS_LIST

inherit
	ECD_CHAIN [EL_TRANSLATION_ITEM]
		rename
			make_chain_implementation as make_list,
			software_version as format_version
		export
			{ANY} file_path
		undefine
			valid_index, is_inserted, is_equal,
			first, last,
			do_all, do_if, there_exists, has, for_all,
			start, search, finish, move,
			append_sequence, swap, force, copy, prune_all, prune, new_cursor,
			at, put_i_th, i_th, go_i_th
		end

	EL_ARRAYED_LIST [EL_TRANSLATION_ITEM]
		rename
			make as make_list
		end

create
	make_from_file

feature -- Access

	format_version: NATURAL
			-- version 1.0.0 of data format
		do
			Result := 01_0_00
		end

	to_table (a_language: STRING): EL_TRANSLATION_TABLE
		do
			create Result.make_from_list (a_language, Current)
		end

feature {NONE} -- Event handler

	on_delete
		do
		end

end