GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Go to the source code of this file.
Classes | |
struct | hdf5_callback_data |
class | hdf5_fstreambase |
class | hdf5_ifstream |
class | hdf5_ofstream |
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 | ||
) |
Definition at line 1053 of file ls-hdf5.cc.
References dims, err_disabled_feature(), error(), octave_value::full_value(), hdf5_add_attr(), octave_value::is_diag_matrix(), octave_value::is_perm_matrix(), octave_H5P_DEFAULT, octave_H5S_ALL, retval, octave_value::save_hdf5(), octave_lazy_index::static_type_id(), string, t, octave_value::type_id(), octave_value::type_name(), and val.
Referenced by octave_struct::save_hdf5(), octave_fcn_handle::save_hdf5(), octave_cell::save_hdf5(), octave_class::save_hdf5(), octave_scalar_struct::save_hdf5(), and save_hdf5_data().
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 | ||
) |
Definition at line 706 of file ls-hdf5.cc.
References check_hdf5_id_value(), err_disabled_feature(), and hdf5_read_next_data_internal().
Referenced by octave_struct::load_hdf5(), octave_fcn_handle::load_hdf5(), octave_cell::load_hdf5(), octave_class::load_hdf5(), and octave_scalar_struct::load_hdf5().
OCTINTERP_API octave_hdf5_id hdf5_make_complex_type | ( | octave_hdf5_id | num_type | ) |
Definition at line 328 of file ls-hdf5.cc.
References err_disabled_feature().
Referenced by hdf5_read_next_data_internal(), octave_sparse_complex_matrix::load_hdf5(), octave_float_complex_matrix::load_hdf5(), octave_complex_matrix::load_hdf5(), octave_float_complex::load_hdf5(), octave_complex::load_hdf5(), octave_sparse_complex_matrix::save_hdf5(), octave_float_complex_matrix::save_hdf5(), octave_complex_matrix::save_hdf5(), octave_float_complex::save_hdf5(), and octave_complex::save_hdf5().
OCTINTERP_API octave_hdf5_err hdf5_read_next_data | ( | octave_hdf5_id | group_id, |
const char * | name, | ||
void * | dv | ||
) |
Definition at line 692 of file ls-hdf5.cc.
References check_hdf5_id_value(), err_disabled_feature(), and hdf5_read_next_data_internal().
OCTINTERP_API bool hdf5_types_compatible | ( | octave_hdf5_id | t1, |
octave_hdf5_id | t2 | ||
) |
Definition at line 192 of file ls-hdf5.cc.
References err_disabled_feature().
Referenced by hdf5_read_next_data_internal(), octave_sparse_complex_matrix::load_hdf5(), octave_float_complex_matrix::load_hdf5(), octave_complex_matrix::load_hdf5(), octave_float_complex::load_hdf5(), octave_complex::load_hdf5(), and octave_range::load_hdf5().
OCTINTERP_API int load_hdf5_empty | ( | octave_hdf5_id | loc_id, |
const char * | name, | ||
dim_vector & | d | ||
) |
Definition at line 953 of file ls-hdf5.cc.
References d, dims, err_disabled_feature(), H5T_NATIVE_IDX, hdf5_check_attr(), octave_H5P_DEFAULT, octave_H5S_ALL, OCTAVE_LOCAL_BUFFER, dim_vector::resize(), and retval.
Referenced by octave_base_int_matrix< T >::load_hdf5(), octave_sparse_bool_matrix::load_hdf5(), octave_sparse_complex_matrix::load_hdf5(), octave_sparse_matrix::load_hdf5(), octave_float_complex_matrix::load_hdf5(), octave_char_matrix_str::load_hdf5(), octave_complex_matrix::load_hdf5(), octave_cell::load_hdf5(), octave_float_matrix::load_hdf5(), octave_bool_matrix::load_hdf5(), and octave_matrix::load_hdf5().
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 | ||
) |
Definition at line 727 of file ls-hdf5.cc.
References argc, check_hdf5_types(), hdf5_fstreambase::current_item, d, hdf5_callback_data::doc, err_disabled_feature(), hdf5_fstreambase::file_id, found, hdf5_callback_data::global, hdf5_read_next_data_internal(), is, glob_match::match(), hdf5_callback_data::name, octave_H5P_DEFAULT, pattern(), octave_value::resize(), retval, string, and hdf5_callback_data::tc.
Referenced by do_load().
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 | ||
) |
Definition at line 897 of file ls-hdf5.cc.
References d, dims, empty, err_disabled_feature(), H5T_NATIVE_IDX, hdf5_add_attr(), dim_vector::length(), octave_H5P_DEFAULT, octave_H5S_ALL, OCTAVE_LOCAL_BUFFER, retval, and sz.
Referenced by octave_base_int_matrix< T >::save_hdf5(), octave_sparse_bool_matrix::save_hdf5(), octave_sparse_complex_matrix::save_hdf5(), octave_sparse_matrix::save_hdf5(), octave_float_complex_matrix::save_hdf5(), octave_char_matrix_str::save_hdf5(), octave_complex_matrix::save_hdf5(), octave_cell::save_hdf5(), octave_float_matrix::save_hdf5(), octave_bool_matrix::save_hdf5(), and octave_matrix::save_hdf5().
OCTINTERP_API octave_hdf5_id save_type_to_hdf5 | ( | save_type | st | ) |
Definition at line 997 of file ls-hdf5.cc.
References err_disabled_feature(), LS_CHAR, LS_DOUBLE, LS_FLOAT, LS_INT, LS_SHORT, LS_U_CHAR, LS_U_INT, and LS_U_SHORT.
Referenced by octave_sparse_complex_matrix::save_hdf5(), octave_sparse_matrix::save_hdf5(), octave_float_complex_matrix::save_hdf5(), octave_complex_matrix::save_hdf5(), octave_float_matrix::save_hdf5(), and octave_matrix::save_hdf5().