diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-04-06 22:36:15 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-04-06 22:36:15 (GMT) |
commit | a08f75b0737c86d51bbc91538e78b1455eb2cae7 (patch) | |
tree | a1e1c4f1cf8ddda6dd0a101af17dc8524ad23050 /c++/src/H5Attribute.h | |
parent | 70daa61a876274a92c0d43ec0116d68e35d0c2ce (diff) | |
download | hdf5-a08f75b0737c86d51bbc91538e78b1455eb2cae7.zip hdf5-a08f75b0737c86d51bbc91538e78b1455eb2cae7.tar.gz hdf5-a08f75b0737c86d51bbc91538e78b1455eb2cae7.tar.bz2 |
[svn-r24969] Description:
- Added wrappers to H5Object for H5Iget_name() to get object's name
ssize_t getObjName(char *obj_name, size_t buf_size = 0) const;
ssize_t getObjName(H5std_string& obj_name, size_t len = 0) const;
H5std_string getObjName() const;
- Added tests tobject.cpp
- Added to various cleanup_* functions in tests to remove generated files
- Added an overload H5I_type_t getHDFObjType() to get object's type
Platforms tested:
Linux/ppc64 (ostrich)
Linux/32 2.6 (jam)
SunOS 5.11 (emu) with gmake
Diffstat (limited to 'c++/src/H5Attribute.h')
-rw-r--r-- | c++/src/H5Attribute.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5Attribute.h b/c++/src/H5Attribute.h index 8332632..8ec04af 100644 --- a/c++/src/H5Attribute.h +++ b/c++/src/H5Attribute.h @@ -39,7 +39,7 @@ class H5_DLLCPP Attribute : public AbstractDs, public IdComponent { // Gets the name of this attribute. ssize_t getName(char* attr_name, size_t buf_size = 0) const; - ssize_t getName(H5std_string& attr_name, size_t buf_size = 0) const; + ssize_t getName(H5std_string& attr_name, size_t len = 0) const; H5std_string getName() const; // Gets a copy of the dataspace for this attribute. |