comparison src/oct-stream.h @ 3810:f19f00339363

[project @ 2001-03-29 21:03:01 by jwe]
author jwe
date Thu, 29 Mar 2001 21:03:02 +0000
parents 13905c3a24af
children b79da8779a0e
comparison
equal deleted inserted replaced
3809:ec80db02d436 3810:f19f00339363
429 429
430 octave_value do_read (int nr, int nc, oct_data_conv::data_type dt, 430 octave_value do_read (int nr, int nc, oct_data_conv::data_type dt,
431 int skip, oct_mach_info::float_format flt_fmt, 431 int skip, oct_mach_info::float_format flt_fmt,
432 int& count); 432 int& count);
433 433
434 octave_value read (const Matrix& size, oct_data_conv::data_type dt, 434 octave_value read (const Array<double>& size, oct_data_conv::data_type dt,
435 int skip, oct_mach_info::float_format flt_fmt, 435 int skip, oct_mach_info::float_format flt_fmt,
436 int& count); 436 int& count);
437 437
438 octave_value do_char_scanf (scanf_format_list& fmt_list, 438 octave_value do_char_scanf (scanf_format_list& fmt_list,
439 int nr, int nc, int& count); 439 int nr, int nc, int& count);
442 int nr, int nc, int& count); 442 int nr, int nc, int& count);
443 443
444 octave_value do_scanf (scanf_format_list& fmt_list, int nr, int nc, 444 octave_value do_scanf (scanf_format_list& fmt_list, int nr, int nc,
445 bool one_elt_size_spec, int& count); 445 bool one_elt_size_spec, int& count);
446 446
447 octave_value scanf (const std::string& fmt, const Matrix& size, int& count); 447 octave_value scanf (const std::string& fmt, const Array<double>& size, int& count);
448 448
449 bool do_oscanf (const scanf_format_elt *elt, octave_value&); 449 bool do_oscanf (const scanf_format_elt *elt, octave_value&);
450 450
451 octave_value_list oscanf (const std::string& fmt); 451 octave_value_list oscanf (const std::string& fmt);
452 452
453 // Functions that are defined for all output streams (output streams 453 // Functions that are defined for all output streams (output streams
454 // are those that define os). 454 // are those that define os).
455 455
456 int flush (void); 456 int flush (void);
457
458 int do_write (const Matrix& m, oct_data_conv::data_type dt, int skip,
459 oct_mach_info::float_format flt_fmt);
460 457
461 int write (const octave_value& data, oct_data_conv::data_type dt, 458 int write (const octave_value& data, oct_data_conv::data_type dt,
462 int skip, oct_mach_info::float_format flt_fmt); 459 int skip, oct_mach_info::float_format flt_fmt);
463 460
464 int do_printf (printf_format_list& fmt_list, const octave_value_list& args); 461 int do_printf (printf_format_list& fmt_list, const octave_value_list& args);
511 508
512 bool is_open (void) const; 509 bool is_open (void) const;
513 510
514 void close (void); 511 void close (void);
515 512
516 octave_value read (const Matrix& size, oct_data_conv::data_type dt, 513 octave_value read (const Array<double>& size, oct_data_conv::data_type dt,
517 int skip, oct_mach_info::float_format flt_fmt, 514 int skip, oct_mach_info::float_format flt_fmt,
518 int& count); 515 int& count);
519 516
520 int write (const octave_value& data, oct_data_conv::data_type dt, 517 int write (const octave_value& data, oct_data_conv::data_type dt,
521 int skip, oct_mach_info::float_format flt_fmt); 518 int skip, oct_mach_info::float_format flt_fmt);
522 519
523 octave_value scanf (const std::string& fmt, const Matrix& size, int& count); 520 octave_value scanf (const std::string& fmt, const Array<double>& size, int& count);
524 521
525 octave_value_list oscanf (const std::string& fmt); 522 octave_value_list oscanf (const std::string& fmt);
526 523
527 int printf (const std::string& fmt, const octave_value_list& args); 524 int printf (const std::string& fmt, const octave_value_list& args);
528 525