summaryrefslogtreecommitdiffstats
path: root/c++/src/H5CommonFG.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2013-09-19 02:41:00 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2013-09-19 02:41:00 (GMT)
commitd95f5e293a2c550f24522a98873a08ad7942ee06 (patch)
treec5cf910060adc63724b65e57f540261f33961063 /c++/src/H5CommonFG.h
parent18b896112c1fd7db68323a9dd4a18cfa19deedc2 (diff)
downloadhdf5-d95f5e293a2c550f24522a98873a08ad7942ee06.zip
hdf5-d95f5e293a2c550f24522a98873a08ad7942ee06.tar.gz
hdf5-d95f5e293a2c550f24522a98873a08ad7942ee06.tar.bz2
[svn-r24162] backing out a commit that includes wrong files
Diffstat (limited to 'c++/src/H5CommonFG.h')
-rw-r--r--c++/src/H5CommonFG.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/c++/src/H5CommonFG.h b/c++/src/H5CommonFG.h
index b02b05b..22e193a 100644
--- a/c++/src/H5CommonFG.h
+++ b/c++/src/H5CommonFG.h
@@ -49,6 +49,18 @@ class H5_DLLCPP CommonFG {
DataSet openDataSet(const char* name) const;
DataSet openDataSet(const H5std_string& name) const;
+ // Retrieves comment for the HDF5 object specified by its name.
+ H5std_string getComment(const char* name, size_t bufsize=256) const;
+ H5std_string getComment(const H5std_string& name, size_t bufsize=256) const;
+
+ // Removes the comment for the HDF5 object specified by its name.
+ void removeComment(const char* name) const;
+ void removeComment(const H5std_string& name) const;
+
+ // Sets the comment for an HDF5 object specified by its name.
+ void setComment(const char* name, const char* comment) const;
+ void setComment(const H5std_string& name, const H5std_string& comment) const;
+
// Returns the value of a symbolic link.
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;