note description: "Object to hold information for generation choices." legal: "See notice at end of class." status: "See notice at end of class." date: "$Date$" revision: "$Revision$" class GENERATION_INFORMATION feature -- Access generated_file_location: DIRECTORY_NAME Replicate_source_contents: BOOLEAN = True is_html_convert: BOOLEAN is_help_convert: BOOLEAN is_html_to_help_convert: BOOLEAN is_generating: BOOLEAN -- Is project currently being generated? filter_toc_hash: HASH_TABLE [STRING, STRING] -- Hash of output filter by table of contents description once create Result.make (2) Result.compare_objects end feature -- Status Setting set_generating (a_flag: BOOLEAN) -- Set if is currently generating do is_generating := a_flag end set_conversion_type (a_type: INTEGER) do inspect a_type when to_html then is_html_convert := True; is_help_convert := False; is_html_to_help_convert := False when to_help then is_html_convert := False; is_help_convert := True; is_html_to_help_convert := False when to_html_to_help then is_html_convert := True; is_help_convert := True; is_html_to_help_convert := True end end set_generated_file_location (a_location: STRING) do create generated_file_location.make_from_string (a_location) end feature {GENERATION_DIALOG} To_html: INTEGER = unique -- Was declared in GENERATION_INFORMATION as synonym of `to_help' and `to_html_to_help'. To_help: INTEGER = unique -- Was declared in GENERATION_INFORMATION as synonym of `to_html' and `to_html_to_help'. To_html_to_help: INTEGER = unique -- Was declared in GENERATION_INFORMATION as synonym of `to_html' and `to_help'. invariant html_conversion_exclusive: is_html_convert implies (not is_help_convert and not is_html_to_help_convert) help_conversion_exclusive: is_help_convert implies (not is_html_convert and not is_html_to_help_convert) help_to_html_conversion_exclusive: is_html_to_help_convert implies (is_help_convert and is_html_convert) 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 GENERATION_INFORMATION