note description: "[ Translations of class names between a storing and a retrieving system. Values in this table are names of classes in the retrieving system, indexed by names of generating classes in the storing system (i.e. with no generic arguments). Values may have generic arguments (e.g. "MY_CLASS [REAL_64]"), thus allowing a very simple conversion of a non-generic class into a generic class. The presence of entries in this table affects all retrieve operations for objects stored using independent_store. ]" library: "Free implementation of ELKS library" status: "See notice at end of class." legal: "See notice at end of class." date: "$Date: 2018-11-14 14:55:55 +0000 (Wed, 14 Nov 2018) $" revision: "$Revision: 102462 $" class interface CLASS_NAME_TRANSLATIONS create default_create create {CLASS_NAME_TRANSLATIONS} make feature -- Initialization default_create -- Make table with current translations feature -- Element change put (new: STRING_8; key: STRING_8) -- Insert new with key if there is no other item -- associated with the same key. -- Set inserted if and only if an insertion has -- been made (i.e. key was not present). -- If so, set position to the insertion position. -- If not, set conflict. -- In either case, set found_item to the item -- now associated with key (previous item if -- there was one, new otherwise). force (new: STRING_8; key: STRING_8) -- Update table so that new will be the item associated -- with key. -- If there was an item for that key, set found -- and set found_item to that item. -- If there was none, set not_found and set -- found_item to the default value. extend (new: STRING_8; key: STRING_8) -- Assuming there is no item of key key, -- insert new with key. -- Set inserted. replace (new: STRING_8; key: STRING_8) -- Replace item at key, if present, -- with new; do not change associated key. -- Set replaced if and only if a replacement has been made -- (i.e. key was present); otherwise set not_found. -- Set found_item to the item previously associated -- with key (default value if there was none). feature -- Removal wipe_out -- Reset all items to default values; reset status. feature -- Output out: STRING_8 -- Printable representation of translations note copyright: "Copyright (c) 1984-2018, 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 CLASS_NAME_TRANSLATIONS
Generated by ISE EiffelStudio