#include "octave-config.h"
#include <iosfwd>
#include <string>
Go to the source code of this file.
Functions | |
bool | looks_like_mat_ascii_file (std::istream &is, const std::string &filename) |
std::string | read_mat_ascii_data (std::istream &is, const std::string &filename, octave_value &tc) |
bool | save_mat_ascii_data (std::ostream &os, const octave_value &val_arg, int precision, bool tabs=false) |
bool looks_like_mat_ascii_file | ( | std::istream & | is, |
const std::string & | filename | ||
) |
Definition at line 401 of file ls-mat-ascii.cc.
References get_lines_and_columns(), and retval.
Referenced by octave::load_save_system::get_file_format().
std::string read_mat_ascii_data | ( | std::istream & | is, |
const std::string & | filename, | ||
octave_value & | tc | ||
) |
Definition at line 230 of file ls-mat-ascii.cc.
References d, Array< T >::elem(), error(), get_lines_and_columns(), get_mat_data_input_line(), octave::iskeyword(), len, and octave::valid_identifier().
Referenced by octave::load_save_system::load_vars().
bool save_mat_ascii_data | ( | std::ostream & | os, |
const octave_value & | val_arg, | ||
int | precision, | ||
bool | tabs = false |
||
) |
Definition at line 337 of file ls-mat-ascii.cc.
References octave::__get_interpreter__(), octave_value::iscomplex(), m, octave_value::matrix_value(), octave_value::ndims(), octave_write_double(), octave::interpreter::recover_from_exception(), and warning().
Referenced by octave::load_save_system::do_save().