GNU Octave  4.2.1
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 | Functions
ls-hdf5.h File Reference
#include "octave-config.h"
#include "oct-hdf5-types.h"
Include dependency graph for ls-hdf5.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hdf5_callback_data
 
class  hdf5_fstreambase
 
class  hdf5_ifstream
 
class  hdf5_ofstream
 

Functions

OCTINTERP_API bool add_hdf5_data (octave_hdf5_id loc_id, const octave_value &tc, const std::string &name, const std::string &doc, bool mark_as_global, bool save_as_floats)
 
OCTINTERP_API octave_hdf5_err hdf5_add_attr (octave_hdf5_id loc_id, const char *attr_name)
 
OCTINTERP_API octave_hdf5_err hdf5_add_scalar_attr (octave_hdf5_id loc_id, octave_hdf5_id type_id, const char *attr_name, void *buf)
 
OCTINTERP_API bool hdf5_check_attr (octave_hdf5_id loc_id, const char *attr_name)
 
OCTINTERP_API bool hdf5_get_scalar_attr (octave_hdf5_id loc_id, octave_hdf5_id type_id, const char *attr_name, void *buf)
 
OCTINTERP_API octave_hdf5_err hdf5_h5g_iterate (octave_hdf5_id loc_id, const char *name, int *idx, void *operator_data)
 
OCTINTERP_API octave_hdf5_id hdf5_make_complex_type (octave_hdf5_id num_type)
 
OCTINTERP_API octave_hdf5_err hdf5_read_next_data (octave_hdf5_id group_id, const char *name, void *dv)
 
OCTINTERP_API bool hdf5_types_compatible (octave_hdf5_id t1, octave_hdf5_id t2)
 
OCTINTERP_API int load_hdf5_empty (octave_hdf5_id loc_id, const char *name, dim_vector &d)
 
OCTINTERP_API std::string read_hdf5_data (std::istream &is, const std::string &filename, bool &global, octave_value &tc, std::string &doc, const string_vector &argv, int argv_idx, int argc)
 
OCTINTERP_API bool save_hdf5_data (std::ostream &os, const octave_value &tc, const std::string &name, const std::string &doc, bool mark_as_global, bool save_as_floats)
 
OCTINTERP_API int save_hdf5_empty (octave_hdf5_id loc_id, const char *name, const dim_vector d)
 
OCTINTERP_API octave_hdf5_id save_type_to_hdf5 (save_type st)
 

Function Documentation

OCTINTERP_API bool add_hdf5_data ( octave_hdf5_id  loc_id,
const octave_value tc,
const std::string name,
const std::string doc,
bool  mark_as_global,
bool  save_as_floats 
)
OCTINTERP_API octave_hdf5_err hdf5_add_attr ( octave_hdf5_id  loc_id,
const char *  attr_name 
)

Definition at line 812 of file ls-hdf5.cc.

References err_disabled_feature(), octave_H5P_DEFAULT, and retval.

Referenced by add_hdf5_data(), and save_hdf5_empty().

OCTINTERP_API octave_hdf5_err hdf5_add_scalar_attr ( octave_hdf5_id  loc_id,
octave_hdf5_id  type_id,
const char *  attr_name,
void *  buf 
)

Definition at line 853 of file ls-hdf5.cc.

References err_disabled_feature(), octave_H5P_DEFAULT, and retval.

Referenced by octave_range::save_hdf5().

OCTINTERP_API bool hdf5_check_attr ( octave_hdf5_id  loc_id,
const char *  attr_name 
)

Definition at line 223 of file ls-hdf5.cc.

References err_disabled_feature(), octave_H5E_DEFAULT, and retval.

Referenced by hdf5_read_next_data_internal(), and load_hdf5_empty().

OCTINTERP_API bool hdf5_get_scalar_attr ( octave_hdf5_id  loc_id,
octave_hdf5_id  type_id,
const char *  attr_name,
void *  buf 
)

Definition at line 270 of file ls-hdf5.cc.

References err_disabled_feature(), octave_H5E_DEFAULT, and retval.

Referenced by octave_range::load_hdf5().

OCTINTERP_API octave_hdf5_err hdf5_h5g_iterate ( octave_hdf5_id  loc_id,
const char *  name,
int idx,
void *  operator_data 
)
OCTINTERP_API octave_hdf5_id hdf5_make_complex_type ( octave_hdf5_id  num_type)
OCTINTERP_API octave_hdf5_err hdf5_read_next_data ( octave_hdf5_id  group_id,
const char *  name,
void *  dv 
)
OCTINTERP_API bool hdf5_types_compatible ( octave_hdf5_id  t1,
octave_hdf5_id  t2 
)
OCTINTERP_API int load_hdf5_empty ( octave_hdf5_id  loc_id,
const char *  name,
dim_vector d 
)
OCTINTERP_API std::string read_hdf5_data ( std::istream &  is,
const std::string filename,
bool global,
octave_value tc,
std::string doc,
const string_vector argv,
int  argv_idx,
int  argc 
)
OCTINTERP_API bool save_hdf5_data ( std::ostream &  os,
const octave_value tc,
const std::string name,
const std::string doc,
bool  mark_as_global,
bool  save_as_floats 
)

Definition at line 1148 of file ls-hdf5.cc.

References add_hdf5_data(), check_hdf5_types(), err_disabled_feature(), and hdf5_fstreambase::file_id.

Referenced by do_save().

OCTINTERP_API int save_hdf5_empty ( octave_hdf5_id  loc_id,
const char *  name,
const dim_vector  d 
)
OCTINTERP_API octave_hdf5_id save_type_to_hdf5 ( save_type  st)