diff libinterp/corefcn/ls-hdf5.h @ 17709:5415a9cd61d4

Implement faster partial loading of HDF5 files. * libinterp/corefcn/load-save.cc(do_load): Call read_hdf5_data with extra arguments for variables to load. * libinterp/corefcn/ls-hdf5.h: Re-define read_Hdf5_data function prototype. * libinterp/corefcn/ls-hdf5.cc: Check for any variable names to load, instead of whole file.
author Rik <rik@octave.org>
date Sun, 20 Oct 2013 20:30:11 -0700
parents 68fc671a9339
children d63878346099
line wrap: on
line diff
--- a/libinterp/corefcn/ls-hdf5.h	Tue Jul 02 14:17:33 2013 +0100
+++ b/libinterp/corefcn/ls-hdf5.h	Sun Oct 20 20:30:11 2013 -0700
@@ -180,7 +180,8 @@
 
 extern OCTINTERP_API std::string
 read_hdf5_data (std::istream& is,  const std::string& filename, bool& global,
-                octave_value& tc, std::string& doc);
+                octave_value& tc, std::string& doc,								
+                const string_vector& argv, int argv_idx, int argc);
 
 extern OCTINTERP_API bool
 save_hdf5_data (std::ostream& os, const octave_value& tc,