diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2015-03-29 04:37:28 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2015-03-29 04:37:28 (GMT) |
commit | 39fb0401a089a3c3f9e9e2105eaaa69c9a4ab8a9 (patch) | |
tree | 243391a9261a95dc32a86ebf78f74796875b3745 /c++/src/H5CommonFG.h | |
parent | 8e5a71c716c4d88b273137a81376f1a63ba54900 (diff) | |
download | hdf5-39fb0401a089a3c3f9e9e2105eaaa69c9a4ab8a9.zip hdf5-39fb0401a089a3c3f9e9e2105eaaa69c9a4ab8a9.tar.gz hdf5-39fb0401a089a3c3f9e9e2105eaaa69c9a4ab8a9.tar.bz2 |
[svn-r26643] Purpose: Adding new wrappers (HDFFR-9167 partially)
Description:
Added wrappers for C functions H5P[s/g]et_libver_bounds and wrappers
for getting object header version
// Sets bounds on versions of library format to be used when creating
// or writing objects.
void setLibverBounds(H5F_libver_t libver_low, H5F_libver_t libver_high) const;
// Gets the current settings for the library version format bounds.
void getLibverBounds(H5F_libver_t& libver_low, H5F_libver_t& libver_high) const;
// Returns the object header version of an object in a file or group,
// given the object's name.
unsigned childObjVersion(const char* objname) const;
unsigned childObjVersion(const H5std_string& objname) const;
Platforms tested:
Linux/64 (platypus)
Linux/32 2.6
SunOS 5.11
Diffstat (limited to 'c++/src/H5CommonFG.h')
-rw-r--r-- | c++/src/H5CommonFG.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/c++/src/H5CommonFG.h b/c++/src/H5CommonFG.h index 5c8a142..2fbbaf2 100644 --- a/c++/src/H5CommonFG.h +++ b/c++/src/H5CommonFG.h @@ -70,6 +70,11 @@ class H5_DLLCPP CommonFG { H5O_type_t childObjType(const char* objname) const; H5O_type_t childObjType(hsize_t index, H5_index_t index_type=H5_INDEX_NAME, H5_iter_order_t order=H5_ITER_INC, const char* objname=".") const; + // Returns the object header version of an object in this file or group, + // given the object's name. + unsigned childObjVersion(const char* objname) const; + unsigned childObjVersion(const H5std_string& objname) const; + #ifndef H5_NO_DEPRECATED_SYMBOLS // Returns the type of an object in this group, given the // object's index. |