summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Group.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2017-04-25 21:04:56 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2017-04-25 21:04:56 (GMT)
commited39ad384253224e83906ae6228d3ccdb5b02633 (patch)
tree20d9c672f686e97e2390972d73e71efe4b67cf55 /c++/src/H5Group.h
parent432435b158ea2889d971390a60fd24eae31561d0 (diff)
parent4bc55bbf94d7fce7521b2efd766f677ca45c9ecc (diff)
downloadhdf5-ed39ad384253224e83906ae6228d3ccdb5b02633.zip
hdf5-ed39ad384253224e83906ae6228d3ccdb5b02633.tar.gz
hdf5-ed39ad384253224e83906ae6228d3ccdb5b02633.tar.bz2
Merge pull request #466 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_1_10_1:hdf5_1_10_1 to hdf5_1_10_1
* commit '4bc55bbf94d7fce7521b2efd766f677ca45c9ecc': Code clean-up. Description: - Removed function prototypes left in by mistake - Moved H5Location::getNumObjs() to class Group because the C function in this wrapper only takes a group or file id. - Moved H5Object::getNumAttrs to H5Location because the C function in this wrapper can also take an attribute id. - Misc improvements in comments 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.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/c++/src/H5Group.h b/c++/src/H5Group.h
index a7e1f7c..9430b13 100644
--- a/c++/src/H5Group.h
+++ b/c++/src/H5Group.h
@@ -28,14 +28,6 @@ class VarLenType;
class H5_DLLCPP Group : public H5Object, public CommonFG {
public:
- // Group constructor to create a group or file (aka root group).
- Group(const char* name, size_t size_hint = 0);
- Group(const H5std_string& name, size_t size_hint = 0);
-
- // Group constructor to open a group or file (aka root group).
- Group(const char* name);
- Group(const H5std_string& name);
-
// Close this group.
virtual void close();
@@ -60,6 +52,9 @@ class H5_DLLCPP Group : public H5Object, public CommonFG {
// Closes an object opened by getObjId().
void closeObjId(hid_t obj_id) const;
+ // Returns the number of objects in this group.
+ hsize_t getNumObjs() const;
+
// default constructor
Group();