indexing description: "All the information about the system" legal: "See notice at end of class." status: "See notice at end of class."; date: "$Date$"; revision: "$Revision$" class SYSTEM_DESCRIPTION inherit PROJECT_CONTEXT SHARED_COMPILATION_MODES feature -- Access name: STRING -- System name root_cluster: CONF_GROUP -- Root cluster of the system root_type_name: STRING; -- Root type name root_creation_name: STRING; -- Creation procedure name c_file_names: LIST [STRING]; -- C file names to include assembly_names: LIST [STRING] -- Assembly names needed by IL generation to find types has_cpp_externals: BOOLEAN -- Did system included a C++ external at some point. debug_clauses: SEARCH_TABLE [STRING] -- List of all debug clauses in Eiffel code. feature -- Access for precompilation configuration compilation_id: INTEGER -- Precompilation identifier is_precompiled: BOOLEAN; -- Is the Current system from a precompilation? uses_precompiled: BOOLEAN; -- Does current system use a precompiled library? has_precompiled_preobj: BOOLEAN; -- Does a `preobj' file exist for the current precompiled project? -- This file might not exist as a result of merging precompilations feature -- Update add_new_debug_clause (a_text_formatter: STRING) is -- Add `a_text_formatter' to list of existing debug clauses. require st_not_void: a_text_formatter /= Void do if debug_clauses = Void then create debug_clauses.make (10) end debug_clauses.put (a_text_formatter) ensure extended: debug_clauses.has (a_text_formatter) end set_name (s: STRING) is -- Assign `s' to `system_name'. do name := s end set_root_cluster (c: like root_cluster) is -- Assign `c' to `root_cluster'. do root_cluster := c end set_root_type_name (s: STRING) is -- Assign `s' to `root_class_name'. require s_not_void: s /= Void s_in_upper: s.is_equal (s.as_upper) do root_type_name := s ensure root_type_name_set: root_type_name = s end set_creation_name (s: STRING) is -- Assign `s' to `creation_name'. do root_creation_name := s end set_c_file_names (l: like c_file_names) is -- Assign `l' to `c_file_names'. do c_file_names := l end set_assembly_names (l: like assembly_names) is -- Assign `l' to `assembly_names'. do assembly_names := l ensure assembly_names_set: assembly_names = l end set_has_cpp_externals (v: BOOLEAN) is -- Set `has_cpp_externals' to `v'. require only_true: v do has_cpp_externals := v ensure has_cpp_externals_set: has_cpp_externals = v end feature -- Update for the precompilation set_compilation_id (i: INTEGER) is -- Set `compilation_id' value. do compilation_id := i ensure compilation_id_set: compilation_id = i end set_precompilation (b: BOOLEAN) is do is_precompiled := b end set_has_precompiled_preobj (b: BOOLEAN) is -- Set `has_precompiled_preobj' to `b'. do has_precompiled_preobj := b end indexing 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 SYSTEM_DESCRIPTION