diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-08-24 18:46:39 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-08-24 18:46:39 (GMT) |
commit | 0e44181bbb9797bdf4c7b2c192a457639a4e5ea1 (patch) | |
tree | 0a2a276797b42ed90291f69de87f8b65b9578bf2 /c++/src/H5Group.h | |
parent | a6d5bf1a86250cc660cd1ed420eeda6940792be5 (diff) | |
download | hdf5-0e44181bbb9797bdf4c7b2c192a457639a4e5ea1.zip hdf5-0e44181bbb9797bdf4c7b2c192a457639a4e5ea1.tar.gz hdf5-0e44181bbb9797bdf4c7b2c192a457639a4e5ea1.tar.bz2 |
Miscellaneous improvements
Description:
Moved H5Location::getNumObjs to Group::getNumObjs (i.e., H5Gget_info)
Switched reinterpret_cast to static_cast in H5Object::iterateAttrs
Miscellaneous cleanup
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (platypus)
Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5Group.h')
-rw-r--r-- | c++/src/H5Group.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/c++/src/H5Group.h b/c++/src/H5Group.h index a7e1f7c..e5fa174 100644 --- a/c++/src/H5Group.h +++ b/c++/src/H5Group.h @@ -53,6 +53,9 @@ class H5_DLLCPP Group : public H5Object, public CommonFG { // Removed in 1.10.1, because H5Location is baseclass // Group(const Attribute& attr, const void* ref, H5R_type_t ref_type = H5R_OBJECT, const PropList& plist = PropList::DEFAULT); + // Returns the number of objects in this group. + hsize_t getNumObjs() const; + // Opens an object within a group or a file, i.e., root group. hid_t getObjId(const char* name, const PropList& plist = PropList::DEFAULT) const; hid_t getObjId(const H5std_string& name, const PropList& plist = PropList::DEFAULT) const; |