From 3a224ff8bc7ea5b06b0c14f188688beb4068a357 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 17 Nov 2000 13:49:58 -0500 Subject: [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 --- doc/html/ddl.html | 44 +++++++++++++++++++++++++++++++------------- 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/doc/html/ddl.html b/doc/html/ddl.html index e854fa4..797a30b 100644 --- a/doc/html/ddl.html +++ b/doc/html/ddl.html @@ -87,11 +87,13 @@ This section contains a brief explanation of the symbols used in the DDL. <root_group> ::= GROUP "/" { <unamed_datatype>* <object_id>opt <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>opt <data>opt } @@ -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> ::= (i1, i2, ... ), where ik is an integer, k = 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 "/" { HDF Help Desk -Last modified: 09 October 2000 +Last modified: 17 November 2000 -- cgit v0.12