summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Location.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2017-08-25 17:07:04 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2017-08-25 17:07:04 (GMT)
commit883a235d5ca81770228c5cb5f9d162afda0b411f (patch)
tree7c64b4a99caa417d0256f7c190b0c3075c5e4304 /c++/src/H5Location.h
parentf4c4ab678b1ac9919d561eae426941551a15f832 (diff)
downloadhdf5-883a235d5ca81770228c5cb5f9d162afda0b411f.zip
hdf5-883a235d5ca81770228c5cb5f9d162afda0b411f.tar.gz
hdf5-883a235d5ca81770228c5cb5f9d162afda0b411f.tar.bz2
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)
Diffstat (limited to 'c++/src/H5Location.h')
-rw-r--r--c++/src/H5Location.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/c++/src/H5Location.h b/c++/src/H5Location.h
index 41f7ca0..3dfa5d5 100644
--- a/c++/src/H5Location.h
+++ b/c++/src/H5Location.h
@@ -113,6 +113,10 @@ class H5_DLLCPP H5Location : public IdComponent {
H5std_string getLinkval(const char* link_name, size_t size=0) const;
H5std_string getLinkval(const H5std_string& link_name, size_t size=0) const;
+ // Returns the number of objects in this group.
+ // Deprecated - moved to H5::Group in 1.10.2.
+ hsize_t getNumObjs() const;
+
// Retrieves the name of an object in this group, given the
// object's index.
H5std_string getObjnameByIdx(hsize_t idx) const;