diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-02-15 15:01:05 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-02-15 15:01:05 (GMT) |
commit | 40b13c74457cc4fbe97a746bb58bedc3e0732445 (patch) | |
tree | 4dd970cbc84e9f43ca5ab87cfe3f894b5faad64b /c++/src/H5FcreatProp.h | |
parent | fc8866d41e0b585b6c6f3e2ec7fd012d543e2624 (diff) | |
download | hdf5-40b13c74457cc4fbe97a746bb58bedc3e0732445.zip hdf5-40b13c74457cc4fbe97a746bb58bedc3e0732445.tar.gz hdf5-40b13c74457cc4fbe97a746bb58bedc3e0732445.tar.bz2 |
Purpose: Add new C++ wrappers
Description:
Added wrappers for H5Pset_file_space and H5Pget_file_space
// Sets the strategy and the threshold value that the library will
// will employ in managing file space.
void setFileSpace(H5F_file_space_type_t strategy, hsize_t threshold) const;
// Returns the strategy that the library uses in managing file space.
H5F_file_space_type_t getFileSpaceStrategy() const;
// Returns the threshold value that the library uses in tracking free
// space sections.
hsize_t getFileSpaceThreshold() const;
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (jelly)
Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5FcreatProp.h')
-rw-r--r-- | c++/src/H5FcreatProp.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/c++/src/H5FcreatProp.h b/c++/src/H5FcreatProp.h index 1ac925e..cadff8b 100644 --- a/c++/src/H5FcreatProp.h +++ b/c++/src/H5FcreatProp.h @@ -65,6 +65,17 @@ class H5_DLLCPP FileCreatPropList : public PropList { // indexing chunked datasets. void setIstorek( unsigned ik ) const; + // Sets the strategy and the threshold value that the library will + // will employ in managing file space. + void setFileSpace(H5F_file_space_type_t strategy, hsize_t threshold) const; + + // Returns the strategy that the library uses in managing file space. + H5F_file_space_type_t getFileSpaceStrategy() const; + + // Returns the threshold value that the library uses in tracking free + // space sections. + hsize_t getFileSpaceThreshold() const; + ///\brief Returns this class name. virtual H5std_string fromClass () const { return("FileCreatPropList"); } |