note description: "Shared Generators." legal: "See notice at end of class." status: "See notice at end of class."; date: "$Date$" revision: "$Revision$" class WIZARD_SHARED_MAPPER_HELPERS inherit WIZARD_WRITER_DICTIONARY export {NONE} all end WIZARD_SHARED_DATA export {NONE} all end ANY feature -- Access Ecom_generated_rt_globals_header_file_name: STRING -- C++ class header file contains information that all generated class require -- e.g. global variables, system header files etc. once Result := "ecom_grt_globals_" + environment.project_name if environment.is_client then Result.append ("_c") end Result.append (".h") end Generated_ec_mappers: LIST [WIZARD_WRITER_MAPPER_CLASS] -- C++ classes holding generated Eiffel to C mappers once create {ARRAYED_LIST [WIZARD_WRITER_MAPPER_CLASS]} Result.make (5) end Generated_ce_mappers: LIST [WIZARD_WRITER_MAPPER_CLASS] -- C++ classes holding generated C to Eiffel mappers once create {ARRAYED_LIST [WIZARD_WRITER_MAPPER_CLASS]} Result.make (5) end Alias_c_writer: WIZARD_WRITER_C_FILE -- Shared alias C writer. do Result := Alias_c_writer_cell.item end set_alias_c_writer (a_writer: WIZARD_WRITER_C_FILE) -- Set `Alias_c_writer). do Alias_c_writer_cell.put (a_writer) end create_alias_c_writer -- local a_writer: WIZARD_WRITER_C_FILE do create a_writer.make a_writer.set_header_file_name ("ecom_aliases.h") a_writer.set_header ("System's aliases") set_alias_c_writer (a_writer) end feature {NONE} -- Implementation Alias_c_writer_cell: CELL [WIZARD_WRITER_C_FILE] -- C writer of Alias. once create Result.put (Void) end note copyright: "Copyright (c) 1984-2006, Eiffel Software" license: "GPL version 2 (see http://www.eiffel.com/licensing/gpl.txt)" licensing_options: "http://www.eiffel.com/licensing" copying: "[ This file is part of Eiffel Software's Eiffel Development Environment. Eiffel Software's Eiffel Development Environment is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 of the License (available at the URL listed under "license" above). Eiffel Software's Eiffel Development Environment is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Eiffel Software's Eiffel Development Environment; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ]" source: "[ Eiffel Software 356 Storke Road, 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 WIZARD_SHARED_MAPPER_HELPERS