summaryrefslogtreecommitdiffstats
path: root/c++/src/H5File.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2004-05-14 17:53:33 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2004-05-14 17:53:33 (GMT)
commit4e7a6b7b1d0bbb882a3ac3f3aeffe042ef187717 (patch)
tree284eb86b117675018ac31a7e90038ee3850fbfcc /c++/src/H5File.h
parent77a7fc4428f5ea1545cded5336ba715934507c4a (diff)
downloadhdf5-4e7a6b7b1d0bbb882a3ac3f3aeffe042ef187717.zip
hdf5-4e7a6b7b1d0bbb882a3ac3f3aeffe042ef187717.tar.gz
hdf5-4e7a6b7b1d0bbb882a3ac3f3aeffe042ef187717.tar.bz2
[svn-r8526] Purpose:
Add more C++ wrappers - incrementally check-in Description: Added more wrappers for C H5F functions and added Doxygen documentation to existing member functions of H5File. This is an incremental check-in to preserve the code, corresponding tests will follow in a few weeks. Newly added wrappers are for: H5Fget_freespace H5Fget_obj_count H5Fget_obj_ids H5Fget_vfd_handle Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene) Windows 2000
Diffstat (limited to 'c++/src/H5File.h')
-rw-r--r--c++/src/H5File.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/c++/src/H5File.h b/c++/src/H5File.h
index 2e088ad..3edc6a3 100644
--- a/c++/src/H5File.h
+++ b/c++/src/H5File.h
@@ -39,9 +39,21 @@ class H5_DLLCPP H5File : public IdComponent, public CommonFG {
// Gets the file id
virtual hid_t getLocId() const;
- // Throw file exception
- virtual void throwException(const string func_name, const string msg) const;
+ // Returns the amount of free space in the file.
+ hssize_t getFreeSpace();
+
+ // Returns the number of opened object IDs (files, datasets, groups
+ // and datatypes) in the same file.
+ int getObjCount(unsigned types);
+ int getObjCount();
+
+ // Retrieves a list of opened object IDs (files, datasets, groups
+ // and datatypes) in the same file.
+ void getObjIDs(unsigned types, int max_objs, hid_t *oid_list);
+ // Returns the pointer to the file handle of the low-level file driver.
+ void getVFDHandle(FileAccPropList& fapl, void **file_handle);
+ void getVFDHandle(void **file_handle);
// Determines if a file, specified by its name, is in HDF5 format
static bool isHdf5(const string& name );
@@ -56,6 +68,9 @@ class H5_DLLCPP H5File : public IdComponent, public CommonFG {
// Gets the access property list of this file
FileAccPropList getAccessPlist() const;
+ // Throw file exception
+ virtual void throwException(const string func_name, const string msg) const;
+
// Used by the API to appropriately close a file
void p_close() const;