[svn-r4784]
Purpose: feature add Description: Added ability to h5dumper to dump Group comments. Solution: Stole the code from h5ls that does this and put it into the h5dumper code. Modified the DDL to reflect the newest change. Added a testcase (tgrp_comments.*) to test that it's actually doing the comments correctly. Small modification to H5G.c. The error comment should have said that it couldn't "get" the comment instead of "set" the comment... Platforms tested: Dangermouse, Kelgai, Modi4
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
|
||||
<body bgcolor="#FFFFFF">
|
||||
|
||||
|
||||
<hr>
|
||||
<center>
|
||||
<table border=0 width=98%>
|
||||
@@ -84,8 +83,13 @@ This section contains a brief explanation of the symbols used in the DDL.
|
||||
|
||||
<super_block_content> ::= TBD
|
||||
|
||||
<root_group> ::= GROUP "/" { <unamed_datatype>* <object_id><FONT SIZE=1.7>opt</FONT>
|
||||
<group_attribute>* <group_member>* }
|
||||
<root_group> ::= GROUP "/" {
|
||||
<unamed_datatype>*
|
||||
<object_id><FONT SIZE=1.7>opt</FONT>
|
||||
<group_comment><FONT SIZE=1.7>opt</FONT>
|
||||
<group_attribute>*
|
||||
<group_member>*
|
||||
}
|
||||
|
||||
<datatype> ::= <atomic_type> | <compound_type> | <variable_length_type> | <array_type>
|
||||
|
||||
@@ -272,10 +276,12 @@ This section contains a brief explanation of the symbols used in the DDL.
|
||||
<hardlink> ::= HARDLINK <path_name>
|
||||
|
||||
<group> ::= GROUP <group_name> { <hardlink> | <group_info> }
|
||||
|
||||
<group_comment> ::= COMMENT <string_data>
|
||||
|
||||
<group_name> ::= <identifier>
|
||||
|
||||
<group_info> ::= <group_attribute>* <group_member>*
|
||||
<group_info> ::= <object_id><FONT SIZE=1.7>opt</FONT> <group_comment><FONT SIZE=1.7>opt</FONT> <group_attribute>* <group_member>*
|
||||
|
||||
<group_attribute> ::= <attribute>
|
||||
|
||||
@@ -404,6 +410,7 @@ GROUP "/" {
|
||||
}
|
||||
}
|
||||
GROUP "group1" {
|
||||
COMMENT "This is a comment for group1";
|
||||
DATASET "dset3" {
|
||||
DATATYPE "/type1"
|
||||
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
||||
@@ -519,7 +526,7 @@ GROUP "/" {
|
||||
<a href="mailto:hdfhelp@ncsa.uiuc.edu">HDF Help Desk</a>
|
||||
</address>
|
||||
|
||||
Last modified: 11 December 2000
|
||||
Last modified: 05 January 2002
|
||||
|
||||
<br>
|
||||
Describes HDF5 Release 1.4.2, July 2001
|
||||
|
||||
Reference in New Issue
Block a user