26 #if ! defined (octave_ls_hdf5_h)
27 #define octave_ls_hdf5_h 1
29 #include "octave-config.h"
59 OCTINTERP_API
void close (
void);
61 OCTINTERP_API
void open (
const char *name,
int mode,
int);
63 OCTINTERP_API
void open_create (
const char *name,
int mode);
75 hdf5_ifstream (
const char *name,
int mode = std::ios::in | std::ios::binary,
79 void open (
const char *name,
int mode = std::ios::in | std::ios::binary,
90 hdf5_ofstream (
const char *name,
int mode = std::ios::out | std::ios::binary,
94 void open (
const char *name,
int mode = std::ios::out | std::ios::binary,
128 extern OCTINTERP_API
bool
136 void *operator_data);
138 extern OCTINTERP_API
bool
140 const std::string& name,
const std::string& doc,
141 bool mark_global,
bool save_as_floats);
143 extern OCTINTERP_API
int
146 extern OCTINTERP_API
int
149 extern OCTINTERP_API std::string
150 read_hdf5_data (std::istream& is,
const std::string& filename,
bool& global,
154 extern OCTINTERP_API
bool
156 const std::string& name,
const std::string& doc,
157 bool mark_global,
bool save_as_floats);
159 extern OCTINTERP_API
bool
162 extern OCTINTERP_API
bool
164 const char *attr_name,
void *buf);
172 const char *attr_name,
void *buf);
Vector representing the dimensions (size) of an Array.
OCTINTERP_API void open(const char *name, int mode, int)
OCTINTERP_API void open_create(const char *name, int mode)
OCTINTERP_API void close(void)
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
OCTINTERP_API 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)
OCTINTERP_API int load_hdf5_empty(octave_hdf5_id loc_id, const char *name, dim_vector &d)
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 octave_hdf5_id save_type_to_hdf5(save_type st)
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_global, bool save_as_floats)
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 hdf5_types_compatible(octave_hdf5_id t1, octave_hdf5_id t2)
OCTINTERP_API octave_hdf5_err hdf5_add_attr(octave_hdf5_id loc_id, const char *attr_name)
OCTINTERP_API bool hdf5_check_attr(octave_hdf5_id loc_id, const char *attr_name)
OCTINTERP_API octave_hdf5_err hdf5_h5g_iterate(octave_hdf5_id loc_id, const char *name, int *idx, void *operator_data)
OCTINTERP_API int save_hdf5_empty(octave_hdf5_id loc_id, const char *name, const dim_vector &d)
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_get_scalar_attr(octave_hdf5_id loc_id, octave_hdf5_id type_id, const char *attr_name, void *buf)