GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
ov-range.cc File Reference
#include <istream>
#include <ostream>
#include <sstream>
#include "dNDArray.h"
#include "fNDArray.h"
#include "int8NDArray.h"
#include "int16NDArray.h"
#include "int32NDArray.h"
#include "int64NDArray.h"
#include "uint8NDArray.h"
#include "uint16NDArray.h"
#include "uint32NDArray.h"
#include "uint64NDArray.h"
#include "lo-ieee.h"
#include "lo-utils.h"
#include "defun.h"
#include "variables.h"
#include "errwarn.h"
#include "mxarray.h"
#include "mx-type-traits.h"
#include "ops.h"
#include "ovl.h"
#include "oct-hdf5.h"
#include "ov-range-traits.h"
#include "ov-range.h"
#include "ov-re-mat.h"
#include "ov-scalar.h"
#include "pr-output.h"
#include "byte-swap.h"
#include "ls-ascii-helper.h"
#include "ls-hdf5.h"
#include "ls-utils.h"
Include dependency graph for ov-range.cc:

Go to the source code of this file.

Functions

template<typename T >
static octave_base_valuedefault_numeric_conversion_function (const octave_base_value &a)
 
template<typename T >
static hid_t hdf5_make_range_rev_type (hid_t num_type)
 
template<typename T >
static hid_t hdf5_make_range_type (hid_t num_type)
 
static void skip_comments (std::istream &is)
 
template<typename T >
bool xload_ascii (std::istream &is, octave::range< T > &r, const bool with_reverse)
 
template<typename T >
bool xload_binary (std::istream &is, bool swap, octave::mach_info::float_format, octave::range< T > &r, const bool with_reverse)
 
template<typename T >
bool xload_hdf5 (octave_hdf5_id loc_id, const char *name, octave::range< T > &r, const octave_hdf5_id h5_save_type, const bool with_reverse)
 
template<typename T >
bool xsave_ascii (std::ostream &os, const octave::range< T > &r, const bool with_reverse)
 
template<typename T >
bool xsave_binary (std::ostream &os, bool, const octave::range< T > &r, const bool with_reverse)
 
template<typename T >
bool xsave_hdf5 (octave_hdf5_id loc_id, const char *name, bool, const octave::range< T > &r, const octave_hdf5_id h5_save_type, const bool with_reverse)
 

Function Documentation

◆ default_numeric_conversion_function()

template<typename T >
static octave_base_value* default_numeric_conversion_function ( const octave_base_value a)
static

Definition at line 183 of file ov-range.cc.

References ov_range< T >::raw_array_value().

◆ hdf5_make_range_rev_type()

template<typename T >
static hid_t hdf5_make_range_rev_type ( hid_t  num_type)
static

Definition at line 1044 of file ov-range.cc.

◆ hdf5_make_range_type()

template<typename T >
static hid_t hdf5_make_range_type ( hid_t  num_type)
static

Definition at line 1031 of file ov-range.cc.

◆ skip_comments()

static void skip_comments ( std::istream &  is)
static

Definition at line 642 of file ov-range.cc.

References skip_until_newline().

Referenced by xload_ascii().

◆ xload_ascii()

template<typename T >
bool xload_ascii ( std::istream &  is,
octave::range< T > &  r,
const bool  with_reverse 
)

Definition at line 754 of file ov-range.cc.

References error(), r, and skip_comments().

Referenced by ov_range< T >::load_ascii().

◆ xload_binary()

template<typename T >
bool xload_binary ( std::istream &  is,
bool  swap,
octave::mach_info::float_format  ,
octave::range< T > &  r,
const bool  with_reverse 
)

Definition at line 913 of file ov-range.cc.

References r.

Referenced by ov_range< T >::load_binary().

◆ xload_hdf5()

template<typename T >
bool xload_hdf5 ( octave_hdf5_id  loc_id,
const char *  name,
octave::range< T > &  r,
const octave_hdf5_id  h5_save_type,
const bool  with_reverse 
)

Definition at line 1228 of file ov-range.cc.

References hdf5_types_compatible(), octave_H5P_DEFAULT, octave_H5S_ALL, and r.

Referenced by ov_range< T >::load_hdf5().

◆ xsave_ascii()

template<typename T >
bool xsave_ascii ( std::ostream &  os,
const octave::range< T > &  r,
const bool  with_reverse 
)

Definition at line 675 of file ov-range.cc.

References len, and r.

Referenced by ov_range< T >::save_ascii().

◆ xsave_binary()

template<typename T >
bool xsave_binary ( std::ostream &  os,
bool  ,
const octave::range< T > &  r,
const bool  with_reverse 
)

Definition at line 845 of file ov-range.cc.

References LS_DOUBLE, and r.

Referenced by ov_range< T >::save_binary().

◆ xsave_hdf5()

template<typename T >
bool xsave_hdf5 ( octave_hdf5_id  loc_id,
const char *  name,
bool  ,
const octave::range< T > &  r,
const octave_hdf5_id  h5_save_type,
const bool  with_reverse 
)