GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Enumerations | Functions
load-save.h File Reference
#include <iosfwd>
#include <string>
#include "mach-info.h"
#include "symtab.h"
Include dependency graph for load-save.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  load_save_format

Enumerations

enum  load_save_format_options {
  LS_MAT_ASCII_LONG = 1, LS_MAT_ASCII_TABS = 2, LS_MAT_BINARY_V5 = 1, LS_MAT_BINARY_V7,
  LS_NO_OPTION = 0
}
enum  load_save_format_type {
  LS_ASCII, LS_BINARY, LS_MAT_ASCII, LS_MAT_BINARY,
  LS_MAT5_BINARY, LS_MAT7_BINARY, LS_HDF5, LS_UNKNOWN
}

Functions

octave_value do_load (std::istream &stream, const std::string &orig_fname, load_save_format format, oct_mach_info::float_format flt_fmt, bool list_only, bool swap, bool verbose, const string_vector &argv, int argv_idx, int argc, int nargout)
void do_save (std::ostream &os, const symbol_table::symbol_record &sr, load_save_format fmt, bool save_as_floats)
void dump_octave_core (void)
OCTINTERP_API bool is_octave_data_file (const std::string &file)
void octave_finalize_hdf5 (void)
void octave_prepare_hdf5 (void)
int read_binary_file_header (std::istream &is, bool &swap, oct_mach_info::float_format &flt_fmt, bool quiet=false)
void write_header (std::ostream &os, load_save_format format)

Enumeration Type Documentation

Enumerator:
LS_MAT_ASCII_LONG 
LS_MAT_ASCII_TABS 
LS_MAT_BINARY_V5 
LS_MAT_BINARY_V7 
LS_NO_OPTION 

Definition at line 50 of file load-save.h.

Enumerator:
LS_ASCII 
LS_BINARY 
LS_MAT_ASCII 
LS_MAT_BINARY 
LS_MAT5_BINARY 
LS_MAT7_BINARY 
LS_HDF5 
LS_UNKNOWN 

Definition at line 36 of file load-save.h.

Function Documentation

octave_value do_load ( std::istream &  stream,
const std::string &  orig_fname,
load_save_format  format,
oct_mach_info::float_format  flt_fmt,
bool  list_only,
bool  swap,
bool  verbose,
const string_vector argv,
int  argv_idx,
int  argc,
int  nargout 
)
void do_save ( std::ostream &  os,
const symbol_table::symbol_record sr,
load_save_format  fmt,
bool  save_as_floats 
)
void dump_octave_core ( void  )
OCTINTERP_API bool is_octave_data_file ( const std::string &  file)

Definition at line 551 of file load-save.cc.

References get_file_format(), and LS_UNKNOWN.

Referenced by files_dock_widget::display_directory().

void octave_finalize_hdf5 ( void  )

Definition at line 1283 of file load-save.cc.

Referenced by do_octave_atexit().

void octave_prepare_hdf5 ( void  )

Definition at line 1275 of file load-save.cc.

Referenced by octave_execute_interpreter().

int read_binary_file_header ( std::istream &  is,
bool swap,
oct_mach_info::float_format flt_fmt,
bool  quiet = false 
)
void write_header ( std::ostream &  os,
load_save_format  format 
)