class EL_SETTABLE_FROM_STRING_8
Used in conjunction with EL_REFLECTIVE to reflectively set fields from name-value pairs, where value conforms to STRING_8.
note
description: "[
Used in conjunction with ${EL_REFLECTIVE} to reflectively set fields
from name-value pairs, where value conforms to ${STRING_8}.
]"
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-08-25 10:52:41 GMT (Sunday 25th August 2024)"
revision: "12"
deferred class
EL_SETTABLE_FROM_STRING_8
inherit
EL_SETTABLE_FROM_STRING
rename
cursor as cursor_8
end
EL_SHARED_STRING_8_CURSOR
feature {EL_REFLECTION_HANDLER} -- Implementation
field_string (a_field: EL_REFLECTED_FIELD): STRING_8
do
Result := a_field.to_string (current_reflective).to_string_8
end
new_string: STRING_8
do
create Result.make_empty
end
feature {NONE} -- Constants
Name_value_pair: EL_NAME_VALUE_PAIR [STRING_8]
once
create Result.make_empty
end
end