26 #if ! defined (octave_ls_hdf5_h)
27 #define octave_ls_hdf5_h 1
29 #include "octave-config.h"
61 OCTINTERP_API
void close ();
63 OCTINTERP_API
void open (
const char *name,
int mode,
int);
65 OCTINTERP_API
void open_create (
const char *name,
int mode);
77 hdf5_ifstream (
const char *name,
int mode = std::ios::in | std::ios::binary,
81 void open (
const char *name,
int mode = std::ios::in | std::ios::binary,
92 hdf5_ofstream (
const char *name,
int mode = std::ios::out | std::ios::binary,
96 void open (
const char *name,
int mode = std::ios::out | std::ios::binary,
133 extern OCTINTERP_API
bool
141 void *operator_data);
143 extern OCTINTERP_API
bool
145 const std::
string&
name, const std::
string&
doc,
146 bool mark_global,
bool save_as_floats);
148 extern OCTINTERP_API
int
151 extern OCTINTERP_API
int
154 extern OCTINTERP_API std::
string
159 extern OCTINTERP_API
bool
161 const std::
string&
name, const std::
string&
doc,
162 bool mark_global,
bool save_as_floats);
164 extern OCTINTERP_API
bool
167 extern OCTINTERP_API
bool
169 const
char *attr_name,
void *buf);
177 const
char *attr_name,
void *buf);
Vector representing the dimensions (size) of an Array.
void open(const char *name, int mode, int)
void open_create(const char *name, int mode)
void open(const char *name, int mode=std::ios::in|std::ios::binary, int prot=0)
hdf5_ifstream(const char *name, int mode=std::ios::in|std::ios::binary, int prot=0)
void open(const char *name, int mode=std::ios::out|std::ios::binary, int prot=0)
hdf5_ofstream(const char *name, int mode=std::ios::out|std::ios::binary, int prot=0)
F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
bool save_hdf5_data(std::ostream &os, const octave_value &tc, const std::string &name, const std::string &doc, bool mark_global, bool save_as_floats)
int save_hdf5_empty(octave_hdf5_id loc_id, const char *name, const dim_vector &d)
octave_hdf5_err hdf5_add_attr(octave_hdf5_id loc_id, const char *attr_name)
bool hdf5_get_scalar_attr(octave_hdf5_id loc_id, octave_hdf5_id type_id, const char *attr_name, void *buf)
int load_hdf5_empty(octave_hdf5_id loc_id, const char *name, dim_vector &d)
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)
octave_hdf5_id save_type_to_hdf5(save_type st)
octave_hdf5_id hdf5_make_complex_type(octave_hdf5_id num_type)
octave_hdf5_err hdf5_read_next_data(octave_hdf5_id group_id, const char *name, void *dv)
octave_hdf5_err hdf5_h5g_iterate(octave_hdf5_id loc_id, const char *name, int *idx, void *operator_data)
bool hdf5_types_compatible(octave_hdf5_id t1, octave_hdf5_id t2)
octave_hdf5_err hdf5_add_scalar_attr(octave_hdf5_id loc_id, octave_hdf5_id type_id, const char *attr_name, void *buf)
bool add_hdf5_data(octave_hdf5_id loc_id, const octave_value &tc, const std::string &name, const std::string &doc, bool mark_global, bool save_as_floats)
bool hdf5_check_attr(octave_hdf5_id loc_id, const char *attr_name)