summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRuey-Hsia Li <rli@ncsa.uiuc.edu>1999-01-06 20:57:54 (GMT)
committerRuey-Hsia Li <rli@ncsa.uiuc.edu>1999-01-06 20:57:54 (GMT)
commitf4ebcffc65bcbdaf6ef36424d801c44327ceaade (patch)
treea195ec0c11483cf28e12fac68527f3ca34513e3b /doc
parent2aefbf76034212e2be23d4542262a5b9d88181db (diff)
downloadhdf5-f4ebcffc65bcbdaf6ef36424d801c44327ceaade.zip
hdf5-f4ebcffc65bcbdaf6ef36424d801c44327ceaade.tar.gz
hdf5-f4ebcffc65bcbdaf6ef36424d801c44327ceaade.tar.bz2
[svn-r1005] Reflected the changes in ddl to the example.
Diffstat (limited to 'doc')
-rw-r--r--doc/html/ddl.html65
1 files changed, 53 insertions, 12 deletions
diff --git a/doc/html/ddl.html b/doc/html/ddl.html
index 0c57ef2..99aa1ff 100644
--- a/doc/html/ddl.html
+++ b/doc/html/ddl.html
@@ -277,33 +277,74 @@ This section contains a brief explanation of the symbols used in the DDL.
<PRE>
HDF5 "example.h5" {
GROUP "/" {
+ ATTRIBUTE "attr1" {
+ DATATYPE {
+ { STRSIZE 17;
+ STRPAD H5T_STR_NULLTERM;
+ CSET H5T_CSET_ASCII;
+ CTYPE H5T_C_S1;
+ }
+ }
+ DATASPACE { SCALAR }
+ DATA {
+ "string attribute\000"
+ }
+ }
DATASET "dset1" {
+ DATATYPE { H5T_STD_I32BE }
+ DATASPACE { SIMPLE ( 10, 10 ) / ( 10, 10 ) }
+ DATA {
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
+ }
+ }
+ DATASET "dset2" {
DATATYPE {
- H5T_STD_I32BE int_name;
- H5T_IEEE_F32BE float_name;
- H5T_IEEE_F64BE double_name;
+ H5T_STD_I32BE "a";
+ H5T_IEEE_F32BE "b";
+ H5T_IEEE_F64BE "c";
+ }
+ 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]}
}
- DATASPACE { ARRAY ( 5 ) ( 5 ) }
- DATA {{0,0,1}, {1,1,0.5}, {2,4,0.333333}, {3,9,0.25}, {4,16,0.2}}
}
GROUP "group1" {
- DATASET "dset2" {
+ DATASET "dset3" {
DATATYPE {
- HARDLINK { "/type1" }
+ "/type1"
+ }
+ 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]}
}
- DATASPACE { ARRAY ( 5 ) ( 5 ) }
- DATA {{0,0}, {1,1.1}, {2,2.2}, {3,3.3}, {4,4.4}}
}
}
GROUP "group2" {
- HARDLINK { "/group1" }
+ HARDLINK "/group1"
}
SOFTLINK "slink1" {
LINKTARGET "somevalue"
}
DATATYPE "type1" {
- H5T_STD_I32BE int_name;
- H5T_IEEE_F32BE float_name;
+ H5T_STD_I32BE "a"[2];
+ H5T_IEEE_F32BE "b";
}
}
}