class EL_REFLECTED_COLLECTION_FACTORY

(source code)

Client examples: REFLECTION_TEST_SET

description

Factory for objects of type EL_REFLECTED_COLLECTION [G]

note
	description: "Factory for objects of type ${EL_REFLECTED_COLLECTION [G]}"

	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: "2024-09-09 13:36:54 GMT (Monday 9th September 2024)"
	revision: "4"

class
	EL_REFLECTED_COLLECTION_FACTORY [G, R -> EL_REFLECTED_COLLECTION [G] create make, default_create end]

inherit
	EL_FACTORY [R]

feature -- Access

	new_field (a_object: EL_REFLECTIVE; a_index: INTEGER_32; a_name: IMMUTABLE_STRING_8): R
		do
			create Result.make (a_object, a_index, a_name)
		end

	new_item: R
		do
			create Result
		end
end