summaryrefslogtreecommitdiffstats
path: root/c++/src/H5File.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2005-12-05 20:23:12 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2005-12-05 20:23:12 (GMT)
commit11d013f8ccd95d7a5511260fad585ea6a039eac4 (patch)
treeda7c8eff13f9d09d1a96456da8935d346920df66 /c++/src/H5File.h
parente969226fc701d06fc3e6e4b312c6bd77395b76d3 (diff)
downloadhdf5-11d013f8ccd95d7a5511260fad585ea6a039eac4.zip
hdf5-11d013f8ccd95d7a5511260fad585ea6a039eac4.tar.gz
hdf5-11d013f8ccd95d7a5511260fad585ea6a039eac4.tar.bz2
[svn-r11762] Purpose: Adding more wrappers
Description: Added member function H5File::openFile and overloaded for convenience. Added overloaded getObjinfo to skip the middle parameter. Changed StrType(const size_t& size); to StrType(const int dummy, const size_t& size); because the first one clashed with StrType(const hid_t existing_id); Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol) HPUX 11.00 (kelgia)
Diffstat (limited to 'c++/src/H5File.h')
-rw-r--r--c++/src/H5File.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/c++/src/H5File.h b/c++/src/H5File.h
index 30ee167..7e73ef3 100644
--- a/c++/src/H5File.h
+++ b/c++/src/H5File.h
@@ -30,6 +30,12 @@ class H5_DLLCPP H5File : public IdComponent, public CommonFG {
const FileCreatPropList& create_plist = FileCreatPropList::DEFAULT,
const FileAccPropList& access_plist = FileAccPropList::DEFAULT );
+ // Open the file
+ void openFile(const string& name, unsigned int flags,
+ const FileAccPropList& access_plist = FileAccPropList::DEFAULT);
+ void openFile(const char* name, unsigned int flags,
+ const FileAccPropList& access_plist = FileAccPropList::DEFAULT);
+
// Close this file.
virtual void close();