From 12d679104c256599bca8146c027831f3181b3f91 Mon Sep 17 00:00:00 2001 From: Ruey-Hsia Li Date: Tue, 9 Feb 1999 13:07:59 -0500 Subject: [svn-r1060] Updated the example in ddl.html and supported features in Tools.html. --- doc/html/Tools.html | 37 +++++++++++++---------- doc/html/ddl.html | 86 +++++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 93 insertions(+), 30 deletions(-) diff --git a/doc/html/Tools.html b/doc/html/Tools.html index fc54123..33ab227 100644 --- a/doc/html/Tools.html +++ b/doc/html/Tools.html @@ -152,34 +152,41 @@ These tools enable the user to examine HDF5 files interactively. -
The to do list includes: -
See Also:
HDF5 Data Description Language syntax diff --git a/doc/html/ddl.html b/doc/html/ddl.html index 99aa1ff..2b248e8 100644 --- a/doc/html/ddl.html +++ b/doc/html/ddl.html @@ -116,7 +116,7 @@ This section contains a brief explanation of the symbols used in the DDL. <atomic_type> ::= <integer> | <float> | <time> | <string> | <bitfield> | <opaque> -<integer> ::= H5T_STD_I8LE | H5T_STD_I16BE | H5T_STD_I16LE | H5T_STD_I32BE | +<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 | @@ -187,7 +187,8 @@ This section contains a brief explanation of the symbols used in the DDL. <scalar_space_data> ::= <atomic_scalar_data> | <compound_scalar_data> <atomic_scalar_data> :: = the value of data -// A string is enclosed in double quotes. +// A string is enclosed in double quotes. +// If a string is displayed on more than one line, string concatenate operator '//' is used. <compound_scalar_data> ::= { [ <member_data> ], [ <member_data> ], ... } @@ -287,7 +288,7 @@ GROUP "/" { } DATASPACE { SCALAR } DATA { - "string attribute\000" + "string attribute" } } DATASET "dset1" { @@ -314,11 +315,31 @@ GROUP "/" { } DATASPACE { SIMPLE ( 5 ) / ( 5 ) } DATA { - {[1], [0.1], [0.001]}, - {[2], [0.2], [0.002]}, - {[3], [0.3], [0.003]}, - {[4], [0.4], [0.004]}, - {[5], [0.5], [0.005]} + { + [ 1 ], + [ 0.1 ], + [ 0.01 ] + }, + { + [ 2 ], + [ 0.2 ], + [ 0.02 ] + }, + { + [ 3 ], + [ 0.3 ], + [ 0.03 ] + }, + { + [ 4 ], + [ 0.4 ], + [ 0.04 ] + }, + { + [ 5 ], + [ 0.5 ], + [ 0.05 ] + } } } GROUP "group1" { @@ -328,11 +349,46 @@ GROUP "/" { } DATASPACE { SIMPLE ( 5 ) / ( 5 ) } DATA { - {[100, 100], [0.1]}, - {[200, 200], [0.2]}, - {[300, 300], [0.3]}, - {[400, 400], [0.4]}, - {[500, 500], [0.5]} + { + [ 0, 1, 2, 3 ], + [ 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, + 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, + 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, + 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, + 0.5, 0.5, 0.5, 0.5, 0.5, 0.5 ] + }, + { + [ 0, 1, 2, 3 ], + [ 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, + 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, + 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, + 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, + 0.5, 0.5, 0.5, 0.5, 0.5, 0.5 ] + }, + { + [ 0, 1, 2, 3 ], + [ 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, + 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, + 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, + 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, + 0.5, 0.5, 0.5, 0.5, 0.5, 0.5 ] + }, + { + [ 0, 1, 2, 3 ], + [ 0.1, 0.1, 0.1,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