diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-04-12 02:10:49 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-04-12 02:10:49 (GMT) |
commit | adff7e81bd0013af6f2e468e1eb0b9622897ab20 (patch) | |
tree | 987f4fd9c43e3aa00f42277d6ab796f6b46982c9 /c++/src/H5File.h | |
parent | d9703d66de5fe67b1bc3bb1c1017a22d50e369bf (diff) | |
download | hdf5-adff7e81bd0013af6f2e468e1eb0b9622897ab20.zip hdf5-adff7e81bd0013af6f2e468e1eb0b9622897ab20.tar.gz hdf5-adff7e81bd0013af6f2e468e1eb0b9622897ab20.tar.bz2 |
[svn-r25022] Purpose: Code improvement
Description:
- Overloaded Atribute::getName to take a char* for the attribute name:
ssize_t Attribute::getName(char* attr_name, size_t buf_size)
- Switched the arguments in this function:
ssize_t getName(size_t buf_size, H5std_string& attr_name)
so it became:
ssize_t getName(H5std_string& attr_name, size_t buf_size)
The second argument is default to 0, and can be skipped.
- Removed this function:
H5std_string getName(size_t buf_size); it'll collide with the
first function when that function takes a NULL for the first
argument, and uses default value for the second argument.
- Added more tests
(merged from trunk-r24938)
Platforms tested:
Linux/ppc64 (ostrich)
Linux/32 2.6 (jam)
SunOS 5.11 (emu) with gmake
Diffstat (limited to 'c++/src/H5File.h')
0 files changed, 0 insertions, 0 deletions