mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[svn-r624] Removed <hardlink>.
Added <nlink>opt to <dataset> and <group>.
This commit is contained in:
parent
6d223fa00f
commit
d06b3afc6c
@ -31,8 +31,12 @@ of the some symbols used.
|
||||
|
||||
<boot_block_content> ::= TBD
|
||||
|
||||
<root_group> ::= group "/" { <group_attribute>* <group_member>* }
|
||||
// Attributes and members can be in any order.
|
||||
<root_group> ::= group "/" { <nlink><FONT SIZE=1.7>opt</FONT> <group_attribute>* <group_member>* }
|
||||
// nlink must appear before attributes and members.
|
||||
|
||||
<nlink><FONT SIZE=1.7>opt</FONT> ::= { nlink <no_of_hardlinks> }
|
||||
|
||||
<no_of_hardlinks> ::= an integer larger than 1
|
||||
|
||||
<group_attribute> ::= <attribute>
|
||||
|
||||
@ -57,7 +61,7 @@ of the some symbols used.
|
||||
<field_name> ::= <identifier>
|
||||
|
||||
<dataspace> ::= dataspace { "<dataspace_name>" } |
|
||||
dataspace { array <current_dims> <max_dims>} |
|
||||
dataspace { array <current_dims> <max_dims> } |
|
||||
dataspace { other <ds_definition>+ }
|
||||
|
||||
<dataspace_name> ::= <identifier>
|
||||
@ -70,19 +74,19 @@ of the some symbols used.
|
||||
|
||||
<data> ::= data {TBD}
|
||||
|
||||
<group_member> ::= <named_datatype> | <named_dataspace> | <group> | <dataset> | <link>
|
||||
<group_member> ::= <named_datatype> | <named_dataspace> | <group> | <dataset> | <softlink>
|
||||
|
||||
<named_datatype> ::= datatype "<datatype_name>" { <dt_definition>+ }
|
||||
|
||||
<named_dataspace> ::= dataspace "<dataspace_name>" {array <current_dims> <max_dims> } |
|
||||
dataspace "<dataspace_name>" { other <ds_definition>+ }
|
||||
<named_dataspace> ::= dataspace "<dataspace_name>" { array <current_dims> <max_dims> } |
|
||||
dataspace "<dataspace_name>" { other <ds_definition>+ }
|
||||
|
||||
<group> ::= group "<group_name>" { <group_attribute>* <group_member>* }
|
||||
// Attributes and members can be in any order.
|
||||
<group> ::= group "<group_name>" { <nlink><FONT SIZE=1.7>opt</FONT> <group_attribute>* <group_member>* }
|
||||
|
||||
<group_name> ::= <identifier>
|
||||
|
||||
<dataset> ::= dataset "<dataset_name>" { <datatype>
|
||||
<dataset> ::= dataset "<dataset_name>" { <nlink><FONT SIZE=1.7>opt</FONT>
|
||||
<datatype>
|
||||
<dataspace>
|
||||
<storagelayout><FONT SIZE=1.7>opt</FONT>
|
||||
<compression><FONT SIZE=1.7>opt</FONT>
|
||||
@ -90,6 +94,7 @@ of the some symbols used.
|
||||
<data><FONT SIZE=1.7>opt</FONT> }
|
||||
// Any order is ok as long as <data> and <dataset_attribute> are
|
||||
// after <datatype> and <dataspace>.
|
||||
// nlink must appear before others.
|
||||
|
||||
<dataset_name> ::= <identifier>
|
||||
|
||||
@ -118,18 +123,12 @@ of the some symbols used.
|
||||
|
||||
<dataset_attribute> ::= <attribute>
|
||||
|
||||
<link> ::= <hardlink> | <softlink>
|
||||
|
||||
<hardlink> ::= hardlink "<hardlink_name>" { linktarget "<target>" }
|
||||
|
||||
<hardlink_name> ::= <identifier>
|
||||
|
||||
<target> ::= <identifier>
|
||||
|
||||
<softlink> ::= softlink "<softlink_name>" { linktarget "<target>" }
|
||||
|
||||
<softlink_name> ::= <identifier>
|
||||
|
||||
<target> ::= <identifier>
|
||||
|
||||
<identifier> ::= string
|
||||
// character "/" should be used with care.
|
||||
// <dataset_name> cannot contain "/", for example.
|
||||
|
Loading…
Reference in New Issue
Block a user