2 // source-file.hh -- declare Source_file
4 // copyright 1997 Jan Nieuwenhuizen <jan@digicash.com>
9 /// class for reading and mapping a file.
13 /** Ugh! filename gets changed! The path to the opened file may
14 change, since it might be searched in multiple directories. */
15 Source_file( String& filename_str_r );
16 virtual ~Source_file();
19 virtual String error_str( char const* pos_ch_c_l );
21 bool in_b( char const* pos_ch_c_l );
23 virtual int line_i( char const* pos_ch_c_l );
25 String file_line_no_str( char const* ch_c_l );
40 #endif // SOURCE_FILE_HH //