[svn-r8758] Purpose:

h5dump new feature, bug fix

Description:
added the dump of unmamed types to the file contents
fixed a bug in the type array, it was printing invalid characters with the array indices option on

Solution:

Platforms tested:
linux
AIX
solaris

Misc. update:
This commit is contained in:
Pedro Vicente Nunes
2004-06-29 12:42:09 -05:00
parent 3edde57e73
commit d4eec2cb07
44 changed files with 1430 additions and 1391 deletions

View File

@@ -4987,15 +4987,25 @@ static void gent_fcontents(void)
assert(ret>=0);
/*-------------------------------------------------------------------------
* datatype
* datatypes
*-------------------------------------------------------------------------
*/
tid=H5Tcopy(H5T_STD_B8LE);
tid=H5Tcopy(H5T_NATIVE_INT);
ret=H5Tcommit(fid, "mytype", tid);
assert(ret>=0);
ret=H5Tclose(tid);
assert(ret>=0);
/* no name datatype */
tid=H5Tcopy(H5T_NATIVE_INT);
ret=H5Tcommit(fid, "mytype2", tid);
assert(ret>=0);
write_dset(fid,1,dims,"dsetmytype2",tid,buf);
ret=H5Gunlink(fid,"mytype2");
assert(ret>=0);
ret=H5Tclose(tid);
assert(ret>=0);
/*-------------------------------------------------------------------------
* close
*-------------------------------------------------------------------------
@@ -5010,12 +5020,12 @@ static void gent_fcontents(void)
ret=H5Fclose(fid);
assert(ret>=0);
}
/*-------------------------------------------------------------------------
* Function: gent_null_space
*