summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Group.h
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2017-09-01 14:24:39 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2017-09-01 14:24:39 (GMT)
commitfa21f6af4daf54dc7cf0a80780a25b50f2cf0e3d (patch)
treea212d4385bdf7f9b3ae12fe685fd3aefd87027c9 /c++/src/H5Group.h
parent17029af344b23b89b64bd5ba14f5fe1870022c16 (diff)
parentabcf30f232914c1ec9b8c5f2a3bb3a621af7bfe4 (diff)
downloadhdf5-fa21f6af4daf54dc7cf0a80780a25b50f2cf0e3d.zip
hdf5-fa21f6af4daf54dc7cf0a80780a25b50f2cf0e3d.tar.gz
hdf5-fa21f6af4daf54dc7cf0a80780a25b50f2cf0e3d.tar.bz2
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'abcf30f232914c1ec9b8c5f2a3bb3a621af7bfe4': HDFFV-10284 Add VS2017 support Add commentary around calling H5Screate_simple with a single element Miscellaneous improvements (cont.) Description: Put back H5Location::getNumObjs and marked as deprecated in favor of Group::getNumObjs. Platforms tested: Linux/32 2.6 (jam) Darwin (osx1010test) 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) HDFFV-10282 refactor out assert calls in tools Fix the t_bigio test so that it runs on 32bit machines
Diffstat (limited to 'c++/src/H5Group.h')
-rw-r--r--c++/src/H5Group.h3
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;