summaryrefslogtreecommitdiffstats
path: root/c++/src/H5File.h
diff options
context:
space:
mode:
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;