GNU Octave  3.8.0
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
Macros | Functions
ls-hdf5.cc File Reference
#include <cfloat>
#include <cstring>
#include <cctype>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <string>
#include <vector>
#include "byte-swap.h"
#include "data-conv.h"
#include "file-ops.h"
#include "glob-match.h"
#include "lo-mappers.h"
#include "mach-info.h"
#include "oct-env.h"
#include "oct-time.h"
#include "quit.h"
#include "str-vec.h"
#include "oct-locbuf.h"
#include "Cell.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "load-save.h"
#include "oct-obj.h"
#include "oct-map.h"
#include "ov-cell.h"
#include "pager.h"
#include "pt-exp.h"
#include "sysdep.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include "version.h"
#include "dMatrix.h"
#include "ov-lazy-idx.h"
#include "ls-utils.h"
#include "ls-hdf5.h"
Include dependency graph for ls-hdf5.cc:

Go to the source code of this file.

Macros

#define HAVE_HDF5_INT2FLOAT_CONVERSIONS   0

Functions

bool add_hdf5_data (hid_t loc_id, const octave_value &tc, const std::string &name, const std::string &doc, bool mark_as_global, bool save_as_floats)
herr_t hdf5_add_attr (hid_t loc_id, const char *attr_name)
herr_t hdf5_add_scalar_attr (hid_t loc_id, hid_t type_id, const char *attr_name, void *buf)
bool hdf5_check_attr (hid_t loc_id, const char *attr_name)
bool hdf5_get_scalar_attr (hid_t loc_id, hid_t type_id, const char *attr_name, void *buf)
hid_t hdf5_make_complex_type (hid_t num_type)
herr_t hdf5_read_next_data (hid_t group_id, const char *name, void *dv)
bool hdf5_types_compatible (hid_t t1, hid_t t2)
int load_hdf5_empty (hid_t loc_id, const char *name, dim_vector &d)
static std::string make_valid_identifier (const std::string &nm)
std::string read_hdf5_data (std::istream &is, const std::string &, bool &global, octave_value &tc, std::string &doc, const string_vector &argv, int argv_idx, int argc)
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)
int save_hdf5_empty (hid_t loc_id, const char *name, const dim_vector d)

Macro Definition Documentation

#define HAVE_HDF5_INT2FLOAT_CONVERSIONS   0

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

Function Documentation

bool add_hdf5_data ( hid_t  loc_id,
const octave_value tc,
const std::string &  name,
const std::string &  doc,
bool  mark_as_global,
bool  save_as_floats 
)
herr_t hdf5_add_attr ( hid_t  loc_id,
const char attr_name 
)

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

Referenced by add_hdf5_data(), and save_hdf5_empty().

herr_t hdf5_add_scalar_attr ( hid_t  loc_id,
hid_t  type_id,
const char attr_name,
void buf 
)

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

Referenced by octave_range::save_hdf5().

bool hdf5_check_attr ( hid_t  loc_id,
const char attr_name 
)

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

Referenced by hdf5_read_next_data(), and load_hdf5_empty().

bool hdf5_get_scalar_attr ( hid_t  loc_id,
hid_t  type_id,
const char attr_name,
void buf 
)

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

Referenced by octave_range::load_hdf5().

hid_t hdf5_make_complex_type ( hid_t  num_type)
herr_t hdf5_read_next_data ( hid_t  group_id,
const char name,
void dv 
)
bool hdf5_types_compatible ( hid_t  t1,
hid_t  t2 
)
int load_hdf5_empty ( hid_t  loc_id,
const char name,
dim_vector d 
)
static std::string make_valid_identifier ( const std::string &  nm)
static

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

Referenced by hdf5_read_next_data().

std::string read_hdf5_data ( std::istream &  is,
const std::string &  ,
bool global,
octave_value tc,
std::string &  doc,
const string_vector argv,
int  argv_idx,
int  argc 
)
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 947 of file ls-hdf5.cc.

References add_hdf5_data(), and hdf5_fstreambase::file_id.

Referenced by do_save().

int save_hdf5_empty ( hid_t  loc_id,
const char name,
const dim_vector  d 
)