This site contains older material on Eiffel. For the main Eiffel page, see http://www.eiffel.com.

EiffelBase class
(HTML page generated by ISE Eiffel 4.2)

Eiffel Class
indexing
	description: "The objects available from the operating system";
	status: "See notice at end of class";
	date: "$Date: 2007-03-30 11:10:11 -0800 (Fri, 30 Mar 2007) $";
	revision: "$Revision: 95354 $"

class OPERATING_ENVIRONMENT

feature

	directory_separator: CHARACTER is
			-- Character used to separate subdirectories in a path name on this platform.
		once
			Result := c_dir_separator
		end;

	current_directory_name_representation: STRING is
			-- Representation of the current directory
		once
			Result := eif_current_dir_representation
		end;

	home_directory_supported: BOOLEAN is
			-- Is the notion of home directory supported on this platform?
		external
			"C | %"eif_path_name.h%""
		alias
			"eif_home_dir_supported"
		end;

	root_directory_supported: BOOLEAN is
			-- Is the notion of root directory supported on this platform?
		external
			"C | %"eif_path_name.h%""
		alias
			"eif_root_dir_supported"
		end;

	case_sensitive_path_names: BOOLEAN is
			-- Are path names case sensitive?
		external
			"C | %"eif_path_name.h%""
		alias
			"eif_case_sensitive_path_names"
		end;

feature {NONE} -- Implementation

	c_dir_separator: CHARACTER is
		external
			"C | %"eif_dir.h%""
		alias
			"eif_dir_separator"
		end;

	eif_current_dir_representation: STRING is
		external
			"C | %"eif_path_name.h%""
		end;

end -- class OPERATING_ENVIRONMENT