diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2004-06-30 13:45:07 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2004-06-30 13:45:07 (GMT) |
commit | 358b8545dd9e3baa4b63c88a0d28aa8d7afb065b (patch) | |
tree | 50e0eac8be56d523b056778f4d3cac14dd777c28 /c++ | |
parent | 62f6531f2d3910a53c333047fdd941539eb6908f (diff) | |
download | hdf5-358b8545dd9e3baa4b63c88a0d28aa8d7afb065b.zip hdf5-358b8545dd9e3baa4b63c88a0d28aa8d7afb065b.tar.gz hdf5-358b8545dd9e3baa4b63c88a0d28aa8d7afb065b.tar.bz2 |
[svn-r8765] Purpose: New feature and its test.
Description: Added new API H5Fget_name and new test program called filename.c. This function
returns the name of the file by object ID(file, group, dataset, named datatype, and attribute)
which belongs to the file.
Platforms tested: h5committest and fuss.
Misc. update: MANIFEST and RELEASE.txt
Diffstat (limited to 'c++')
-rw-r--r-- | c++/src/H5File.h | 2 | ||||
-rw-r--r-- | c++/test/tfile.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/c++/src/H5File.h b/c++/src/H5File.h index e19f3f8..bb20643 100644 --- a/c++/src/H5File.h +++ b/c++/src/H5File.h @@ -74,7 +74,7 @@ class H5_DLLCPP H5File : public IdComponent, public CommonFG { // Retrieves the file size of an opened file. haddr_t getFileSize() const; - + // Reopens this file void reopen(); diff --git a/c++/test/tfile.cpp b/c++/test/tfile.cpp index 299986b..9dc6127 100644 --- a/c++/test/tfile.cpp +++ b/c++/test/tfile.cpp @@ -62,6 +62,9 @@ using namespace H5; #define KB 1024 #define FILE4 "tfile4.h5" +#define FILE5 "tfile5.h5" +#define NAME_LEN 64 + /*------------------------------------------------------------------------- * Function: test_file_create |