Functions

ls-mat-ascii.cc File Reference

#include <cfloat>
#include <cstring>
#include <cctype>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include "byte-swap.h"
#include "data-conv.h"
#include "file-ops.h"
#include "glob-match.h"
#include "lo-mappers.h"
#include "mach-info.h"
#include "oct-env.h"
#include "oct-time.h"
#include "quit.h"
#include "str-vec.h"
#include "Cell.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "lex.h"
#include "load-save.h"
#include "ls-ascii-helper.h"
#include "ls-mat-ascii.h"
#include "oct-obj.h"
#include "oct-map.h"
#include "ov-cell.h"
#include "pager.h"
#include "pt-exp.h"
#include "sysdep.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include "version.h"
#include "dMatrix.h"
Include dependency graph for ls-mat-ascii.cc:

Go to the source code of this file.

Functions

static void get_lines_and_columns (std::istream &is, const std::string &filename, octave_idx_type &nr, octave_idx_type &nc)
static std::string get_mat_data_input_line (std::istream &is)
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, int precision, bool tabs)

Function Documentation

static void get_lines_and_columns ( std::istream &  is,
const std::string &  filename,
octave_idx_type nr,
octave_idx_type nc 
) [static]

Definition at line 110 of file ls-mat-ascii.cc.

References error(), error_state, and get_mat_data_input_line().

Referenced by read_mat_ascii_data().

static std::string get_mat_data_input_line ( std::istream &  is  )  [static]

Definition at line 69 of file ls-mat-ascii.cc.

References skip_preceeding_newline(), and skip_until_newline().

Referenced by get_lines_and_columns(), and read_mat_ascii_data().

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,
int  precision,
bool  tabs 
)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines