mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[svn-r2969] Purpose:
Addtion Description: Added variable length datatypes to the DDL and put an example in the "example" thingy at the bottom. Doo dah doo dah. Platforms tested: w3m
This commit is contained in:
parent
d3fb3fe742
commit
3a224ff8bc
@ -87,11 +87,13 @@ This section contains a brief explanation of the symbols used in the DDL.
|
||||
|
||||
<root_group> ::= GROUP "/" { <unamed_datatype>* <object_id><FONT SIZE=1.7>opt</FONT> <group_attribute>* <group_member>* }
|
||||
|
||||
<unamed_datatype> ::= DATATYPE <unamed_type_name> { <compound_type> }
|
||||
<unamed_datatype> ::= DATATYPE <unamed_type_name> { <compound_type> }
|
||||
|
||||
<unamed_type_name> ::= the assigned name for unamed type is in the form of
|
||||
#oid1:oid2, where oid1 and oid2 are the object ids of the type
|
||||
|
||||
<variable_length_type> ::= H5T_VLEN of <atomic_type>
|
||||
|
||||
<compound_type> ::= <member_type_def>+
|
||||
|
||||
<member_type_def> ::= <scalar_type_def> | <array_type_def>
|
||||
@ -102,12 +104,12 @@ This section contains a brief explanation of the symbols used in the DDL.
|
||||
<reference> | <enum>
|
||||
|
||||
<integer> ::= H5T_STD_I8BE | H5T_STD_I8LE | H5T_STD_I16BE | H5T_STD_I16LE | H5T_STD_I32BE |
|
||||
H5T_STD_I32LE | H5T_STD_I64BE | H5T_STD_I64LE | H5T_STD_U8BE |
|
||||
H5T_STD_U8LE | H5T_STD_U16BE | H5T_STD_U16LE | H5T_STD_U32BE |
|
||||
H5T_STD_U32LE | H5T_STD_U64BE | H5T_STD_U64LE | H5T_NATIVE_CHAR |
|
||||
H5T_NATIVE_UCHAR | H5T_NATIVE_SHORT | H5T_NATIVE_USHORT |
|
||||
H5T_NATIVE_INT | H5T_NATIVE_UINT | H5T_NATIVE_LONG | H5T_NATIVE_ULONG |
|
||||
H5T_NATIVE_LLONG | H5T_NATIVE_ULLONG
|
||||
H5T_STD_I32LE | H5T_STD_I64BE | H5T_STD_I64LE | H5T_STD_U8BE |
|
||||
H5T_STD_U8LE | H5T_STD_U16BE | H5T_STD_U16LE | H5T_STD_U32BE |
|
||||
H5T_STD_U32LE | H5T_STD_U64BE | H5T_STD_U64LE | H5T_NATIVE_CHAR |
|
||||
H5T_NATIVE_UCHAR | H5T_NATIVE_SHORT | H5T_NATIVE_USHORT |
|
||||
H5T_NATIVE_INT | H5T_NATIVE_UINT | H5T_NATIVE_LONG | H5T_NATIVE_ULONG |
|
||||
H5T_NATIVE_LLONG | H5T_NATIVE_ULLONG
|
||||
|
||||
<float> ::= H5T_IEEE_F32BE | H5T_IEEE_F32LE | H5T_IEEE_F64BE | H5T_IEEE_F64LE |
|
||||
H5T_NATIVE_FLOAT | H5T_NATIVE_DOUBLE | H5T_NATIVE_LDOUBLE
|
||||
@ -141,7 +143,7 @@ This section contains a brief explanation of the symbols used in the DDL.
|
||||
|
||||
<group_attribute> ::= <attribute>
|
||||
|
||||
<attribute> ::= ATTRIBUTE <attr_name> { <datatype>
|
||||
<attribute> ::= ATTRIBUTE <attr_name> { <datatype>
|
||||
<dataspace>
|
||||
<object_id><FONT SIZE=1.7>opt</FONT>
|
||||
<data><FONT SIZE=1.7>opt</FONT> }
|
||||
@ -151,6 +153,7 @@ This section contains a brief explanation of the symbols used in the DDL.
|
||||
|
||||
<datatype> ::= DATATYPE { <atomic_type> } |
|
||||
DATATYPE { <compound_type> } |
|
||||
DATATYPE { <variable_length_type> } |
|
||||
DATATYPE { <named_type> }
|
||||
|
||||
<enum> ::= H5T_ENUM { <integer>; <enum_def>+ }
|
||||
@ -167,8 +170,8 @@ This section contains a brief explanation of the symbols used in the DDL.
|
||||
|
||||
<dataspace> ::= DATASPACE { SCALAR } |
|
||||
DATASPACE { SIMPLE <current_dims> / <max_dims> } |
|
||||
DATASPACE { COMPLEX <ds_definition>+ }
|
||||
DATASPACE { <dataspace_name> } |
|
||||
DATASPACE { COMPLEX <ds_definition>+ } |
|
||||
DATASPACE { <dataspace_name> }
|
||||
|
||||
<current_dims> ::= (<i>i<FONT SIZE=1.0>1</i></FONT>, <i>i<FONT SIZE=1.0>2</i></FONT>, ... ), where <i>i<FONT SIZE=1.0>k</i></FONT> is an integer, <i>k</i> = 1,2,...
|
||||
|
||||
@ -178,7 +181,10 @@ This section contains a brief explanation of the symbols used in the DDL.
|
||||
|
||||
<dataspace_name> ::= <identifier>
|
||||
|
||||
<data> ::= DATA { <scalar_space_data> | <simple_space_data> | <complex_space_data> }
|
||||
<data> ::= DATA { <scalar_space_data> |
|
||||
<simple_space_data> |
|
||||
<complex_space_data> |
|
||||
<variable_length_space_data> }
|
||||
|
||||
<scalar_space_data> ::= <atomic_scalar_data> | <compound_scalar_data>
|
||||
|
||||
@ -229,12 +235,14 @@ This section contains a brief explanation of the symbols used in the DDL.
|
||||
|
||||
<member_data> ::= <atomic_scalar_data> | <atomic_simple_data>
|
||||
|
||||
<atomic_simple_data> :: = <atomic_element>, <atomic_element>, ...
|
||||
<atomic_simple_data> :: = <atomic_element>, <atomic_simple_data> | <atomic_element>
|
||||
|
||||
<atomic_element> ::= <atomic_scalar_data>
|
||||
|
||||
<simple_space_data> :: = <atomic_simple_data> | <compound_simple_data>
|
||||
|
||||
<variable_length_space_data> ::= <atomic_simple_data>
|
||||
|
||||
<compound_simple_data> ::= <compoud_element>, <compound_element>, ...
|
||||
|
||||
<compound_element> ::= <compound_scalar_data>
|
||||
@ -428,6 +436,16 @@ GROUP "/" {
|
||||
}
|
||||
}
|
||||
}
|
||||
DATASET "dset3" {
|
||||
DATATYPE { H5T_VLEN of H5T_STD_I32LE }
|
||||
DATASPACE { SIMPLE ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
0
|
||||
10, 11
|
||||
20, 21, 22
|
||||
30, 31, 32, 33
|
||||
}
|
||||
}
|
||||
GROUP "group2" {
|
||||
HARDLINK "/group1"
|
||||
}
|
||||
@ -492,7 +510,7 @@ GROUP "/" {
|
||||
<a href="mailto:hdfhelp@ncsa.uiuc.edu">HDF Help Desk</a>
|
||||
</address>
|
||||
|
||||
Last modified: 09 October 2000
|
||||
Last modified: 17 November 2000
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user