#include "octave-config.h"#include <iosfwd>#include <string>Go to the source code of this file.
Enumerations | |
| enum | mat5_data_type { miINT8 = 1 , miUINT8 , miINT16 , miUINT16 , miINT32 , miUINT32 , miSINGLE , miRESERVE1 , miDOUBLE , miRESERVE2 , miRESERVE3 , miINT64 , miUINT64 , miMATRIX , miCOMPRESSED , miUTF8 , miUTF16 , miUTF32 } |
Functions | |
| std::string | read_mat5_binary_element (std::istream &is, const std::string &filename, bool swap, bool &global, octave_value &tc) |
| int | read_mat5_binary_file_header (std::istream &is, bool &swap, bool quiet=false, const std::string &filename="") |
| bool | save_mat5_binary_element (std::ostream &os, const octave_value &tc, const std::string &name, bool mark_global, bool mat7_format, bool save_as_floats, bool compressing=false) |
| enum mat5_data_type |
| std::string read_mat5_binary_element | ( | std::istream & | is, |
| const std::string & | filename, | ||
| bool | swap, | ||
| bool & | global, | ||
| octave_value & | tc | ||
| ) |
Definition at line 479 of file ls-mat5.cc.
References flt_fmt_ieee_big_endian, flt_fmt_ieee_little_endian, flt_fmt_unknown, imag(), and native_float_format().
Referenced by read_mat5_binary_file_header().
| int read_mat5_binary_file_header | ( | std::istream & | is, |
| bool & | swap, | ||
| bool | quiet = false, |
||
| const std::string & | filename = "" |
||
| ) |
Definition at line 1533 of file ls-mat5.cc.
References error(), octave_value::is_uint8_type(), Array< T, Alloc >::numel(), read_mat5_binary_element(), swap_bytes< 8 >(), octave_value::uint8_array_value(), and warning_with_id().
| bool save_mat5_binary_element | ( | std::ostream & | os, |
| const octave_value & | tc, | ||
| const std::string & | name, | ||
| bool | mark_global, | ||
| bool | mat7_format, | ||
| bool | save_as_floats, | ||
| bool | compressing = false |
||
| ) |
Definition at line 2321 of file ls-mat5.cc.
References octave_value::class_name(), octave_value::dims(), max(), and octave_value::ndims().