diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-12-19 14:55:54 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-12-19 14:55:54 (GMT) |
commit | d4946be1f210ec189296c7e10167f2deffca87fc (patch) | |
tree | 633c6b8fc0df5e6c4e93498e642e5f755bb0a369 /tools/testfiles | |
parent | 43ec5b7ef4df2d72bcde2da9366d55383b8f40e8 (diff) | |
download | hdf5-d4946be1f210ec189296c7e10167f2deffca87fc.zip hdf5-d4946be1f210ec189296c7e10167f2deffca87fc.tar.gz hdf5-d4946be1f210ec189296c7e10167f2deffca87fc.tar.bz2 |
[svn-r13075] Description:
Fix display order of attributes.
Tested on:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'tools/testfiles')
-rw-r--r-- | tools/testfiles/h5diff_70.txt | 1362 | ||||
-rw-r--r-- | tools/testfiles/tattr2.ls | 560 | ||||
-rw-r--r-- | tools/testfiles/tref-escapes-at.h5.xml | 20 | ||||
-rw-r--r-- | tools/testfiles/treference.ddl | 1392 |
4 files changed, 1667 insertions, 1667 deletions
diff --git a/tools/testfiles/h5diff_70.txt b/tools/testfiles/h5diff_70.txt index 97b74a2..eda66ac 100644 --- a/tools/testfiles/h5diff_70.txt +++ b/tools/testfiles/h5diff_70.txt @@ -12,53 +12,6 @@ Dataset: </dset> and </dset> 0 differences found Group: </g1> and </g1> 0 differences found -Attribute: <string of </g1>> and <string of </g1>> -size [2] -position string of </g1> string of </g1> difference ------------------------------------------------------------- -[ 0 ] a z -[ 0 ] b z -[ 1 ] d z -[ 1 ] e z -4 differences found -Attribute: <bitfield of </g1>> and <bitfield of </g1>> -size [2] -position bitfield of </g1> bitfield of </g1> difference ------------------------------------------------------------- -[ 0 ] 1 0 1 -[ 1 ] 2 0 2 -2 differences found -Attribute: <opaque of </g1>> and <opaque of </g1>> -size [2] -position opaque of </g1> opaque of </g1> difference ------------------------------------------------------------- -[ 0 ] 1 0 1 -[ 1 ] 2 0 2 -2 differences found -Attribute: <compound of </g1>> and <compound of </g1>> -size [2] -position compound of </g1> compound of </g1> difference ------------------------------------------------------------- -[ 0 ] 1 0 1 -[ 0 ] 2 0 2 -[ 1 ] 3 0 3 -[ 1 ] 4 0 4 -4 differences found -Attribute: <enum of </g1>> and <enum of </g1>> -size [2] -position enum of </g1> enum of </g1> difference ------------------------------------------------------------- -[ 0 ] RED GREEN -[ 1 ] RED GREEN -2 differences found -Attribute: <vlen of </g1>> and <vlen of </g1>> -size [2] -position vlen of </g1> vlen of </g1> difference ------------------------------------------------------------- -[ 0 ] 1 0 1 -[ 1 ] 2 0 2 -[ 1 ] 3 0 3 -3 differences found Attribute: <array of </g1>> and <array of </g1>> size [2] position array of </g1> array of </g1> difference @@ -70,103 +23,6 @@ position array of </g1> array of </g1> difference [ 1 ] 5 0 5 [ 1 ] 6 0 6 6 differences found -Attribute: <integer of </g1>> and <integer of </g1>> -size [2] -position integer of </g1> integer of </g1> difference ------------------------------------------------------------- -[ 0 ] 1 0 1 -[ 1 ] 2 0 2 -2 differences found -Attribute: <float of </g1>> and <float of </g1>> -size [2] -position float of </g1> float of </g1> difference ------------------------------------------------------------- -[ 0 ] 1 0 1 -[ 1 ] 2 0 2 -2 differences found -Attribute: <string2D of </g1>> and <string2D of </g1>> -size [3x2] -position string2D of </g1> string2D of </g1> difference ------------------------------------------------------------- -[ 0 0 ] a z -[ 0 0 ] b z -[ 0 1 ] c z -[ 0 1 ] d z -[ 1 0 ] e z -[ 1 0 ] f z -[ 1 1 ] g z -[ 1 1 ] h z -[ 2 0 ] i z -[ 2 0 ] j z -[ 2 1 ] k z -[ 2 1 ] l z -12 differences found -Attribute: <bitfield2D of </g1>> and <bitfield2D of </g1>> -size [3x2] -position bitfield2D of </g1> bitfield2D of </g1> difference ------------------------------------------------------------- -[ 0 0 ] 1 0 1 -[ 0 1 ] 2 0 2 -[ 1 0 ] 3 0 3 -[ 1 1 ] 4 0 4 -[ 2 0 ] 5 0 5 -[ 2 1 ] 6 0 6 -6 differences found -Attribute: <opaque2D of </g1>> and <opaque2D of </g1>> -size [3x2] -position opaque2D of </g1> opaque2D of </g1> difference ------------------------------------------------------------- -[ 0 0 ] 1 0 1 -[ 0 1 ] 2 0 2 -[ 1 0 ] 3 0 3 -[ 1 1 ] 4 0 4 -[ 2 0 ] 5 0 5 -[ 2 1 ] 6 0 6 -6 differences found -Attribute: <compound2D of </g1>> and <compound2D of </g1>> -size [3x2] -position compound2D of </g1> compound2D of </g1> difference ------------------------------------------------------------- -[ 0 0 ] 1 0 1 -[ 0 0 ] 2 0 2 -[ 0 1 ] 3 0 3 -[ 0 1 ] 4 0 4 -[ 1 0 ] 5 0 5 -[ 1 0 ] 6 0 6 -[ 1 1 ] 7 0 7 -[ 1 1 ] 8 0 8 -[ 2 0 ] 9 0 9 -[ 2 0 ] 10 0 10 -[ 2 1 ] 11 0 11 -[ 2 1 ] 12 0 12 -12 differences found -Attribute: <enum2D of </g1>> and <enum2D of </g1>> -size [3x2] -position enum2D of </g1> enum2D of </g1> difference ------------------------------------------------------------- -[ 0 0 ] RED GREEN -[ 0 1 ] RED GREEN -[ 1 0 ] RED GREEN -[ 1 1 ] RED GREEN -[ 2 0 ] RED GREEN -[ 2 1 ] RED GREEN -6 differences found -Attribute: <vlen2D of </g1>> and <vlen2D of </g1>> -size [3x2] -position vlen2D of </g1> vlen2D of </g1> difference ------------------------------------------------------------- -[ 0 1 ] 1 0 1 -[ 1 0 ] 2 0 2 -[ 1 0 ] 3 0 3 -[ 1 1 ] 4 0 4 -[ 1 1 ] 5 0 5 -[ 2 0 ] 6 0 6 -[ 2 0 ] 7 0 7 -[ 2 0 ] 8 0 8 -[ 2 1 ] 9 0 9 -[ 2 1 ] 10 0 10 -[ 2 1 ] 11 0 11 -11 differences found Attribute: <array2D of </g1>> and <array2D of </g1>> size [3x2] position array2D of </g1> array2D of </g1> difference @@ -190,20 +46,93 @@ position array2D of </g1> array2D of </g1> difference [ 2 1 ] 17 0 17 [ 2 1 ] 18 0 18 18 differences found -Attribute: <integer2D of </g1>> and <integer2D of </g1>> -size [3x2] -position integer2D of </g1> integer2D of </g1> difference +Attribute: <array3D of </g1>> and <array3D of </g1>> +size [4x3x2] +position array3D of </g1> array3D of </g1> difference ------------------------------------------------------------ -[ 0 0 ] 1 0 1 -[ 0 1 ] 2 0 2 -[ 1 0 ] 3 0 3 -[ 1 1 ] 4 0 4 -[ 2 0 ] 5 0 5 -[ 2 1 ] 6 0 6 -6 differences found -Attribute: <float2D of </g1>> and <float2D of </g1>> +[ 0 0 0 ] 1 0 1 +[ 0 0 0 ] 2 0 2 +[ 0 0 0 ] 3 0 3 +[ 0 0 1 ] 4 0 4 +[ 0 0 1 ] 5 0 5 +[ 0 0 1 ] 6 0 6 +[ 0 1 0 ] 7 0 7 +[ 0 1 0 ] 8 0 8 +[ 0 1 0 ] 9 0 9 +[ 0 1 1 ] 10 0 10 +[ 0 1 1 ] 11 0 11 +[ 0 1 1 ] 12 0 12 +[ 0 2 0 ] 13 0 13 +[ 0 2 0 ] 14 0 14 +[ 0 2 0 ] 15 0 15 +[ 0 2 1 ] 16 0 16 +[ 0 2 1 ] 17 0 17 +[ 0 2 1 ] 18 0 18 +[ 1 0 0 ] 19 0 19 +[ 1 0 0 ] 20 0 20 +[ 1 0 0 ] 21 0 21 +[ 1 0 1 ] 22 0 22 +[ 1 0 1 ] 23 0 23 +[ 1 0 1 ] 24 0 24 +[ 1 1 0 ] 25 0 25 +[ 1 1 0 ] 26 0 26 +[ 1 1 0 ] 27 0 27 +[ 1 1 1 ] 28 0 28 +[ 1 1 1 ] 29 0 29 +[ 1 1 1 ] 30 0 30 +[ 1 2 0 ] 31 0 31 +[ 1 2 0 ] 32 0 32 +[ 1 2 0 ] 33 0 33 +[ 1 2 1 ] 34 0 34 +[ 1 2 1 ] 35 0 35 +[ 1 2 1 ] 36 0 36 +[ 2 0 0 ] 37 0 37 +[ 2 0 0 ] 38 0 38 +[ 2 0 0 ] 39 0 39 +[ 2 0 1 ] 40 0 40 +[ 2 0 1 ] 41 0 41 +[ 2 0 1 ] 42 0 42 +[ 2 1 0 ] 43 0 43 +[ 2 1 0 ] 44 0 44 +[ 2 1 0 ] 45 0 45 +[ 2 1 1 ] 46 0 46 +[ 2 1 1 ] 47 0 47 +[ 2 1 1 ] 48 0 48 +[ 2 2 0 ] 49 0 49 +[ 2 2 0 ] 50 0 50 +[ 2 2 0 ] 51 0 51 +[ 2 2 1 ] 52 0 52 +[ 2 2 1 ] 53 0 53 +[ 2 2 1 ] 54 0 54 +[ 3 0 0 ] 55 0 55 +[ 3 0 0 ] 56 0 56 +[ 3 0 0 ] 57 0 57 +[ 3 0 1 ] 58 0 58 +[ 3 0 1 ] 59 0 59 +[ 3 0 1 ] 60 0 60 +[ 3 1 0 ] 61 0 61 +[ 3 1 0 ] 62 0 62 +[ 3 1 0 ] 63 0 63 +[ 3 1 1 ] 64 0 64 +[ 3 1 1 ] 65 0 65 +[ 3 1 1 ] 66 0 66 +[ 3 2 0 ] 67 0 67 +[ 3 2 0 ] 68 0 68 +[ 3 2 0 ] 69 0 69 +[ 3 2 1 ] 70 0 70 +[ 3 2 1 ] 71 0 71 +[ 3 2 1 ] 72 0 72 +72 differences found +Attribute: <bitfield of </g1>> and <bitfield of </g1>> +size [2] +position bitfield of </g1> bitfield of </g1> difference +------------------------------------------------------------ +[ 0 ] 1 0 1 +[ 1 ] 2 0 2 +2 differences found +Attribute: <bitfield2D of </g1>> and <bitfield2D of </g1>> size [3x2] -position float2D of </g1> float2D of </g1> difference +position bitfield2D of </g1> bitfield2D of </g1> difference ------------------------------------------------------------ [ 0 0 ] 1 0 1 [ 0 1 ] 2 0 2 @@ -212,58 +141,6 @@ position float2D of </g1> float2D of </g1> difference [ 2 0 ] 5 0 5 [ 2 1 ] 6 0 6 6 differences found -Attribute: <string3D of </g1>> and <string3D of </g1>> -size [4x3x2] -position string3D of </g1> string3D of </g1> difference ------------------------------------------------------------- -[ 0 0 0 ] a z -[ 0 0 0 ] b z -[ 0 0 1 ] c z -[ 0 0 1 ] d z -[ 0 1 0 ] e z -[ 0 1 0 ] f z -[ 0 1 1 ] g z -[ 0 1 1 ] h z -[ 0 2 0 ] i z -[ 0 2 0 ] j z -[ 0 2 1 ] k z -[ 0 2 1 ] l z -[ 1 0 0 ] m z -[ 1 0 0 ] n z -[ 1 0 1 ] p z -[ 1 0 1 ] q z -[ 1 1 0 ] r z -[ 1 1 0 ] s z -[ 1 1 1 ] t z -[ 1 1 1 ] u z -[ 1 2 0 ] v z -[ 1 2 0 ] w z -[ 1 2 1 ] x z -[ 2 0 0 ] A z -[ 2 0 0 ] B z -[ 2 0 1 ] C z -[ 2 0 1 ] D z -[ 2 1 0 ] E z -[ 2 1 0 ] F z -[ 2 1 1 ] G z -[ 2 1 1 ] H z -[ 2 2 0 ] I z -[ 2 2 0 ] J z -[ 2 2 1 ] K z -[ 2 2 1 ] L z -[ 3 0 0 ] M z -[ 3 0 0 ] N z -[ 3 0 1 ] P z -[ 3 0 1 ] Q z -[ 3 1 0 ] R z -[ 3 1 0 ] S z -[ 3 1 1 ] T z -[ 3 1 1 ] U z -[ 3 2 0 ] V z -[ 3 2 0 ] W z -[ 3 2 1 ] X z -[ 3 2 1 ] Z z -47 differences found Attribute: <bitfield3D of </g1>> and <bitfield3D of </g1>> size [4x3x2] position bitfield3D of </g1> bitfield3D of </g1> difference @@ -293,35 +170,32 @@ position bitfield3D of </g1> bitfield3D of </g1> difference [ 3 2 0 ] 23 0 23 [ 3 2 1 ] 24 0 24 24 differences found -Attribute: <opaque3D of </g1>> and <opaque3D of </g1>> -size [4x3x2] -position opaque3D of </g1> opaque3D of </g1> difference +Attribute: <compound of </g1>> and <compound of </g1>> +size [2] +position compound of </g1> compound of </g1> difference ------------------------------------------------------------ -[ 0 0 0 ] 1 0 1 -[ 0 0 1 ] 2 0 2 -[ 0 1 0 ] 3 0 3 -[ 0 1 1 ] 4 0 4 -[ 0 2 0 ] 5 0 5 -[ 0 2 1 ] 6 0 6 -[ 1 0 0 ] 7 0 7 -[ 1 0 1 ] 8 0 8 -[ 1 1 0 ] 9 0 9 -[ 1 1 1 ] 10 0 10 -[ 1 2 0 ] 11 0 11 -[ 1 2 1 ] 12 0 12 -[ 2 0 0 ] 13 0 13 -[ 2 0 1 ] 14 0 14 -[ 2 1 0 ] 15 0 15 -[ 2 1 1 ] 16 0 16 -[ 2 2 0 ] 17 0 17 -[ 2 2 1 ] 18 0 18 -[ 3 0 0 ] 19 0 19 -[ 3 0 1 ] 20 0 20 -[ 3 1 0 ] 21 0 21 -[ 3 1 1 ] 22 0 22 -[ 3 2 0 ] 23 0 23 -[ 3 2 1 ] 24 0 24 -24 differences found +[ 0 ] 1 0 1 +[ 0 ] 2 0 2 +[ 1 ] 3 0 3 +[ 1 ] 4 0 4 +4 differences found +Attribute: <compound2D of </g1>> and <compound2D of </g1>> +size [3x2] +position compound2D of </g1> compound2D of </g1> difference +------------------------------------------------------------ +[ 0 0 ] 1 0 1 +[ 0 0 ] 2 0 2 +[ 0 1 ] 3 0 3 +[ 0 1 ] 4 0 4 +[ 1 0 ] 5 0 5 +[ 1 0 ] 6 0 6 +[ 1 1 ] 7 0 7 +[ 1 1 ] 8 0 8 +[ 2 0 ] 9 0 9 +[ 2 0 ] 10 0 10 +[ 2 1 ] 11 0 11 +[ 2 1 ] 12 0 12 +12 differences found Attribute: <compound3D of </g1>> and <compound3D of </g1>> size [4x3x2] position compound3D of </g1> compound3D of </g1> difference @@ -375,6 +249,24 @@ position compound3D of </g1> compound3D of </g1> difference [ 3 2 1 ] 47 0 47 [ 3 2 1 ] 48 0 48 48 differences found +Attribute: <enum of </g1>> and <enum of </g1>> +size [2] +position enum of </g1> enum of </g1> difference +------------------------------------------------------------ +[ 0 ] RED GREEN +[ 1 ] RED GREEN +2 differences found +Attribute: <enum2D of </g1>> and <enum2D of </g1>> +size [3x2] +position enum2D of </g1> enum2D of </g1> difference +------------------------------------------------------------ +[ 0 0 ] RED GREEN +[ 0 1 ] RED GREEN +[ 1 0 ] RED GREEN +[ 1 1 ] RED GREEN +[ 2 0 ] RED GREEN +[ 2 1 ] RED GREEN +6 differences found Attribute: <enum3D of </g1>> and <enum3D of </g1>> size [4x3x2] position enum3D of </g1> enum3D of </g1> difference @@ -404,6 +296,249 @@ position enum3D of </g1> enum3D of </g1> difference [ 3 2 0 ] GREEN RED [ 3 2 1 ] GREEN RED 24 differences found +Attribute: <float of </g1>> and <float of </g1>> +size [2] +position float of </g1> float of </g1> difference +------------------------------------------------------------ +[ 0 ] 1 0 1 +[ 1 ] 2 0 2 +2 differences found +Attribute: <float2D of </g1>> and <float2D of </g1>> +size [3x2] +position float2D of </g1> float2D of </g1> difference +------------------------------------------------------------ +[ 0 0 ] 1 0 1 +[ 0 1 ] 2 0 2 +[ 1 0 ] 3 0 3 +[ 1 1 ] 4 0 4 +[ 2 0 ] 5 0 5 +[ 2 1 ] 6 0 6 +6 differences found +Attribute: <float3D of </g1>> and <float3D of </g1>> +size [4x3x2] +position float3D of </g1> float3D of </g1> difference +------------------------------------------------------------ +[ 0 0 0 ] 1 0 1 +[ 0 0 1 ] 2 0 2 +[ 0 1 0 ] 3 0 3 +[ 0 1 1 ] 4 0 4 +[ 0 2 0 ] 5 0 5 +[ 0 2 1 ] 6 0 6 +[ 1 0 0 ] 7 0 7 +[ 1 0 1 ] 8 0 8 +[ 1 1 0 ] 9 0 9 +[ 1 1 1 ] 10 0 10 +[ 1 2 0 ] 11 0 11 +[ 1 2 1 ] 12 0 12 +[ 2 0 0 ] 13 0 13 +[ 2 0 1 ] 14 0 14 +[ 2 1 0 ] 15 0 15 +[ 2 1 1 ] 16 0 16 +[ 2 2 0 ] 17 0 17 +[ 2 2 1 ] 18 0 18 +[ 3 0 0 ] 19 0 19 +[ 3 0 1 ] 20 0 20 +[ 3 1 0 ] 21 0 21 +[ 3 1 1 ] 22 0 22 +[ 3 2 0 ] 23 0 23 +[ 3 2 1 ] 24 0 24 +24 differences found +Attribute: <integer of </g1>> and <integer of </g1>> +size [2] +position integer of </g1> integer of </g1> difference +------------------------------------------------------------ +[ 0 ] 1 0 1 +[ 1 ] 2 0 2 +2 differences found +Attribute: <integer2D of </g1>> and <integer2D of </g1>> +size [3x2] +position integer2D of </g1> integer2D of </g1> difference +------------------------------------------------------------ +[ 0 0 ] 1 0 1 +[ 0 1 ] 2 0 2 +[ 1 0 ] 3 0 3 +[ 1 1 ] 4 0 4 +[ 2 0 ] 5 0 5 +[ 2 1 ] 6 0 6 +6 differences found +Attribute: <integer3D of </g1>> and <integer3D of </g1>> +size [4x3x2] +position integer3D of </g1> integer3D of </g1> difference +------------------------------------------------------------ +[ 0 0 0 ] 1 0 1 +[ 0 0 1 ] 2 0 2 +[ 0 1 0 ] 3 0 3 +[ 0 1 1 ] 4 0 4 +[ 0 2 0 ] 5 0 5 +[ 0 2 1 ] 6 0 6 +[ 1 0 0 ] 7 0 7 +[ 1 0 1 ] 8 0 8 +[ 1 1 0 ] 9 0 9 +[ 1 1 1 ] 10 0 10 +[ 1 2 0 ] 11 0 11 +[ 1 2 1 ] 12 0 12 +[ 2 0 0 ] 13 0 13 +[ 2 0 1 ] 14 0 14 +[ 2 1 0 ] 15 0 15 +[ 2 1 1 ] 16 0 16 +[ 2 2 0 ] 17 0 17 +[ 2 2 1 ] 18 0 18 +[ 3 0 0 ] 19 0 19 +[ 3 0 1 ] 20 0 20 +[ 3 1 0 ] 21 0 21 +[ 3 1 1 ] 22 0 22 +[ 3 2 0 ] 23 0 23 +[ 3 2 1 ] 24 0 24 +24 differences found +Attribute: <opaque of </g1>> and <opaque of </g1>> +size [2] +position opaque of </g1> opaque of </g1> difference +------------------------------------------------------------ +[ 0 ] 1 0 1 +[ 1 ] 2 0 2 +2 differences found +Attribute: <opaque2D of </g1>> and <opaque2D of </g1>> +size [3x2] +position opaque2D of </g1> opaque2D of </g1> difference +------------------------------------------------------------ +[ 0 0 ] 1 0 1 +[ 0 1 ] 2 0 2 +[ 1 0 ] 3 0 3 +[ 1 1 ] 4 0 4 +[ 2 0 ] 5 0 5 +[ 2 1 ] 6 0 6 +6 differences found +Attribute: <opaque3D of </g1>> and <opaque3D of </g1>> +size [4x3x2] +position opaque3D of </g1> opaque3D of </g1> difference +------------------------------------------------------------ +[ 0 0 0 ] 1 0 1 +[ 0 0 1 ] 2 0 2 +[ 0 1 0 ] 3 0 3 +[ 0 1 1 ] 4 0 4 +[ 0 2 0 ] 5 0 5 +[ 0 2 1 ] 6 0 6 +[ 1 0 0 ] 7 0 7 +[ 1 0 1 ] 8 0 8 +[ 1 1 0 ] 9 0 9 +[ 1 1 1 ] 10 0 10 +[ 1 2 0 ] 11 0 11 +[ 1 2 1 ] 12 0 12 +[ 2 0 0 ] 13 0 13 +[ 2 0 1 ] 14 0 14 +[ 2 1 0 ] 15 0 15 +[ 2 1 1 ] 16 0 16 +[ 2 2 0 ] 17 0 17 +[ 2 2 1 ] 18 0 18 +[ 3 0 0 ] 19 0 19 +[ 3 0 1 ] 20 0 20 +[ 3 1 0 ] 21 0 21 +[ 3 1 1 ] 22 0 22 +[ 3 2 0 ] 23 0 23 +[ 3 2 1 ] 24 0 24 +24 differences found +Attribute: <string of </g1>> and <string of </g1>> +size [2] +position string of </g1> string of </g1> difference +------------------------------------------------------------ +[ 0 ] a z +[ 0 ] b z +[ 1 ] d z +[ 1 ] e z +4 differences found +Attribute: <string2D of </g1>> and <string2D of </g1>> +size [3x2] +position string2D of </g1> string2D of </g1> difference +------------------------------------------------------------ +[ 0 0 ] a z +[ 0 0 ] b z +[ 0 1 ] c z +[ 0 1 ] d z +[ 1 0 ] e z +[ 1 0 ] f z +[ 1 1 ] g z +[ 1 1 ] h z +[ 2 0 ] i z +[ 2 0 ] j z +[ 2 1 ] k z +[ 2 1 ] l z +12 differences found +Attribute: <string3D of </g1>> and <string3D of </g1>> +size [4x3x2] +position string3D of </g1> string3D of </g1> difference +------------------------------------------------------------ +[ 0 0 0 ] a z +[ 0 0 0 ] b z +[ 0 0 1 ] c z +[ 0 0 1 ] d z +[ 0 1 0 ] e z +[ 0 1 0 ] f z +[ 0 1 1 ] g z +[ 0 1 1 ] h z +[ 0 2 0 ] i z +[ 0 2 0 ] j z +[ 0 2 1 ] k z +[ 0 2 1 ] l z +[ 1 0 0 ] m z +[ 1 0 0 ] n z +[ 1 0 1 ] p z +[ 1 0 1 ] q z +[ 1 1 0 ] r z +[ 1 1 0 ] s z +[ 1 1 1 ] t z +[ 1 1 1 ] u z +[ 1 2 0 ] v z +[ 1 2 0 ] w z +[ 1 2 1 ] x z +[ 2 0 0 ] A z +[ 2 0 0 ] B z +[ 2 0 1 ] C z +[ 2 0 1 ] D z +[ 2 1 0 ] E z +[ 2 1 0 ] F z +[ 2 1 1 ] G z +[ 2 1 1 ] H z +[ 2 2 0 ] I z +[ 2 2 0 ] J z +[ 2 2 1 ] K z +[ 2 2 1 ] L z +[ 3 0 0 ] M z +[ 3 0 0 ] N z +[ 3 0 1 ] P z +[ 3 0 1 ] Q z +[ 3 1 0 ] R z +[ 3 1 0 ] S z +[ 3 1 1 ] T z +[ 3 1 1 ] U z +[ 3 2 0 ] V z +[ 3 2 0 ] W z +[ 3 2 1 ] X z +[ 3 2 1 ] Z z +47 differences found +Attribute: <vlen of </g1>> and <vlen of </g1>> +size [2] +position vlen of </g1> vlen of </g1> difference +------------------------------------------------------------ +[ 0 ] 1 0 1 +[ 1 ] 2 0 2 +[ 1 ] 3 0 3 +3 differences found +Attribute: <vlen2D of </g1>> and <vlen2D of </g1>> +size [3x2] +position vlen2D of </g1> vlen2D of </g1> difference +------------------------------------------------------------ +[ 0 1 ] 1 0 1 +[ 1 0 ] 2 0 2 +[ 1 0 ] 3 0 3 +[ 1 1 ] 4 0 4 +[ 1 1 ] 5 0 5 +[ 2 0 ] 6 0 6 +[ 2 0 ] 7 0 7 +[ 2 0 ] 8 0 8 +[ 2 1 ] 9 0 9 +[ 2 1 ] 10 0 10 +[ 2 1 ] 11 0 11 +11 differences found Attribute: <vlen3D of </g1>> and <vlen3D of </g1>> size [4x3x2] position vlen3D of </g1> vlen3D of </g1> difference @@ -468,9 +603,45 @@ position vlen3D of </g1> vlen3D of </g1> difference [ 3 2 1 ] 58 0 58 [ 3 2 1 ] 59 0 59 59 differences found -Attribute: <array3D of </g1>> and <array3D of </g1>> +Group: </> and </> +0 differences found +Attribute: <array of </>> and <array of </>> +size [2] +position array of </> array of </> difference +------------------------------------------------------------ +[ 0 ] 1 0 1 +[ 0 ] 2 0 2 +[ 0 ] 3 0 3 +[ 1 ] 4 0 4 +[ 1 ] 5 0 5 +[ 1 ] 6 0 6 +6 differences found +Attribute: <array2D of </>> and <array2D of </>> +size [3x2] +position array2D of </> array2D of </> difference +------------------------------------------------------------ +[ 0 0 ] 1 0 1 +[ 0 0 ] 2 0 2 +[ 0 0 ] 3 0 3 +[ 0 1 ] 4 0 4 +[ 0 1 ] 5 0 5 +[ 0 1 ] 6 0 6 +[ 1 0 ] 7 0 7 +[ 1 0 ] 8 0 8 +[ 1 0 ] 9 0 9 +[ 1 1 ] 10 0 10 +[ 1 1 ] 11 0 11 +[ 1 1 ] 12 0 12 +[ 2 0 ] 13 0 13 +[ 2 0 ] 14 0 14 +[ 2 0 ] 15 0 15 +[ 2 1 ] 16 0 16 +[ 2 1 ] 17 0 17 +[ 2 1 ] 18 0 18 +18 differences found +Attribute: <array3D of </>> and <array3D of </>> size [4x3x2] -position array3D of </g1> array3D of </g1> difference +position array3D of </> array3D of </> difference ------------------------------------------------------------ [ 0 0 0 ] 1 0 1 [ 0 0 0 ] 2 0 2 @@ -545,38 +716,27 @@ position array3D of </g1> array3D of </g1> difference [ 3 2 1 ] 71 0 71 [ 3 2 1 ] 72 0 72 72 differences found -Attribute: <integer3D of </g1>> and <integer3D of </g1>> -size [4x3x2] -position integer3D of </g1> integer3D of </g1> difference +Attribute: <bitfield of </>> and <bitfield of </>> +size [2] +position bitfield of </> bitfield of </> difference ------------------------------------------------------------ -[ 0 0 0 ] 1 0 1 -[ 0 0 1 ] 2 0 2 -[ 0 1 0 ] 3 0 3 -[ 0 1 1 ] 4 0 4 -[ 0 2 0 ] 5 0 5 -[ 0 2 1 ] 6 0 6 -[ 1 0 0 ] 7 0 7 -[ 1 0 1 ] 8 0 8 -[ 1 1 0 ] 9 0 9 -[ 1 1 1 ] 10 0 10 -[ 1 2 0 ] 11 0 11 -[ 1 2 1 ] 12 0 12 -[ 2 0 0 ] 13 0 13 -[ 2 0 1 ] 14 0 14 -[ 2 1 0 ] 15 0 15 -[ 2 1 1 ] 16 0 16 -[ 2 2 0 ] 17 0 17 -[ 2 2 1 ] 18 0 18 -[ 3 0 0 ] 19 0 19 -[ 3 0 1 ] 20 0 20 -[ 3 1 0 ] 21 0 21 -[ 3 1 1 ] 22 0 22 -[ 3 2 0 ] 23 0 23 -[ 3 2 1 ] 24 0 24 -24 differences found -Attribute: <float3D of </g1>> and <float3D of </g1>> +[ 0 ] 1 0 1 +[ 1 ] 2 0 2 +2 differences found +Attribute: <bitfield2D of </>> and <bitfield2D of </>> +size [3x2] +position bitfield2D of </> bitfield2D of </> difference +------------------------------------------------------------ +[ 0 0 ] 1 0 1 +[ 0 1 ] 2 0 2 +[ 1 0 ] 3 0 3 +[ 1 1 ] 4 0 4 +[ 2 0 ] 5 0 5 +[ 2 1 ] 6 0 6 +6 differences found +Attribute: <bitfield3D of </>> and <bitfield3D of </>> size [4x3x2] -position float3D of </g1> float3D of </g1> difference +position bitfield3D of </> bitfield3D of </> difference ------------------------------------------------------------ [ 0 0 0 ] 1 0 1 [ 0 0 1 ] 2 0 2 @@ -603,31 +763,6 @@ position float3D of </g1> float3D of </g1> difference [ 3 2 0 ] 23 0 23 [ 3 2 1 ] 24 0 24 24 differences found -Group: </> and </> -0 differences found -Attribute: <string of </>> and <string of </>> -size [2] -position string of </> string of </> difference ------------------------------------------------------------- -[ 0 ] a z -[ 0 ] b z -[ 1 ] d z -[ 1 ] e z -4 differences found -Attribute: <bitfield of </>> and <bitfield of </>> -size [2] -position bitfield of </> bitfield of </> difference ------------------------------------------------------------- -[ 0 ] 1 0 1 -[ 1 ] 2 0 2 -2 differences found -Attribute: <opaque of </>> and <opaque of </>> -size [2] -position opaque of </> opaque of </> difference ------------------------------------------------------------- -[ 0 ] 1 0 1 -[ 1 ] 2 0 2 -2 differences found Attribute: <compound of </>> and <compound of </>> size [2] position compound of </> compound of </> difference @@ -637,85 +772,6 @@ position compound of </> compound of </> difference [ 1 ] 3 0 3 [ 1 ] 4 0 4 4 differences found -Attribute: <enum of </>> and <enum of </>> -size [2] -position enum of </> enum of </> difference ------------------------------------------------------------- -[ 0 ] RED GREEN -[ 1 ] RED GREEN -2 differences found -Attribute: <vlen of </>> and <vlen of </>> -size [2] -position vlen of </> vlen of </> difference ------------------------------------------------------------- -[ 0 ] 1 0 1 -[ 1 ] 2 0 2 -[ 1 ] 3 0 3 -3 differences found -Attribute: <array of </>> and <array of </>> -size [2] -position array of </> array of </> difference ------------------------------------------------------------- -[ 0 ] 1 0 1 -[ 0 ] 2 0 2 -[ 0 ] 3 0 3 -[ 1 ] 4 0 4 -[ 1 ] 5 0 5 -[ 1 ] 6 0 6 -6 differences found -Attribute: <integer of </>> and <integer of </>> -size [2] -position integer of </> integer of </> difference ------------------------------------------------------------- -[ 0 ] 1 0 1 -[ 1 ] 2 0 2 -2 differences found -Attribute: <float of </>> and <float of </>> -size [2] -position float of </> float of </> difference ------------------------------------------------------------- -[ 0 ] 1 0 1 -[ 1 ] 2 0 2 -2 differences found -Attribute: <string2D of </>> and <string2D of </>> -size [3x2] -position string2D of </> string2D of </> difference ------------------------------------------------------------- -[ 0 0 ] a z -[ 0 0 ] b z -[ 0 1 ] c z -[ 0 1 ] d z -[ 1 0 ] e z -[ 1 0 ] f z -[ 1 1 ] g z -[ 1 1 ] h z -[ 2 0 ] i z -[ 2 0 ] j z -[ 2 1 ] k z -[ 2 1 ] l z -12 differences found -Attribute: <bitfield2D of </>> and <bitfield2D of </>> -size [3x2] -position bitfield2D of </> bitfield2D of </> difference ------------------------------------------------------------- -[ 0 0 ] 1 0 1 -[ 0 1 ] 2 0 2 -[ 1 0 ] 3 0 3 -[ 1 1 ] 4 0 4 -[ 2 0 ] 5 0 5 -[ 2 1 ] 6 0 6 -6 differences found -Attribute: <opaque2D of </>> and <opaque2D of </>> -size [3x2] -position opaque2D of </> opaque2D of </> difference ------------------------------------------------------------- -[ 0 0 ] 1 0 1 -[ 0 1 ] 2 0 2 -[ 1 0 ] 3 0 3 -[ 1 1 ] 4 0 4 -[ 2 0 ] 5 0 5 -[ 2 1 ] 6 0 6 -6 differences found Attribute: <compound2D of </>> and <compound2D of </>> size [3x2] position compound2D of </> compound2D of </> difference @@ -733,6 +789,66 @@ position compound2D of </> compound2D of </> difference [ 2 1 ] 11 0 11 [ 2 1 ] 12 0 12 12 differences found +Attribute: <compound3D of </>> and <compound3D of </>> +size [4x3x2] +position compound3D of </> compound3D of </> difference +------------------------------------------------------------ +[ 0 0 0 ] 1 0 1 +[ 0 0 0 ] 2 0 2 +[ 0 0 1 ] 3 0 3 +[ 0 0 1 ] 4 0 4 +[ 0 1 0 ] 5 0 5 +[ 0 1 0 ] 6 0 6 +[ 0 1 1 ] 7 0 7 +[ 0 1 1 ] 8 0 8 +[ 0 2 0 ] 9 0 9 +[ 0 2 0 ] 10 0 10 +[ 0 2 1 ] 11 0 11 +[ 0 2 1 ] 12 0 12 +[ 1 0 0 ] 13 0 13 +[ 1 0 0 ] 14 0 14 +[ 1 0 1 ] 15 0 15 +[ 1 0 1 ] 16 0 16 +[ 1 1 0 ] 17 0 17 +[ 1 1 0 ] 18 0 18 +[ 1 1 1 ] 19 0 19 +[ 1 1 1 ] 20 0 20 +[ 1 2 0 ] 21 0 21 +[ 1 2 0 ] 22 0 22 +[ 1 2 1 ] 23 0 23 +[ 1 2 1 ] 24 0 24 +[ 2 0 0 ] 25 0 25 +[ 2 0 0 ] 26 0 26 +[ 2 0 1 ] 27 0 27 +[ 2 0 1 ] 28 0 28 +[ 2 1 0 ] 29 0 29 +[ 2 1 0 ] 30 0 30 +[ 2 1 1 ] 31 0 31 +[ 2 1 1 ] 32 0 32 +[ 2 2 0 ] 33 0 33 +[ 2 2 0 ] 34 0 34 +[ 2 2 1 ] 35 0 35 +[ 2 2 1 ] 36 0 36 +[ 3 0 0 ] 37 0 37 +[ 3 0 0 ] 38 0 38 +[ 3 0 1 ] 39 0 39 +[ 3 0 1 ] 40 0 40 +[ 3 1 0 ] 41 0 41 +[ 3 1 0 ] 42 0 42 +[ 3 1 1 ] 43 0 43 +[ 3 1 1 ] 44 0 44 +[ 3 2 0 ] 45 0 45 +[ 3 2 0 ] 46 0 46 +[ 3 2 1 ] 47 0 47 +[ 3 2 1 ] 48 0 48 +48 differences found +Attribute: <enum of </>> and <enum of </>> +size [2] +position enum of </> enum of </> difference +------------------------------------------------------------ +[ 0 ] RED GREEN +[ 1 ] RED GREEN +2 differences found Attribute: <enum2D of </>> and <enum2D of </>> size [3x2] position enum2D of </> enum2D of </> difference @@ -744,48 +860,45 @@ position enum2D of </> enum2D of </> difference [ 2 0 ] RED GREEN [ 2 1 ] RED GREEN 6 differences found -Attribute: <vlen2D of </>> and <vlen2D of </>> -size [3x2] -position vlen2D of </> vlen2D of </> difference +Attribute: <enum3D of </>> and <enum3D of </>> +size [4x3x2] +position enum3D of </> enum3D of </> difference ------------------------------------------------------------ -[ 0 1 ] 1 0 1 -[ 1 0 ] 2 0 2 -[ 1 0 ] 3 0 3 -[ 1 1 ] 4 0 4 -[ 1 1 ] 5 0 5 -[ 2 0 ] 6 0 6 -[ 2 0 ] 7 0 7 -[ 2 0 ] 8 0 8 -[ 2 1 ] 9 0 9 -[ 2 1 ] 10 0 10 -[ 2 1 ] 11 0 11 -11 differences found -Attribute: <array2D of </>> and <array2D of </>> -size [3x2] -position array2D of </> array2D of </> difference +[ 0 0 0 ] GREEN RED +[ 0 0 1 ] GREEN RED +[ 0 1 0 ] GREEN RED +[ 0 1 1 ] GREEN RED +[ 0 2 0 ] GREEN RED +[ 0 2 1 ] GREEN RED +[ 1 0 0 ] GREEN RED +[ 1 0 1 ] GREEN RED +[ 1 1 0 ] GREEN RED +[ 1 1 1 ] GREEN RED +[ 1 2 0 ] GREEN RED +[ 1 2 1 ] GREEN RED +[ 2 0 0 ] GREEN RED +[ 2 0 1 ] GREEN RED +[ 2 1 0 ] GREEN RED +[ 2 1 1 ] GREEN RED +[ 2 2 0 ] GREEN RED +[ 2 2 1 ] GREEN RED +[ 3 0 0 ] GREEN RED +[ 3 0 1 ] GREEN RED +[ 3 1 0 ] GREEN RED +[ 3 1 1 ] GREEN RED +[ 3 2 0 ] GREEN RED +[ 3 2 1 ] GREEN RED +24 differences found +Attribute: <float of </>> and <float of </>> +size [2] +position float of </> float of </> difference ------------------------------------------------------------ -[ 0 0 ] 1 0 1 -[ 0 0 ] 2 0 2 -[ 0 0 ] 3 0 3 -[ 0 1 ] 4 0 4 -[ 0 1 ] 5 0 5 -[ 0 1 ] 6 0 6 -[ 1 0 ] 7 0 7 -[ 1 0 ] 8 0 8 -[ 1 0 ] 9 0 9 -[ 1 1 ] 10 0 10 -[ 1 1 ] 11 0 11 -[ 1 1 ] 12 0 12 -[ 2 0 ] 13 0 13 -[ 2 0 ] 14 0 14 -[ 2 0 ] 15 0 15 -[ 2 1 ] 16 0 16 -[ 2 1 ] 17 0 17 -[ 2 1 ] 18 0 18 -18 differences found -Attribute: <integer2D of </>> and <integer2D of </>> +[ 0 ] 1 0 1 +[ 1 ] 2 0 2 +2 differences found +Attribute: <float2D of </>> and <float2D of </>> size [3x2] -position integer2D of </> integer2D of </> difference +position float2D of </> float2D of </> difference ------------------------------------------------------------ [ 0 0 ] 1 0 1 [ 0 1 ] 2 0 2 @@ -794,9 +907,45 @@ position integer2D of </> integer2D of </> difference [ 2 0 ] 5 0 5 [ 2 1 ] 6 0 6 6 differences found -Attribute: <float2D of </>> and <float2D of </>> +Attribute: <float3D of </>> and <float3D of </>> +size [4x3x2] +position float3D of </> float3D of </> difference +------------------------------------------------------------ +[ 0 0 0 ] 1 0 1 +[ 0 0 1 ] 2 0 2 +[ 0 1 0 ] 3 0 3 +[ 0 1 1 ] 4 0 4 +[ 0 2 0 ] 5 0 5 +[ 0 2 1 ] 6 0 6 +[ 1 0 0 ] 7 0 7 +[ 1 0 1 ] 8 0 8 +[ 1 1 0 ] 9 0 9 +[ 1 1 1 ] 10 0 10 +[ 1 2 0 ] 11 0 11 +[ 1 2 1 ] 12 0 12 +[ 2 0 0 ] 13 0 13 +[ 2 0 1 ] 14 0 14 +[ 2 1 0 ] 15 0 15 +[ 2 1 1 ] 16 0 16 +[ 2 2 0 ] 17 0 17 +[ 2 2 1 ] 18 0 18 +[ 3 0 0 ] 19 0 19 +[ 3 0 1 ] 20 0 20 +[ 3 1 0 ] 21 0 21 +[ 3 1 1 ] 22 0 22 +[ 3 2 0 ] 23 0 23 +[ 3 2 1 ] 24 0 24 +24 differences found +Attribute: <integer of </>> and <integer of </>> +size [2] +position integer of </> integer of </> difference +------------------------------------------------------------ +[ 0 ] 1 0 1 +[ 1 ] 2 0 2 +2 differences found +Attribute: <integer2D of </>> and <integer2D of </>> size [3x2] -position float2D of </> float2D of </> difference +position integer2D of </> integer2D of </> difference ------------------------------------------------------------ [ 0 0 ] 1 0 1 [ 0 1 ] 2 0 2 @@ -805,61 +954,9 @@ position float2D of </> float2D of </> difference [ 2 0 ] 5 0 5 [ 2 1 ] 6 0 6 6 differences found -Attribute: <string3D of </>> and <string3D of </>> -size [4x3x2] -position string3D of </> string3D of </> difference ------------------------------------------------------------- -[ 0 0 0 ] a z -[ 0 0 0 ] b z -[ 0 0 1 ] c z -[ 0 0 1 ] d z -[ 0 1 0 ] e z -[ 0 1 0 ] f z -[ 0 1 1 ] g z -[ 0 1 1 ] h z -[ 0 2 0 ] i z -[ 0 2 0 ] j z -[ 0 2 1 ] k z -[ 0 2 1 ] l z -[ 1 0 0 ] m z -[ 1 0 0 ] n z -[ 1 0 1 ] p z -[ 1 0 1 ] q z -[ 1 1 0 ] r z -[ 1 1 0 ] s z -[ 1 1 1 ] t z -[ 1 1 1 ] u z -[ 1 2 0 ] v z -[ 1 2 0 ] w z -[ 1 2 1 ] x z -[ 2 0 0 ] A z -[ 2 0 0 ] B z -[ 2 0 1 ] C z -[ 2 0 1 ] D z -[ 2 1 0 ] E z -[ 2 1 0 ] F z -[ 2 1 1 ] G z -[ 2 1 1 ] H z -[ 2 2 0 ] I z -[ 2 2 0 ] J z -[ 2 2 1 ] K z -[ 2 2 1 ] L z -[ 3 0 0 ] M z -[ 3 0 0 ] N z -[ 3 0 1 ] P z -[ 3 0 1 ] Q z -[ 3 1 0 ] R z -[ 3 1 0 ] S z -[ 3 1 1 ] T z -[ 3 1 1 ] U z -[ 3 2 0 ] V z -[ 3 2 0 ] W z -[ 3 2 1 ] X z -[ 3 2 1 ] Z z -47 differences found -Attribute: <bitfield3D of </>> and <bitfield3D of </>> +Attribute: <integer3D of </>> and <integer3D of </>> size [4x3x2] -position bitfield3D of </> bitfield3D of </> difference +position integer3D of </> integer3D of </> difference ------------------------------------------------------------ [ 0 0 0 ] 1 0 1 [ 0 0 1 ] 2 0 2 @@ -886,6 +983,24 @@ position bitfield3D of </> bitfield3D of </> difference [ 3 2 0 ] 23 0 23 [ 3 2 1 ] 24 0 24 24 differences found +Attribute: <opaque of </>> and <opaque of </>> +size [2] +position opaque of </> opaque of </> difference +------------------------------------------------------------ +[ 0 ] 1 0 1 +[ 1 ] 2 0 2 +2 differences found +Attribute: <opaque2D of </>> and <opaque2D of </>> +size [3x2] +position opaque2D of </> opaque2D of </> difference +------------------------------------------------------------ +[ 0 0 ] 1 0 1 +[ 0 1 ] 2 0 2 +[ 1 0 ] 3 0 3 +[ 1 1 ] 4 0 4 +[ 2 0 ] 5 0 5 +[ 2 1 ] 6 0 6 +6 differences found Attribute: <opaque3D of </>> and <opaque3D of </>> size [4x3x2] position opaque3D of </> opaque3D of </> difference @@ -915,88 +1030,108 @@ position opaque3D of </> opaque3D of </> difference [ 3 2 0 ] 23 0 23 [ 3 2 1 ] 24 0 24 24 differences found -Attribute: <compound3D of </>> and <compound3D of </>> -size [4x3x2] -position compound3D of </> compound3D of </> difference +Attribute: <string of </>> and <string of </>> +size [2] +position string of </> string of </> difference ------------------------------------------------------------ -[ 0 0 0 ] 1 0 1 -[ 0 0 0 ] 2 0 2 -[ 0 0 1 ] 3 0 3 -[ 0 0 1 ] 4 0 4 -[ 0 1 0 ] 5 0 5 -[ 0 1 0 ] 6 0 6 -[ 0 1 1 ] 7 0 7 -[ 0 1 1 ] 8 0 8 -[ 0 2 0 ] 9 0 9 -[ 0 2 0 ] 10 0 10 -[ 0 2 1 ] 11 0 11 -[ 0 2 1 ] 12 0 12 -[ 1 0 0 ] 13 0 13 -[ 1 0 0 ] 14 0 14 -[ 1 0 1 ] 15 0 15 -[ 1 0 1 ] 16 0 16 -[ 1 1 0 ] 17 0 17 -[ 1 1 0 ] 18 0 18 -[ 1 1 1 ] 19 0 19 -[ 1 1 1 ] 20 0 20 -[ 1 2 0 ] 21 0 21 -[ 1 2 0 ] 22 0 22 -[ 1 2 1 ] 23 0 23 -[ 1 2 1 ] 24 0 24 -[ 2 0 0 ] 25 0 25 -[ 2 0 0 ] 26 0 26 -[ 2 0 1 ] 27 0 27 -[ 2 0 1 ] 28 0 28 -[ 2 1 0 ] 29 0 29 -[ 2 1 0 ] 30 0 30 -[ 2 1 1 ] 31 0 31 -[ 2 1 1 ] 32 0 32 -[ 2 2 0 ] 33 0 33 -[ 2 2 0 ] 34 0 34 -[ 2 2 1 ] 35 0 35 -[ 2 2 1 ] 36 0 36 -[ 3 0 0 ] 37 0 37 -[ 3 0 0 ] 38 0 38 -[ 3 0 1 ] 39 0 39 -[ 3 0 1 ] 40 0 40 -[ 3 1 0 ] 41 0 41 -[ 3 1 0 ] 42 0 42 -[ 3 1 1 ] 43 0 43 -[ 3 1 1 ] 44 0 44 -[ 3 2 0 ] 45 0 45 -[ 3 2 0 ] 46 0 46 -[ 3 2 1 ] 47 0 47 -[ 3 2 1 ] 48 0 48 -48 differences found -Attribute: <enum3D of </>> and <enum3D of </>> +[ 0 ] a z +[ 0 ] b z +[ 1 ] d z +[ 1 ] e z +4 differences found +Attribute: <string2D of </>> and <string2D of </>> +size [3x2] +position string2D of </> string2D of </> difference +------------------------------------------------------------ +[ 0 0 ] a z +[ 0 0 ] b z +[ 0 1 ] c z +[ 0 1 ] d z +[ 1 0 ] e z +[ 1 0 ] f z +[ 1 1 ] g z +[ 1 1 ] h z +[ 2 0 ] i z +[ 2 0 ] j z +[ 2 1 ] k z +[ 2 1 ] l z +12 differences found +Attribute: <string3D of </>> and <string3D of </>> size [4x3x2] -position enum3D of </> enum3D of </> difference +position string3D of </> string3D of </> difference ------------------------------------------------------------ -[ 0 0 0 ] GREEN RED -[ 0 0 1 ] GREEN RED -[ 0 1 0 ] GREEN RED -[ 0 1 1 ] GREEN RED -[ 0 2 0 ] GREEN RED -[ 0 2 1 ] GREEN RED -[ 1 0 0 ] GREEN RED -[ 1 0 1 ] GREEN RED -[ 1 1 0 ] GREEN RED -[ 1 1 1 ] GREEN RED -[ 1 2 0 ] GREEN RED -[ 1 2 1 ] GREEN RED -[ 2 0 0 ] GREEN RED -[ 2 0 1 ] GREEN RED -[ 2 1 0 ] GREEN RED -[ 2 1 1 ] GREEN RED -[ 2 2 0 ] GREEN RED -[ 2 2 1 ] GREEN RED -[ 3 0 0 ] GREEN RED -[ 3 0 1 ] GREEN RED -[ 3 1 0 ] GREEN RED -[ 3 1 1 ] GREEN RED -[ 3 2 0 ] GREEN RED -[ 3 2 1 ] GREEN RED -24 differences found +[ 0 0 0 ] a z +[ 0 0 0 ] b z +[ 0 0 1 ] c z +[ 0 0 1 ] d z +[ 0 1 0 ] e z +[ 0 1 0 ] f z +[ 0 1 1 ] g z +[ 0 1 1 ] h z +[ 0 2 0 ] i z +[ 0 2 0 ] j z +[ 0 2 1 ] k z +[ 0 2 1 ] l z +[ 1 0 0 ] m z +[ 1 0 0 ] n z +[ 1 0 1 ] p z +[ 1 0 1 ] q z +[ 1 1 0 ] r z +[ 1 1 0 ] s z +[ 1 1 1 ] t z +[ 1 1 1 ] u z +[ 1 2 0 ] v z +[ 1 2 0 ] w z +[ 1 2 1 ] x z +[ 2 0 0 ] A z +[ 2 0 0 ] B z +[ 2 0 1 ] C z +[ 2 0 1 ] D z +[ 2 1 0 ] E z +[ 2 1 0 ] F z +[ 2 1 1 ] G z +[ 2 1 1 ] H z +[ 2 2 0 ] I z +[ 2 2 0 ] J z +[ 2 2 1 ] K z +[ 2 2 1 ] L z +[ 3 0 0 ] M z +[ 3 0 0 ] N z +[ 3 0 1 ] P z +[ 3 0 1 ] Q z +[ 3 1 0 ] R z +[ 3 1 0 ] S z +[ 3 1 1 ] T z +[ 3 1 1 ] U z +[ 3 2 0 ] V z +[ 3 2 0 ] W z +[ 3 2 1 ] X z +[ 3 2 1 ] Z z +47 differences found +Attribute: <vlen of </>> and <vlen of </>> +size [2] +position vlen of </> vlen of </> difference +------------------------------------------------------------ +[ 0 ] 1 0 1 +[ 1 ] 2 0 2 +[ 1 ] 3 0 3 +3 differences found +Attribute: <vlen2D of </>> and <vlen2D of </>> +size [3x2] +position vlen2D of </> vlen2D of </> difference +------------------------------------------------------------ +[ 0 1 ] 1 0 1 +[ 1 0 ] 2 0 2 +[ 1 0 ] 3 0 3 +[ 1 1 ] 4 0 4 +[ 1 1 ] 5 0 5 +[ 2 0 ] 6 0 6 +[ 2 0 ] 7 0 7 +[ 2 0 ] 8 0 8 +[ 2 1 ] 9 0 9 +[ 2 1 ] 10 0 10 +[ 2 1 ] 11 0 11 +11 differences found Attribute: <vlen3D of </>> and <vlen3D of </>> size [4x3x2] position vlen3D of </> vlen3D of </> difference @@ -1061,141 +1196,6 @@ position vlen3D of </> vlen3D of </> difference [ 3 2 1 ] 58 0 58 [ 3 2 1 ] 59 0 59 59 differences found -Attribute: <array3D of </>> and <array3D of </>> -size [4x3x2] -position array3D of </> array3D of </> difference ------------------------------------------------------------- -[ 0 0 0 ] 1 0 1 -[ 0 0 0 ] 2 0 2 -[ 0 0 0 ] 3 0 3 -[ 0 0 1 ] 4 0 4 -[ 0 0 1 ] 5 0 5 -[ 0 0 1 ] 6 0 6 -[ 0 1 0 ] 7 0 7 -[ 0 1 0 ] 8 0 8 -[ 0 1 0 ] 9 0 9 -[ 0 1 1 ] 10 0 10 -[ 0 1 1 ] 11 0 11 -[ 0 1 1 ] 12 0 12 -[ 0 2 0 ] 13 0 13 -[ 0 2 0 ] 14 0 14 -[ 0 2 0 ] 15 0 15 -[ 0 2 1 ] 16 0 16 -[ 0 2 1 ] 17 0 17 -[ 0 2 1 ] 18 0 18 -[ 1 0 0 ] 19 0 19 -[ 1 0 0 ] 20 0 20 -[ 1 0 0 ] 21 0 21 -[ 1 0 1 ] 22 0 22 -[ 1 0 1 ] 23 0 23 -[ 1 0 1 ] 24 0 24 -[ 1 1 0 ] 25 0 25 -[ 1 1 0 ] 26 0 26 -[ 1 1 0 ] 27 0 27 -[ 1 1 1 ] 28 0 28 -[ 1 1 1 ] 29 0 29 -[ 1 1 1 ] 30 0 30 -[ 1 2 0 ] 31 0 31 -[ 1 2 0 ] 32 0 32 -[ 1 2 0 ] 33 0 33 -[ 1 2 1 ] 34 0 34 -[ 1 2 1 ] 35 0 35 -[ 1 2 1 ] 36 0 36 -[ 2 0 0 ] 37 0 37 -[ 2 0 0 ] 38 0 38 -[ 2 0 0 ] 39 0 39 -[ 2 0 1 ] 40 0 40 -[ 2 0 1 ] 41 0 41 -[ 2 0 1 ] 42 0 42 -[ 2 1 0 ] 43 0 43 -[ 2 1 0 ] 44 0 44 -[ 2 1 0 ] 45 0 45 -[ 2 1 1 ] 46 0 46 -[ 2 1 1 ] 47 0 47 -[ 2 1 1 ] 48 0 48 -[ 2 2 0 ] 49 0 49 -[ 2 2 0 ] 50 0 50 -[ 2 2 0 ] 51 0 51 -[ 2 2 1 ] 52 0 52 -[ 2 2 1 ] 53 0 53 -[ 2 2 1 ] 54 0 54 -[ 3 0 0 ] 55 0 55 -[ 3 0 0 ] 56 0 56 -[ 3 0 0 ] 57 0 57 -[ 3 0 1 ] 58 0 58 -[ 3 0 1 ] 59 0 59 -[ 3 0 1 ] 60 0 60 -[ 3 1 0 ] 61 0 61 -[ 3 1 0 ] 62 0 62 -[ 3 1 0 ] 63 0 63 -[ 3 1 1 ] 64 0 64 -[ 3 1 1 ] 65 0 65 -[ 3 1 1 ] 66 0 66 -[ 3 2 0 ] 67 0 67 -[ 3 2 0 ] 68 0 68 -[ 3 2 0 ] 69 0 69 -[ 3 2 1 ] 70 0 70 -[ 3 2 1 ] 71 0 71 -[ 3 2 1 ] 72 0 72 -72 differences found -Attribute: <integer3D of </>> and <integer3D of </>> -size [4x3x2] -position integer3D of </> integer3D of </> difference ------------------------------------------------------------- -[ 0 0 0 ] 1 0 1 -[ 0 0 1 ] 2 0 2 -[ 0 1 0 ] 3 0 3 -[ 0 1 1 ] 4 0 4 -[ 0 2 0 ] 5 0 5 -[ 0 2 1 ] 6 0 6 -[ 1 0 0 ] 7 0 7 -[ 1 0 1 ] 8 0 8 -[ 1 1 0 ] 9 0 9 -[ 1 1 1 ] 10 0 10 -[ 1 2 0 ] 11 0 11 -[ 1 2 1 ] 12 0 12 -[ 2 0 0 ] 13 0 13 -[ 2 0 1 ] 14 0 14 -[ 2 1 0 ] 15 0 15 -[ 2 1 1 ] 16 0 16 -[ 2 2 0 ] 17 0 17 -[ 2 2 1 ] 18 0 18 -[ 3 0 0 ] 19 0 19 -[ 3 0 1 ] 20 0 20 -[ 3 1 0 ] 21 0 21 -[ 3 1 1 ] 22 0 22 -[ 3 2 0 ] 23 0 23 -[ 3 2 1 ] 24 0 24 -24 differences found -Attribute: <float3D of </>> and <float3D of </>> -size [4x3x2] -position float3D of </> float3D of </> difference ------------------------------------------------------------- -[ 0 0 0 ] 1 0 1 -[ 0 0 1 ] 2 0 2 -[ 0 1 0 ] 3 0 3 -[ 0 1 1 ] 4 0 4 -[ 0 2 0 ] 5 0 5 -[ 0 2 1 ] 6 0 6 -[ 1 0 0 ] 7 0 7 -[ 1 0 1 ] 8 0 8 -[ 1 1 0 ] 9 0 9 -[ 1 1 1 ] 10 0 10 -[ 1 2 0 ] 11 0 11 -[ 1 2 1 ] 12 0 12 -[ 2 0 0 ] 13 0 13 -[ 2 0 1 ] 14 0 14 -[ 2 1 0 ] 15 0 15 -[ 2 1 1 ] 16 0 16 -[ 2 2 0 ] 17 0 17 -[ 2 2 1 ] 18 0 18 -[ 3 0 0 ] 19 0 19 -[ 3 0 1 ] 20 0 20 -[ 3 1 0 ] 21 0 21 -[ 3 1 1 ] 22 0 22 -[ 3 2 0 ] 23 0 23 -[ 3 2 1 ] 24 0 24 -24 differences found -------------------------------- Some objects are not comparable -------------------------------- diff --git a/tools/testfiles/tattr2.ls b/tools/testfiles/tattr2.ls index 01ad413..4f23110 100644 --- a/tools/testfiles/tattr2.ls +++ b/tools/testfiles/tattr2.ls @@ -2,54 +2,40 @@ output for 'h5ls -w80 -v -S tattr2.h5' ############################# Opened "tattr2.h5" with sec2 driver. - Attribute: string {2} - Type: 2-byte null-terminated ASCII string - Data: "ab", "de" - Attribute: bitfield {2} - Type: 8-bit bitfield - Data: 0x01, 0x02 - Attribute: opaque {2} - Type: 1-byte opaque type - (tag = "1-byte opaque type") - Data: 0x01, 0x02 - Attribute: compound {2} - Type: struct { - "a" +0 8-bit integer - "b" +4 IEEE 64-bit little-endian float - } 12 bytes - Data: {1, 2}, {3, 4} - Attribute: enum {2} - Type: enum 32-bit little-endian integer { - RED = 0 - GREEN = 1 - } - Data: RED, RED - Attribute: vlen {2} - Type: variable length of - 32-bit little-endian integer - Data: (1), (2,3) Attribute: array {2} Type: [3] 32-bit little-endian integer Data: [1,2,3], [4,5,6] - Attribute: integer {2} - Type: 32-bit little-endian integer - Data: 1, 2 - Attribute: float {2} - Type: IEEE 32-bit little-endian float - Data: 1, 2 - Attribute: string2D {3, 2} - Type: 2-byte null-terminated ASCII string + Attribute: array2D {3, 2} + Type: [3] 32-bit little-endian integer Data: - (0,0) "ab", "cd", "ef", "gh", "ij", "kl" + (0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], [16,17,18] + Attribute: array3D {4, 3, 2} + Type: [3] 32-bit little-endian integer + Data: + (0,0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], + (0,2,1) [16,17,18], [19,20,21], [22,23,24], [25,26,27], [28,29,30], + (1,2,0) [31,32,33], [34,35,36], [37,38,39], [40,41,42], [43,44,45], + (2,1,1) [46,47,48], [49,50,51], [52,53,54], [55,56,57], [58,59,60], + (3,1,0) [61,62,63], [64,65,66], [67,68,69], [70,71,72] + Attribute: bitfield {2} + Type: 8-bit bitfield + Data: 0x01, 0x02 Attribute: bitfield2D {3, 2} Type: 8-bit bitfield Data: (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 - Attribute: opaque2D {3, 2} - Type: 1-byte opaque type - (tag = "1-byte opaque type") + Attribute: bitfield3D {4, 3, 2} + Type: 8-bit bitfield Data: - (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 + (0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, + (1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, + (3,1,0) 0x15, 0x16, 0x17, 0x18 + Attribute: compound {2} + Type: struct { + "a" +0 8-bit integer + "b" +4 IEEE 64-bit little-endian float + } 12 bytes + Data: {1, 2}, {3, 4} Attribute: compound2D {3, 2} Type: struct { "a" +0 8-bit integer @@ -57,6 +43,22 @@ Opened "tattr2.h5" with sec2 driver. } 12 bytes Data: (0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12} + Attribute: compound3D {4, 3, 2} + Type: struct { + "a" +0 8-bit integer + "b" +4 IEEE 64-bit little-endian float + } 12 bytes + Data: + (0,0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}, {13, + (1,0,0) 14}, {15, 16}, {17, 18}, {19, 20}, {21, 22}, {23, 24}, + (2,0,0) {25, 26}, {27, 28}, {29, 30}, {31, 32}, {33, 34}, {35, 36}, + (3,0,0) {37, 38}, {39, 40}, {41, 42}, {43, 44}, {45, 46}, {47, 48} + Attribute: enum {2} + Type: enum 32-bit little-endian integer { + RED = 0 + GREEN = 1 + } + Data: RED, RED Attribute: enum2D {3, 2} Type: enum 32-bit little-endian integer { RED = 0 @@ -64,35 +66,47 @@ Opened "tattr2.h5" with sec2 driver. } Data: (0,0) RED, RED, RED, RED, RED, RED - Attribute: vlen2D {3, 2} - Type: variable length of - 32-bit little-endian integer - Data: - (0,0) (0), (1), (2,3), (4,5), (6,7,8), (9,10,11) - Attribute: array2D {3, 2} - Type: [3] 32-bit little-endian integer + Attribute: enum3D {4, 3, 2} + Type: enum 32-bit little-endian integer { + RED = 0 + GREEN = 1 + } Data: - (0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], [16,17,18] - Attribute: integer2D {3, 2} - Type: 32-bit little-endian integer + (0,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, + (2,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED + Attribute: float {2} + Type: IEEE 32-bit little-endian float + Data: 1, 2 + Attribute: float2D {3, 2} + Type: IEEE 32-bit little-endian float Data: (0,0) 1, 2, 3, 4, 5, 6 - Attribute: float2D {3, 2} + Attribute: float3D {4, 3, 2} Type: IEEE 32-bit little-endian float Data: + (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, + (2,2,1) 18, 19, 20, 21, 22, 23, 24 + Attribute: integer {2} + Type: 32-bit little-endian integer + Data: 1, 2 + Attribute: integer2D {3, 2} + Type: 32-bit little-endian integer + Data: (0,0) 1, 2, 3, 4, 5, 6 - Attribute: string3D {4, 3, 2} - Type: 2-byte null-terminated ASCII string + Attribute: integer3D {4, 3, 2} + Type: 32-bit little-endian integer Data: - (0,0,0) "ab", "cd", "ef", "gh", "ij", "kl", "mn", "pq", "rs", "tu", - (1,2,0) "vw", "xz", "AB", "CD", "EF", "GH", "IJ", "KL", "MN", "PQ", - (3,1,0) "RS", "TU", "VW", "XZ" - Attribute: bitfield3D {4, 3, 2} - Type: 8-bit bitfield + (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, + (2,2,1) 18, 19, 20, 21, 22, 23, 24 + Attribute: opaque {2} + Type: 1-byte opaque type + (tag = "1-byte opaque type") + Data: 0x01, 0x02 + Attribute: opaque2D {3, 2} + Type: 1-byte opaque type + (tag = "1-byte opaque type") Data: - (0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, - (1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, - (3,1,0) 0x15, 0x16, 0x17, 0x18 + (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 Attribute: opaque3D {4, 3, 2} Type: 1-byte opaque type (tag = "1-byte opaque type") @@ -100,24 +114,28 @@ Opened "tattr2.h5" with sec2 driver. (0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, (1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, (3,1,0) 0x15, 0x16, 0x17, 0x18 - Attribute: compound3D {4, 3, 2} - Type: struct { - "a" +0 8-bit integer - "b" +4 IEEE 64-bit little-endian float - } 12 bytes + Attribute: string {2} + Type: 2-byte null-terminated ASCII string + Data: "ab", "de" + Attribute: string2D {3, 2} + Type: 2-byte null-terminated ASCII string Data: - (0,0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}, {13, - (1,0,0) 14}, {15, 16}, {17, 18}, {19, 20}, {21, 22}, {23, 24}, - (2,0,0) {25, 26}, {27, 28}, {29, 30}, {31, 32}, {33, 34}, {35, 36}, - (3,0,0) {37, 38}, {39, 40}, {41, 42}, {43, 44}, {45, 46}, {47, 48} - Attribute: enum3D {4, 3, 2} - Type: enum 32-bit little-endian integer { - RED = 0 - GREEN = 1 - } + (0,0) "ab", "cd", "ef", "gh", "ij", "kl" + Attribute: string3D {4, 3, 2} + Type: 2-byte null-terminated ASCII string Data: - (0,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, - (2,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED + (0,0,0) "ab", "cd", "ef", "gh", "ij", "kl", "mn", "pq", "rs", "tu", + (1,2,0) "vw", "xz", "AB", "CD", "EF", "GH", "IJ", "KL", "MN", "PQ", + (3,1,0) "RS", "TU", "VW", "XZ" + Attribute: vlen {2} + Type: variable length of + 32-bit little-endian integer + Data: (1), (2,3) + Attribute: vlen2D {3, 2} + Type: variable length of + 32-bit little-endian integer + Data: + (0,0) (0), (1), (2,3), (4,5), (6,7,8), (9,10,11) Attribute: vlen3D {4, 3, 2} Type: variable length of 32-bit little-endian integer @@ -127,6 +145,14 @@ Opened "tattr2.h5" with sec2 driver. (2,1,0) (24,25,26), (27,28,29), (30,31,32), (33,34,35), (3,0,0) (36,37,38,39), (40,41,42,43), (44,45,46,47), (48,49,50,51), (3,2,0) (52,53,54,55), (56,57,58,59) +dset Dataset {2/2} + Attribute: array {2} + Type: [3] 32-bit little-endian integer + Data: [1,2,3], [4,5,6] + Attribute: array2D {3, 2} + Type: [3] 32-bit little-endian integer + Data: + (0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], [16,17,18] Attribute: array3D {4, 3, 2} Type: [3] 32-bit little-endian integer Data: @@ -135,68 +161,25 @@ Opened "tattr2.h5" with sec2 driver. (1,2,0) [31,32,33], [34,35,36], [37,38,39], [40,41,42], [43,44,45], (2,1,1) [46,47,48], [49,50,51], [52,53,54], [55,56,57], [58,59,60], (3,1,0) [61,62,63], [64,65,66], [67,68,69], [70,71,72] - Attribute: integer3D {4, 3, 2} - Type: 32-bit little-endian integer - Data: - (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, - (2,2,1) 18, 19, 20, 21, 22, 23, 24 - Attribute: float3D {4, 3, 2} - Type: IEEE 32-bit little-endian float - Data: - (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, - (2,2,1) 18, 19, 20, 21, 22, 23, 24 -dset Dataset {2/2} - Attribute: string {2} - Type: 2-byte null-terminated ASCII string - Data: "ab", "de" Attribute: bitfield {2} Type: 8-bit bitfield Data: 0x01, 0x02 - Attribute: opaque {2} - Type: 1-byte opaque type - (tag = "1-byte opaque type") - Data: 0x01, 0x02 + Attribute: bitfield2D {3, 2} + Type: 8-bit bitfield + Data: + (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 + Attribute: bitfield3D {4, 3, 2} + Type: 8-bit bitfield + Data: + (0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, + (1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, + (3,1,0) 0x15, 0x16, 0x17, 0x18 Attribute: compound {2} Type: struct { "a" +0 8-bit integer "b" +4 IEEE 64-bit little-endian float } 12 bytes Data: {1, 2}, {3, 4} - Attribute: reference {2} - Type: object reference - Data: DATASET-1:976, DATASET-1:976 - Attribute: enum {2} - Type: enum 32-bit little-endian integer { - RED = 0 - GREEN = 1 - } - Data: RED, RED - Attribute: vlen {2} - Type: variable length of - 32-bit little-endian integer - Data: (1), (2,3) - Attribute: array {2} - Type: [3] 32-bit little-endian integer - Data: [1,2,3], [4,5,6] - Attribute: integer {2} - Type: 32-bit little-endian integer - Data: 1, 2 - Attribute: float {2} - Type: IEEE 32-bit little-endian float - Data: 1, 2 - Attribute: string2D {3, 2} - Type: 2-byte null-terminated ASCII string - Data: - (0,0) "ab", "cd", "ef", "gh", "ij", "kl" - Attribute: bitfield2D {3, 2} - Type: 8-bit bitfield - Data: - (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 - Attribute: opaque2D {3, 2} - Type: 1-byte opaque type - (tag = "1-byte opaque type") - Data: - (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 Attribute: compound2D {3, 2} Type: struct { "a" +0 8-bit integer @@ -204,11 +187,22 @@ dset Dataset {2/2} } 12 bytes Data: (0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12} - Attribute: reference2D {3, 2} - Type: object reference + Attribute: compound3D {4, 3, 2} + Type: struct { + "a" +0 8-bit integer + "b" +4 IEEE 64-bit little-endian float + } 12 bytes Data: - (0,0) DATASET-1:976, DATASET-1:976, DATASET-1:976, DATASET-1:976, - (2,0) DATASET-1:976, DATASET-1:976 + (0,0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}, {13, + (1,0,0) 14}, {15, 16}, {17, 18}, {19, 20}, {21, 22}, {23, 24}, + (2,0,0) {25, 26}, {27, 28}, {29, 30}, {31, 32}, {33, 34}, {35, 36}, + (3,0,0) {37, 38}, {39, 40}, {41, 42}, {43, 44}, {45, 46}, {47, 48} + Attribute: enum {2} + Type: enum 32-bit little-endian integer { + RED = 0 + GREEN = 1 + } + Data: RED, RED Attribute: enum2D {3, 2} Type: enum 32-bit little-endian integer { RED = 0 @@ -216,35 +210,47 @@ dset Dataset {2/2} } Data: (0,0) RED, RED, RED, RED, RED, RED - Attribute: vlen2D {3, 2} - Type: variable length of - 32-bit little-endian integer - Data: - (0,0) (0), (1), (2,3), (4,5), (6,7,8), (9,10,11) - Attribute: array2D {3, 2} - Type: [3] 32-bit little-endian integer + Attribute: enum3D {4, 3, 2} + Type: enum 32-bit little-endian integer { + RED = 0 + GREEN = 1 + } Data: - (0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], [16,17,18] - Attribute: integer2D {3, 2} - Type: 32-bit little-endian integer + (0,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, + (2,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED + Attribute: float {2} + Type: IEEE 32-bit little-endian float + Data: 1, 2 + Attribute: float2D {3, 2} + Type: IEEE 32-bit little-endian float Data: (0,0) 1, 2, 3, 4, 5, 6 - Attribute: float2D {3, 2} + Attribute: float3D {4, 3, 2} Type: IEEE 32-bit little-endian float Data: + (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, + (2,2,1) 18, 19, 20, 21, 22, 23, 24 + Attribute: integer {2} + Type: 32-bit little-endian integer + Data: 1, 2 + Attribute: integer2D {3, 2} + Type: 32-bit little-endian integer + Data: (0,0) 1, 2, 3, 4, 5, 6 - Attribute: string3D {4, 3, 2} - Type: 2-byte null-terminated ASCII string + Attribute: integer3D {4, 3, 2} + Type: 32-bit little-endian integer Data: - (0,0,0) "ab", "cd", "ef", "gh", "ij", "kl", "mn", "pq", "rs", "tu", - (1,2,0) "vw", "xz", "AB", "CD", "EF", "GH", "IJ", "KL", "MN", "PQ", - (3,1,0) "RS", "TU", "VW", "XZ" - Attribute: bitfield3D {4, 3, 2} - Type: 8-bit bitfield + (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, + (2,2,1) 18, 19, 20, 21, 22, 23, 24 + Attribute: opaque {2} + Type: 1-byte opaque type + (tag = "1-byte opaque type") + Data: 0x01, 0x02 + Attribute: opaque2D {3, 2} + Type: 1-byte opaque type + (tag = "1-byte opaque type") Data: - (0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, - (1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, - (3,1,0) 0x15, 0x16, 0x17, 0x18 + (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 Attribute: opaque3D {4, 3, 2} Type: 1-byte opaque type (tag = "1-byte opaque type") @@ -252,16 +258,14 @@ dset Dataset {2/2} (0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, (1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, (3,1,0) 0x15, 0x16, 0x17, 0x18 - Attribute: compound3D {4, 3, 2} - Type: struct { - "a" +0 8-bit integer - "b" +4 IEEE 64-bit little-endian float - } 12 bytes + Attribute: reference {2} + Type: object reference + Data: DATASET-1:976, DATASET-1:976 + Attribute: reference2D {3, 2} + Type: object reference Data: - (0,0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}, {13, - (1,0,0) 14}, {15, 16}, {17, 18}, {19, 20}, {21, 22}, {23, 24}, - (2,0,0) {25, 26}, {27, 28}, {29, 30}, {31, 32}, {33, 34}, {35, 36}, - (3,0,0) {37, 38}, {39, 40}, {41, 42}, {43, 44}, {45, 46}, {47, 48} + (0,0) DATASET-1:976, DATASET-1:976, DATASET-1:976, DATASET-1:976, + (2,0) DATASET-1:976, DATASET-1:976 Attribute: reference3D {4, 3, 2} Type: object reference Data: @@ -271,14 +275,28 @@ dset Dataset {2/2} (2,0,0) DATASET-1:976, DATASET-1:976, DATASET-1:976, DATASET-1:976, (2,2,0) DATASET-1:976, DATASET-1:976, DATASET-1:976, DATASET-1:976, (3,1,0) DATASET-1:976, DATASET-1:976, DATASET-1:976, DATASET-1:976 - Attribute: enum3D {4, 3, 2} - Type: enum 32-bit little-endian integer { - RED = 0 - GREEN = 1 - } + Attribute: string {2} + Type: 2-byte null-terminated ASCII string + Data: "ab", "de" + Attribute: string2D {3, 2} + Type: 2-byte null-terminated ASCII string Data: - (0,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, - (2,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED + (0,0) "ab", "cd", "ef", "gh", "ij", "kl" + Attribute: string3D {4, 3, 2} + Type: 2-byte null-terminated ASCII string + Data: + (0,0,0) "ab", "cd", "ef", "gh", "ij", "kl", "mn", "pq", "rs", "tu", + (1,2,0) "vw", "xz", "AB", "CD", "EF", "GH", "IJ", "KL", "MN", "PQ", + (3,1,0) "RS", "TU", "VW", "XZ" + Attribute: vlen {2} + Type: variable length of + 32-bit little-endian integer + Data: (1), (2,3) + Attribute: vlen2D {3, 2} + Type: variable length of + 32-bit little-endian integer + Data: + (0,0) (0), (1), (2,3), (4,5), (6,7,8), (9,10,11) Attribute: vlen3D {4, 3, 2} Type: variable length of 32-bit little-endian integer @@ -288,6 +306,19 @@ dset Dataset {2/2} (2,1,0) (24,25,26), (27,28,29), (30,31,32), (33,34,35), (3,0,0) (36,37,38,39), (40,41,42,43), (44,45,46,47), (48,49,50,51), (3,2,0) (52,53,54,55), (56,57,58,59) + Location: 1:976 + Links: 1 + Modified: XXXX-XX-XX XX:XX:XX XXX + Storage: 8 logical bytes, 0 allocated bytes + Type: 32-bit little-endian integer +g1 Group + Attribute: array {2} + Type: [3] 32-bit little-endian integer + Data: [1,2,3], [4,5,6] + Attribute: array2D {3, 2} + Type: [3] 32-bit little-endian integer + Data: + (0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], [16,17,18] Attribute: array3D {4, 3, 2} Type: [3] 32-bit little-endian integer Data: @@ -296,70 +327,25 @@ dset Dataset {2/2} (1,2,0) [31,32,33], [34,35,36], [37,38,39], [40,41,42], [43,44,45], (2,1,1) [46,47,48], [49,50,51], [52,53,54], [55,56,57], [58,59,60], (3,1,0) [61,62,63], [64,65,66], [67,68,69], [70,71,72] - Attribute: integer3D {4, 3, 2} - Type: 32-bit little-endian integer - Data: - (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, - (2,2,1) 18, 19, 20, 21, 22, 23, 24 - Attribute: float3D {4, 3, 2} - Type: IEEE 32-bit little-endian float - Data: - (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, - (2,2,1) 18, 19, 20, 21, 22, 23, 24 - Location: 1:976 - Links: 1 - Modified: XXXX-XX-XX XX:XX:XX XXX - Storage: 8 logical bytes, 0 allocated bytes - Type: 32-bit little-endian integer -g1 Group - Attribute: string {2} - Type: 2-byte null-terminated ASCII string - Data: "ab", "de" Attribute: bitfield {2} Type: 8-bit bitfield Data: 0x01, 0x02 - Attribute: opaque {2} - Type: 1-byte opaque type - (tag = "1-byte opaque type") - Data: 0x01, 0x02 + Attribute: bitfield2D {3, 2} + Type: 8-bit bitfield + Data: + (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 + Attribute: bitfield3D {4, 3, 2} + Type: 8-bit bitfield + Data: + (0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, + (1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, + (3,1,0) 0x15, 0x16, 0x17, 0x18 Attribute: compound {2} Type: struct { "a" +0 8-bit integer "b" +4 IEEE 64-bit little-endian float } 12 bytes Data: {1, 2}, {3, 4} - Attribute: enum {2} - Type: enum 32-bit little-endian integer { - RED = 0 - GREEN = 1 - } - Data: RED, RED - Attribute: vlen {2} - Type: variable length of - 32-bit little-endian integer - Data: (1), (2,3) - Attribute: array {2} - Type: [3] 32-bit little-endian integer - Data: [1,2,3], [4,5,6] - Attribute: integer {2} - Type: 32-bit little-endian integer - Data: 1, 2 - Attribute: float {2} - Type: IEEE 32-bit little-endian float - Data: 1, 2 - Attribute: string2D {3, 2} - Type: 2-byte null-terminated ASCII string - Data: - (0,0) "ab", "cd", "ef", "gh", "ij", "kl" - Attribute: bitfield2D {3, 2} - Type: 8-bit bitfield - Data: - (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 - Attribute: opaque2D {3, 2} - Type: 1-byte opaque type - (tag = "1-byte opaque type") - Data: - (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 Attribute: compound2D {3, 2} Type: struct { "a" +0 8-bit integer @@ -367,6 +353,22 @@ g1 Group } 12 bytes Data: (0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12} + Attribute: compound3D {4, 3, 2} + Type: struct { + "a" +0 8-bit integer + "b" +4 IEEE 64-bit little-endian float + } 12 bytes + Data: + (0,0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}, {13, + (1,0,0) 14}, {15, 16}, {17, 18}, {19, 20}, {21, 22}, {23, 24}, + (2,0,0) {25, 26}, {27, 28}, {29, 30}, {31, 32}, {33, 34}, {35, 36}, + (3,0,0) {37, 38}, {39, 40}, {41, 42}, {43, 44}, {45, 46}, {47, 48} + Attribute: enum {2} + Type: enum 32-bit little-endian integer { + RED = 0 + GREEN = 1 + } + Data: RED, RED Attribute: enum2D {3, 2} Type: enum 32-bit little-endian integer { RED = 0 @@ -374,35 +376,47 @@ g1 Group } Data: (0,0) RED, RED, RED, RED, RED, RED - Attribute: vlen2D {3, 2} - Type: variable length of - 32-bit little-endian integer - Data: - (0,0) (0), (1), (2,3), (4,5), (6,7,8), (9,10,11) - Attribute: array2D {3, 2} - Type: [3] 32-bit little-endian integer + Attribute: enum3D {4, 3, 2} + Type: enum 32-bit little-endian integer { + RED = 0 + GREEN = 1 + } Data: - (0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], [16,17,18] - Attribute: integer2D {3, 2} - Type: 32-bit little-endian integer + (0,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, + (2,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED + Attribute: float {2} + Type: IEEE 32-bit little-endian float + Data: 1, 2 + Attribute: float2D {3, 2} + Type: IEEE 32-bit little-endian float Data: (0,0) 1, 2, 3, 4, 5, 6 - Attribute: float2D {3, 2} + Attribute: float3D {4, 3, 2} Type: IEEE 32-bit little-endian float Data: + (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, + (2,2,1) 18, 19, 20, 21, 22, 23, 24 + Attribute: integer {2} + Type: 32-bit little-endian integer + Data: 1, 2 + Attribute: integer2D {3, 2} + Type: 32-bit little-endian integer + Data: (0,0) 1, 2, 3, 4, 5, 6 - Attribute: string3D {4, 3, 2} - Type: 2-byte null-terminated ASCII string + Attribute: integer3D {4, 3, 2} + Type: 32-bit little-endian integer Data: - (0,0,0) "ab", "cd", "ef", "gh", "ij", "kl", "mn", "pq", "rs", "tu", - (1,2,0) "vw", "xz", "AB", "CD", "EF", "GH", "IJ", "KL", "MN", "PQ", - (3,1,0) "RS", "TU", "VW", "XZ" - Attribute: bitfield3D {4, 3, 2} - Type: 8-bit bitfield + (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, + (2,2,1) 18, 19, 20, 21, 22, 23, 24 + Attribute: opaque {2} + Type: 1-byte opaque type + (tag = "1-byte opaque type") + Data: 0x01, 0x02 + Attribute: opaque2D {3, 2} + Type: 1-byte opaque type + (tag = "1-byte opaque type") Data: - (0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, - (1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, - (3,1,0) 0x15, 0x16, 0x17, 0x18 + (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 Attribute: opaque3D {4, 3, 2} Type: 1-byte opaque type (tag = "1-byte opaque type") @@ -410,24 +424,28 @@ g1 Group (0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, (1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, (3,1,0) 0x15, 0x16, 0x17, 0x18 - Attribute: compound3D {4, 3, 2} - Type: struct { - "a" +0 8-bit integer - "b" +4 IEEE 64-bit little-endian float - } 12 bytes + Attribute: string {2} + Type: 2-byte null-terminated ASCII string + Data: "ab", "de" + Attribute: string2D {3, 2} + Type: 2-byte null-terminated ASCII string Data: - (0,0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}, {13, - (1,0,0) 14}, {15, 16}, {17, 18}, {19, 20}, {21, 22}, {23, 24}, - (2,0,0) {25, 26}, {27, 28}, {29, 30}, {31, 32}, {33, 34}, {35, 36}, - (3,0,0) {37, 38}, {39, 40}, {41, 42}, {43, 44}, {45, 46}, {47, 48} - Attribute: enum3D {4, 3, 2} - Type: enum 32-bit little-endian integer { - RED = 0 - GREEN = 1 - } + (0,0) "ab", "cd", "ef", "gh", "ij", "kl" + Attribute: string3D {4, 3, 2} + Type: 2-byte null-terminated ASCII string Data: - (0,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, - (2,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED + (0,0,0) "ab", "cd", "ef", "gh", "ij", "kl", "mn", "pq", "rs", "tu", + (1,2,0) "vw", "xz", "AB", "CD", "EF", "GH", "IJ", "KL", "MN", "PQ", + (3,1,0) "RS", "TU", "VW", "XZ" + Attribute: vlen {2} + Type: variable length of + 32-bit little-endian integer + Data: (1), (2,3) + Attribute: vlen2D {3, 2} + Type: variable length of + 32-bit little-endian integer + Data: + (0,0) (0), (1), (2,3), (4,5), (6,7,8), (9,10,11) Attribute: vlen3D {4, 3, 2} Type: variable length of 32-bit little-endian integer @@ -437,24 +455,6 @@ g1 Group (2,1,0) (24,25,26), (27,28,29), (30,31,32), (33,34,35), (3,0,0) (36,37,38,39), (40,41,42,43), (44,45,46,47), (48,49,50,51), (3,2,0) (52,53,54,55), (56,57,58,59) - Attribute: array3D {4, 3, 2} - Type: [3] 32-bit little-endian integer - Data: - (0,0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], - (0,2,1) [16,17,18], [19,20,21], [22,23,24], [25,26,27], [28,29,30], - (1,2,0) [31,32,33], [34,35,36], [37,38,39], [40,41,42], [43,44,45], - (2,1,1) [46,47,48], [49,50,51], [52,53,54], [55,56,57], [58,59,60], - (3,1,0) [61,62,63], [64,65,66], [67,68,69], [70,71,72] - Attribute: integer3D {4, 3, 2} - Type: 32-bit little-endian integer - Data: - (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, - (2,2,1) 18, 19, 20, 21, 22, 23, 24 - Attribute: float3D {4, 3, 2} - Type: IEEE 32-bit little-endian float - Data: - (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, - (2,2,1) 18, 19, 20, 21, 22, 23, 24 Location: 1:2176 Links: 1 g2 Group diff --git a/tools/testfiles/tref-escapes-at.h5.xml b/tools/testfiles/tref-escapes-at.h5.xml index 405f652..7d15856 100644 --- a/tools/testfiles/tref-escapes-at.h5.xml +++ b/tools/testfiles/tref-escapes-at.h5.xml @@ -200,7 +200,7 @@ Expected output for 'h5dump --xml tref-escapes-at.h5' <hdf5:IntegerType ByteOrder="BE" Sign="false" Size="1" /> </hdf5:AtomicType> </hdf5:DataType> - <hdf5:Attribute Name="reftoquote"> + <hdf5:Attribute Name="reftoamp"> <hdf5:Dataspace> <hdf5:SimpleDataspace Ndims="1"> <hdf5:Dimension DimSize="1" MaxDimSize="1"/> @@ -215,11 +215,11 @@ Expected output for 'h5dump --xml tref-escapes-at.h5' </hdf5:DataType> <hdf5:Data> <hdf5:DataFromFile> - "/Group1/Dataset\"quote" + "/Group1/Dataset&amp" </hdf5:DataFromFile> </hdf5:Data> </hdf5:Attribute> - <hdf5:Attribute Name="reftoslash"> + <hdf5:Attribute Name="reftoapos"> <hdf5:Dataspace> <hdf5:SimpleDataspace Ndims="1"> <hdf5:Dimension DimSize="1" MaxDimSize="1"/> @@ -234,11 +234,11 @@ Expected output for 'h5dump --xml tref-escapes-at.h5' </hdf5:DataType> <hdf5:Data> <hdf5:DataFromFile> - "/Group1/Dataset\\slash" + "/Group1/Dataset'apos" </hdf5:DataFromFile> </hdf5:Data> </hdf5:Attribute> - <hdf5:Attribute Name="reftoamp"> + <hdf5:Attribute Name="reftogt"> <hdf5:Dataspace> <hdf5:SimpleDataspace Ndims="1"> <hdf5:Dimension DimSize="1" MaxDimSize="1"/> @@ -253,7 +253,7 @@ Expected output for 'h5dump --xml tref-escapes-at.h5' </hdf5:DataType> <hdf5:Data> <hdf5:DataFromFile> - "/Group1/Dataset&amp" + "/Group1/Dataset>gt" </hdf5:DataFromFile> </hdf5:Data> </hdf5:Attribute> @@ -276,7 +276,7 @@ Expected output for 'h5dump --xml tref-escapes-at.h5' </hdf5:DataFromFile> </hdf5:Data> </hdf5:Attribute> - <hdf5:Attribute Name="reftogt"> + <hdf5:Attribute Name="reftoquote"> <hdf5:Dataspace> <hdf5:SimpleDataspace Ndims="1"> <hdf5:Dimension DimSize="1" MaxDimSize="1"/> @@ -291,11 +291,11 @@ Expected output for 'h5dump --xml tref-escapes-at.h5' </hdf5:DataType> <hdf5:Data> <hdf5:DataFromFile> - "/Group1/Dataset>gt" + "/Group1/Dataset\"quote" </hdf5:DataFromFile> </hdf5:Data> </hdf5:Attribute> - <hdf5:Attribute Name="reftoapos"> + <hdf5:Attribute Name="reftoslash"> <hdf5:Dataspace> <hdf5:SimpleDataspace Ndims="1"> <hdf5:Dimension DimSize="1" MaxDimSize="1"/> @@ -310,7 +310,7 @@ Expected output for 'h5dump --xml tref-escapes-at.h5' </hdf5:DataType> <hdf5:Data> <hdf5:DataFromFile> - "/Group1/Dataset'apos" + "/Group1/Dataset\\slash" </hdf5:DataFromFile> </hdf5:Data> </hdf5:Attribute> diff --git a/tools/testfiles/treference.ddl b/tools/testfiles/treference.ddl index 9a21ef7..b34fa8d 100644 --- a/tools/testfiles/treference.ddl +++ b/tools/testfiles/treference.ddl @@ -3,16 +3,38 @@ Expected output for 'h5dump tattr2.h5' ############################# HDF5 "tattr2.h5" { GROUP "/" { - ATTRIBUTE "string" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } + ATTRIBUTE "array" { + DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0): "ab", "de" + (0): [ 1, 2, 3 ], [ 4, 5, 6 ] + } + } + ATTRIBUTE "array2D" { + DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], + (1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], + (2,0): [ 13, 14, 15 ], [ 16, 17, 18 ] + } + } + ATTRIBUTE "array3D" { + DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], + (0,1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], + (0,2,0): [ 13, 14, 15 ], [ 16, 17, 18 ], + (1,0,0): [ 19, 20, 21 ], [ 22, 23, 24 ], + (1,1,0): [ 25, 26, 27 ], [ 28, 29, 30 ], + (1,2,0): [ 31, 32, 33 ], [ 34, 35, 36 ], + (2,0,0): [ 37, 38, 39 ], [ 40, 41, 42 ], + (2,1,0): [ 43, 44, 45 ], [ 46, 47, 48 ], + (2,2,0): [ 49, 50, 51 ], [ 52, 53, 54 ], + (3,0,0): [ 55, 56, 57 ], [ 58, 59, 60 ], + (3,1,0): [ 61, 62, 63 ], [ 64, 65, 66 ], + (3,2,0): [ 67, 68, 69 ], [ 70, 71, 72 ] } } ATTRIBUTE "bitfield" { @@ -22,14 +44,31 @@ GROUP "/" { (0): 0x01, 0x02 } } - ATTRIBUTE "opaque" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + ATTRIBUTE "bitfield2D" { + DATATYPE H5T_STD_B8LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0): 0x01, 0x02 + (0,0): 0x01, 0x02, + (1,0): 0x03, 0x04, + (2,0): 0x05, 0x06 + } + } + ATTRIBUTE "bitfield3D" { + DATATYPE H5T_STD_B8LE + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): 0x01, 0x02, + (0,1,0): 0x03, 0x04, + (0,2,0): 0x05, 0x06, + (1,0,0): 0x07, 0x08, + (1,1,0): 0x09, 0x0a, + (1,2,0): 0x0b, 0x0c, + (2,0,0): 0x0d, 0x0e, + (2,1,0): 0x0f, 0x10, + (2,2,0): 0x11, 0x12, + (3,0,0): 0x13, 0x14, + (3,1,0): 0x15, 0x16, + (3,2,0): 0x17, 0x18 } } ATTRIBUTE "compound" { @@ -49,80 +88,6 @@ GROUP "/" { } } } - ATTRIBUTE "enum" { - DATATYPE H5T_ENUM { - H5T_STD_I32LE; - "RED" 0; - "GREEN" 1; - } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): RED, RED - } - } - ATTRIBUTE "vlen" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): (1), (2, 3) - } - } - ATTRIBUTE "array" { - DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): [ 1, 2, 3 ], [ 4, 5, 6 ] - } - } - ATTRIBUTE "integer" { - DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): 1, 2 - } - } - ATTRIBUTE "float" { - DATATYPE H5T_IEEE_F32LE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): 1, 2 - } - } - ATTRIBUTE "string2D" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): "ab", "cd", - (1,0): "ef", "gh", - (2,0): "ij", "kl" - } - } - ATTRIBUTE "bitfield2D" { - DATATYPE H5T_STD_B8LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): 0x01, 0x02, - (1,0): 0x03, 0x04, - (2,0): 0x05, 0x06 - } - } - ATTRIBUTE "opaque2D" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): 0x01, 0x02, - (1,0): 0x03, 0x04, - (2,0): 0x05, 0x06 - } - } ATTRIBUTE "compound2D" { DATATYPE H5T_COMPOUND { H5T_STD_I8LE "a"; @@ -156,117 +121,6 @@ GROUP "/" { } } } - ATTRIBUTE "enum2D" { - DATATYPE H5T_ENUM { - H5T_STD_I32LE; - "RED" 0; - "GREEN" 1; - } - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): RED, RED, - (1,0): RED, RED, - (2,0): RED, RED - } - } - ATTRIBUTE "vlen2D" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): (0), (1), - (1,0): (2, 3), (4, 5), - (2,0): (6, 7, 8), (9, 10, 11) - } - } - ATTRIBUTE "array2D" { - DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], - (1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], - (2,0): [ 13, 14, 15 ], [ 16, 17, 18 ] - } - } - ATTRIBUTE "integer2D" { - DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): 1, 2, - (1,0): 3, 4, - (2,0): 5, 6 - } - } - ATTRIBUTE "float2D" { - DATATYPE H5T_IEEE_F32LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): 1, 2, - (1,0): 3, 4, - (2,0): 5, 6 - } - } - ATTRIBUTE "string3D" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } - DATA { - (0,0,0): "ab", "cd", - (0,1,0): "ef", "gh", - (0,2,0): "ij", "kl", - (1,0,0): "mn", "pq", - (1,1,0): "rs", "tu", - (1,2,0): "vw", "xz", - (2,0,0): "AB", "CD", - (2,1,0): "EF", "GH", - (2,2,0): "IJ", "KL", - (3,0,0): "MN", "PQ", - (3,1,0): "RS", "TU", - (3,2,0): "VW", "XZ" - } - } - ATTRIBUTE "bitfield3D" { - DATATYPE H5T_STD_B8LE - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } - DATA { - (0,0,0): 0x01, 0x02, - (0,1,0): 0x03, 0x04, - (0,2,0): 0x05, 0x06, - (1,0,0): 0x07, 0x08, - (1,1,0): 0x09, 0x0a, - (1,2,0): 0x0b, 0x0c, - (2,0,0): 0x0d, 0x0e, - (2,1,0): 0x0f, 0x10, - (2,2,0): 0x11, 0x12, - (3,0,0): 0x13, 0x14, - (3,1,0): 0x15, 0x16, - (3,2,0): 0x17, 0x18 - } - } - ATTRIBUTE "opaque3D" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } - DATA { - (0,0,0): 0x01, 0x02, - (0,1,0): 0x03, 0x04, - (0,2,0): 0x05, 0x06, - (1,0,0): 0x07, 0x08, - (1,1,0): 0x09, 0x0a, - (1,2,0): 0x0b, 0x0c, - (2,0,0): 0x0d, 0x0e, - (2,1,0): 0x0f, 0x10, - (2,2,0): 0x11, 0x12, - (3,0,0): 0x13, 0x14, - (3,1,0): 0x15, 0x16, - (3,2,0): 0x17, 0x18 - } - } ATTRIBUTE "compound3D" { DATATYPE H5T_COMPOUND { H5T_STD_I8LE "a"; @@ -372,6 +226,30 @@ GROUP "/" { } } } + ATTRIBUTE "enum" { + DATATYPE H5T_ENUM { + H5T_STD_I32LE; + "RED" 0; + "GREEN" 1; + } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): RED, RED + } + } + ATTRIBUTE "enum2D" { + DATATYPE H5T_ENUM { + H5T_STD_I32LE; + "RED" 0; + "GREEN" 1; + } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): RED, RED, + (1,0): RED, RED, + (2,0): RED, RED + } + } ATTRIBUTE "enum3D" { DATATYPE H5T_ENUM { H5T_STD_I32LE; @@ -394,44 +272,24 @@ GROUP "/" { (3,2,0): RED, RED } } - ATTRIBUTE "vlen3D" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "float" { + DATATYPE H5T_IEEE_F32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0,0): (0), (1), - (0,1,0): (2), (3), - (0,2,0): (4), (5), - (1,0,0): (6, 7), (8, 9), - (1,1,0): (10, 11), (12, 13), - (1,2,0): (14, 15), (16, 17), - (2,0,0): (18, 19, 20), (21, 22, 23), - (2,1,0): (24, 25, 26), (27, 28, 29), - (2,2,0): (30, 31, 32), (33, 34, 35), - (3,0,0): (36, 37, 38, 39), (40, 41, 42, 43), - (3,1,0): (44, 45, 46, 47), (48, 49, 50, 51), - (3,2,0): (52, 53, 54, 55), (56, 57, 58, 59) + (0): 1, 2 } } - ATTRIBUTE "array3D" { - DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "float2D" { + DATATYPE H5T_IEEE_F32LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0,0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], - (0,1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], - (0,2,0): [ 13, 14, 15 ], [ 16, 17, 18 ], - (1,0,0): [ 19, 20, 21 ], [ 22, 23, 24 ], - (1,1,0): [ 25, 26, 27 ], [ 28, 29, 30 ], - (1,2,0): [ 31, 32, 33 ], [ 34, 35, 36 ], - (2,0,0): [ 37, 38, 39 ], [ 40, 41, 42 ], - (2,1,0): [ 43, 44, 45 ], [ 46, 47, 48 ], - (2,2,0): [ 49, 50, 51 ], [ 52, 53, 54 ], - (3,0,0): [ 55, 56, 57 ], [ 58, 59, 60 ], - (3,1,0): [ 61, 62, 63 ], [ 64, 65, 66 ], - (3,2,0): [ 67, 68, 69 ], [ 70, 71, 72 ] + (0,0): 1, 2, + (1,0): 3, 4, + (2,0): 5, 6 } } - ATTRIBUTE "integer3D" { - DATATYPE H5T_STD_I32LE + ATTRIBUTE "float3D" { + DATATYPE H5T_IEEE_F32LE DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { (0,0,0): 1, 2, @@ -448,8 +306,24 @@ GROUP "/" { (3,2,0): 23, 24 } } - ATTRIBUTE "float3D" { - DATATYPE H5T_IEEE_F32LE + ATTRIBUTE "integer" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): 1, 2 + } + } + ATTRIBUTE "integer2D" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): 1, 2, + (1,0): 3, 4, + (2,0): 5, 6 + } + } + ATTRIBUTE "integer3D" { + DATATYPE H5T_STD_I32LE DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { (0,0,0): 1, 2, @@ -466,82 +340,137 @@ GROUP "/" { (3,2,0): 23, 24 } } - DATASET "dset" { - DATATYPE H5T_STD_I32LE + ATTRIBUTE "opaque" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0): 0, 0 + (0): 0x01, 0x02 } - ATTRIBUTE "string" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): "ab", "de" - } + } + ATTRIBUTE "opaque2D" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): 0x01, 0x02, + (1,0): 0x03, 0x04, + (2,0): 0x05, 0x06 } - ATTRIBUTE "bitfield" { - DATATYPE H5T_STD_B8LE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): 0x01, 0x02 - } + } + ATTRIBUTE "opaque3D" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): 0x01, 0x02, + (0,1,0): 0x03, 0x04, + (0,2,0): 0x05, 0x06, + (1,0,0): 0x07, 0x08, + (1,1,0): 0x09, 0x0a, + (1,2,0): 0x0b, 0x0c, + (2,0,0): 0x0d, 0x0e, + (2,1,0): 0x0f, 0x10, + (2,2,0): 0x11, 0x12, + (3,0,0): 0x13, 0x14, + (3,1,0): 0x15, 0x16, + (3,2,0): 0x17, 0x18 } - ATTRIBUTE "opaque" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): 0x01, 0x02 + } + ATTRIBUTE "string" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): "ab", "de" } - ATTRIBUTE "compound" { - DATATYPE H5T_COMPOUND { - H5T_STD_I8LE "a"; - H5T_IEEE_F64LE "b"; - } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): { - 1, - 2 - }, - (1): { - 3, - 4 - } + } + ATTRIBUTE "string2D" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): "ab", "cd", + (1,0): "ef", "gh", + (2,0): "ij", "kl" } - ATTRIBUTE "reference" { - DATATYPE H5T_REFERENCE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): DATASET 976 /dset , DATASET 976 /dset + } + ATTRIBUTE "string3D" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; } + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): "ab", "cd", + (0,1,0): "ef", "gh", + (0,2,0): "ij", "kl", + (1,0,0): "mn", "pq", + (1,1,0): "rs", "tu", + (1,2,0): "vw", "xz", + (2,0,0): "AB", "CD", + (2,1,0): "EF", "GH", + (2,2,0): "IJ", "KL", + (3,0,0): "MN", "PQ", + (3,1,0): "RS", "TU", + (3,2,0): "VW", "XZ" } - ATTRIBUTE "enum" { - DATATYPE H5T_ENUM { - H5T_STD_I32LE; - "RED" 0; - "GREEN" 1; - } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): RED, RED - } + } + ATTRIBUTE "vlen" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): (1), (2, 3) } - ATTRIBUTE "vlen" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): (1), (2, 3) - } + } + ATTRIBUTE "vlen2D" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): (0), (1), + (1,0): (2, 3), (4, 5), + (2,0): (6, 7, 8), (9, 10, 11) + } + } + ATTRIBUTE "vlen3D" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): (0), (1), + (0,1,0): (2), (3), + (0,2,0): (4), (5), + (1,0,0): (6, 7), (8, 9), + (1,1,0): (10, 11), (12, 13), + (1,2,0): (14, 15), (16, 17), + (2,0,0): (18, 19, 20), (21, 22, 23), + (2,1,0): (24, 25, 26), (27, 28, 29), + (2,2,0): (30, 31, 32), (33, 34, 35), + (3,0,0): (36, 37, 38, 39), (40, 41, 42, 43), + (3,1,0): (44, 45, 46, 47), (48, 49, 50, 51), + (3,2,0): (52, 53, 54, 55), (56, 57, 58, 59) + } + } + DATASET "dset" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): 0, 0 } ATTRIBUTE "array" { DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } @@ -550,32 +479,38 @@ GROUP "/" { (0): [ 1, 2, 3 ], [ 4, 5, 6 ] } } - ATTRIBUTE "integer" { - DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + ATTRIBUTE "array2D" { + DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0): 1, 2 + (0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], + (1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], + (2,0): [ 13, 14, 15 ], [ 16, 17, 18 ] } } - ATTRIBUTE "float" { - DATATYPE H5T_IEEE_F32LE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + ATTRIBUTE "array3D" { + DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { - (0): 1, 2 + (0,0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], + (0,1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], + (0,2,0): [ 13, 14, 15 ], [ 16, 17, 18 ], + (1,0,0): [ 19, 20, 21 ], [ 22, 23, 24 ], + (1,1,0): [ 25, 26, 27 ], [ 28, 29, 30 ], + (1,2,0): [ 31, 32, 33 ], [ 34, 35, 36 ], + (2,0,0): [ 37, 38, 39 ], [ 40, 41, 42 ], + (2,1,0): [ 43, 44, 45 ], [ 46, 47, 48 ], + (2,2,0): [ 49, 50, 51 ], [ 52, 53, 54 ], + (3,0,0): [ 55, 56, 57 ], [ 58, 59, 60 ], + (3,1,0): [ 61, 62, 63 ], [ 64, 65, 66 ], + (3,2,0): [ 67, 68, 69 ], [ 70, 71, 72 ] } } - ATTRIBUTE "string2D" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + ATTRIBUTE "bitfield" { + DATATYPE H5T_STD_B8LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0): "ab", "cd", - (1,0): "ef", "gh", - (2,0): "ij", "kl" + (0): 0x01, 0x02 } } ATTRIBUTE "bitfield2D" { @@ -587,16 +522,39 @@ GROUP "/" { (2,0): 0x05, 0x06 } } - ATTRIBUTE "opaque2D" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + ATTRIBUTE "bitfield3D" { + DATATYPE H5T_STD_B8LE + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { - (0,0): 0x01, 0x02, - (1,0): 0x03, 0x04, - (2,0): 0x05, 0x06 + (0,0,0): 0x01, 0x02, + (0,1,0): 0x03, 0x04, + (0,2,0): 0x05, 0x06, + (1,0,0): 0x07, 0x08, + (1,1,0): 0x09, 0x0a, + (1,2,0): 0x0b, 0x0c, + (2,0,0): 0x0d, 0x0e, + (2,1,0): 0x0f, 0x10, + (2,2,0): 0x11, 0x12, + (3,0,0): 0x13, 0x14, + (3,1,0): 0x15, 0x16, + (3,2,0): 0x17, 0x18 + } + } + ATTRIBUTE "compound" { + DATATYPE H5T_COMPOUND { + H5T_STD_I8LE "a"; + H5T_IEEE_F64LE "b"; + } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): { + 1, + 2 + }, + (1): { + 3, + 4 + } } } ATTRIBUTE "compound2D" { @@ -632,126 +590,6 @@ GROUP "/" { } } } - ATTRIBUTE "reference2D" { - DATATYPE H5T_REFERENCE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): DATASET 976 /dset , DATASET 976 /dset , - (1,0): DATASET 976 /dset , DATASET 976 /dset , - (2,0): DATASET 976 /dset , DATASET 976 /dset - } - } - ATTRIBUTE "enum2D" { - DATATYPE H5T_ENUM { - H5T_STD_I32LE; - "RED" 0; - "GREEN" 1; - } - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): RED, RED, - (1,0): RED, RED, - (2,0): RED, RED - } - } - ATTRIBUTE "vlen2D" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): (0), (1), - (1,0): (2, 3), (4, 5), - (2,0): (6, 7, 8), (9, 10, 11) - } - } - ATTRIBUTE "array2D" { - DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], - (1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], - (2,0): [ 13, 14, 15 ], [ 16, 17, 18 ] - } - } - ATTRIBUTE "integer2D" { - DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): 1, 2, - (1,0): 3, 4, - (2,0): 5, 6 - } - } - ATTRIBUTE "float2D" { - DATATYPE H5T_IEEE_F32LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): 1, 2, - (1,0): 3, 4, - (2,0): 5, 6 - } - } - ATTRIBUTE "string3D" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } - DATA { - (0,0,0): "ab", "cd", - (0,1,0): "ef", "gh", - (0,2,0): "ij", "kl", - (1,0,0): "mn", "pq", - (1,1,0): "rs", "tu", - (1,2,0): "vw", "xz", - (2,0,0): "AB", "CD", - (2,1,0): "EF", "GH", - (2,2,0): "IJ", "KL", - (3,0,0): "MN", "PQ", - (3,1,0): "RS", "TU", - (3,2,0): "VW", "XZ" - } - } - ATTRIBUTE "bitfield3D" { - DATATYPE H5T_STD_B8LE - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } - DATA { - (0,0,0): 0x01, 0x02, - (0,1,0): 0x03, 0x04, - (0,2,0): 0x05, 0x06, - (1,0,0): 0x07, 0x08, - (1,1,0): 0x09, 0x0a, - (1,2,0): 0x0b, 0x0c, - (2,0,0): 0x0d, 0x0e, - (2,1,0): 0x0f, 0x10, - (2,2,0): 0x11, 0x12, - (3,0,0): 0x13, 0x14, - (3,1,0): 0x15, 0x16, - (3,2,0): 0x17, 0x18 - } - } - ATTRIBUTE "opaque3D" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } - DATA { - (0,0,0): 0x01, 0x02, - (0,1,0): 0x03, 0x04, - (0,2,0): 0x05, 0x06, - (1,0,0): 0x07, 0x08, - (1,1,0): 0x09, 0x0a, - (1,2,0): 0x0b, 0x0c, - (2,0,0): 0x0d, 0x0e, - (2,1,0): 0x0f, 0x10, - (2,2,0): 0x11, 0x12, - (3,0,0): 0x13, 0x14, - (3,1,0): 0x15, 0x16, - (3,2,0): 0x17, 0x18 - } - } ATTRIBUTE "compound3D" { DATATYPE H5T_COMPOUND { H5T_STD_I8LE "a"; @@ -857,22 +695,28 @@ GROUP "/" { } } } - ATTRIBUTE "reference3D" { - DATATYPE H5T_REFERENCE - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "enum" { + DATATYPE H5T_ENUM { + H5T_STD_I32LE; + "RED" 0; + "GREEN" 1; + } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0,0): DATASET 976 /dset , DATASET 976 /dset , - (0,1,0): DATASET 976 /dset , DATASET 976 /dset , - (0,2,0): DATASET 976 /dset , DATASET 976 /dset , - (1,0,0): DATASET 976 /dset , DATASET 976 /dset , - (1,1,0): DATASET 976 /dset , DATASET 976 /dset , - (1,2,0): DATASET 976 /dset , DATASET 976 /dset , - (2,0,0): DATASET 976 /dset , DATASET 976 /dset , - (2,1,0): DATASET 976 /dset , DATASET 976 /dset , - (2,2,0): DATASET 976 /dset , DATASET 976 /dset , - (3,0,0): DATASET 976 /dset , DATASET 976 /dset , - (3,1,0): DATASET 976 /dset , DATASET 976 /dset , - (3,2,0): DATASET 976 /dset , DATASET 976 /dset + (0): RED, RED + } + } + ATTRIBUTE "enum2D" { + DATATYPE H5T_ENUM { + H5T_STD_I32LE; + "RED" 0; + "GREEN" 1; + } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): RED, RED, + (1,0): RED, RED, + (2,0): RED, RED } } ATTRIBUTE "enum3D" { @@ -897,44 +741,24 @@ GROUP "/" { (3,2,0): RED, RED } } - ATTRIBUTE "vlen3D" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "float" { + DATATYPE H5T_IEEE_F32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0,0): (0), (1), - (0,1,0): (2), (3), - (0,2,0): (4), (5), - (1,0,0): (6, 7), (8, 9), - (1,1,0): (10, 11), (12, 13), - (1,2,0): (14, 15), (16, 17), - (2,0,0): (18, 19, 20), (21, 22, 23), - (2,1,0): (24, 25, 26), (27, 28, 29), - (2,2,0): (30, 31, 32), (33, 34, 35), - (3,0,0): (36, 37, 38, 39), (40, 41, 42, 43), - (3,1,0): (44, 45, 46, 47), (48, 49, 50, 51), - (3,2,0): (52, 53, 54, 55), (56, 57, 58, 59) + (0): 1, 2 } } - ATTRIBUTE "array3D" { - DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "float2D" { + DATATYPE H5T_IEEE_F32LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0,0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], - (0,1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], - (0,2,0): [ 13, 14, 15 ], [ 16, 17, 18 ], - (1,0,0): [ 19, 20, 21 ], [ 22, 23, 24 ], - (1,1,0): [ 25, 26, 27 ], [ 28, 29, 30 ], - (1,2,0): [ 31, 32, 33 ], [ 34, 35, 36 ], - (2,0,0): [ 37, 38, 39 ], [ 40, 41, 42 ], - (2,1,0): [ 43, 44, 45 ], [ 46, 47, 48 ], - (2,2,0): [ 49, 50, 51 ], [ 52, 53, 54 ], - (3,0,0): [ 55, 56, 57 ], [ 58, 59, 60 ], - (3,1,0): [ 61, 62, 63 ], [ 64, 65, 66 ], - (3,2,0): [ 67, 68, 69 ], [ 70, 71, 72 ] + (0,0): 1, 2, + (1,0): 3, 4, + (2,0): 5, 6 } } - ATTRIBUTE "integer3D" { - DATATYPE H5T_STD_I32LE + ATTRIBUTE "float3D" { + DATATYPE H5T_IEEE_F32LE DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { (0,0,0): 1, 2, @@ -951,8 +775,24 @@ GROUP "/" { (3,2,0): 23, 24 } } - ATTRIBUTE "float3D" { - DATATYPE H5T_IEEE_F32LE + ATTRIBUTE "integer" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): 1, 2 + } + } + ATTRIBUTE "integer2D" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): 1, 2, + (1,0): 3, 4, + (2,0): 5, 6 + } + } + ATTRIBUTE "integer3D" { + DATATYPE H5T_STD_I32LE DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { (0,0,0): 1, 2, @@ -969,27 +809,6 @@ GROUP "/" { (3,2,0): 23, 24 } } - } - GROUP "g1" { - ATTRIBUTE "string" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): "ab", "de" - } - } - ATTRIBUTE "bitfield" { - DATATYPE H5T_STD_B8LE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): 0x01, 0x02 - } - } ATTRIBUTE "opaque" { DATATYPE H5T_OPAQUE; @@ -1000,60 +819,83 @@ GROUP "/" { (0): 0x01, 0x02 } } - ATTRIBUTE "compound" { - DATATYPE H5T_COMPOUND { - H5T_STD_I8LE "a"; - H5T_IEEE_F64LE "b"; - } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + ATTRIBUTE "opaque2D" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0): { - 1, - 2 - }, - (1): { - 3, - 4 - } + (0,0): 0x01, 0x02, + (1,0): 0x03, 0x04, + (2,0): 0x05, 0x06 } } - ATTRIBUTE "enum" { - DATATYPE H5T_ENUM { - H5T_STD_I32LE; - "RED" 0; - "GREEN" 1; - } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + ATTRIBUTE "opaque3D" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { - (0): RED, RED + (0,0,0): 0x01, 0x02, + (0,1,0): 0x03, 0x04, + (0,2,0): 0x05, 0x06, + (1,0,0): 0x07, 0x08, + (1,1,0): 0x09, 0x0a, + (1,2,0): 0x0b, 0x0c, + (2,0,0): 0x0d, 0x0e, + (2,1,0): 0x0f, 0x10, + (2,2,0): 0x11, 0x12, + (3,0,0): 0x13, 0x14, + (3,1,0): 0x15, 0x16, + (3,2,0): 0x17, 0x18 } } - ATTRIBUTE "vlen" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} + ATTRIBUTE "reference" { + DATATYPE H5T_REFERENCE DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0): (1), (2, 3) + (0): DATASET 976 /dset , DATASET 976 /dset } } - ATTRIBUTE "array" { - DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + ATTRIBUTE "reference2D" { + DATATYPE H5T_REFERENCE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0): [ 1, 2, 3 ], [ 4, 5, 6 ] + (0,0): DATASET 976 /dset , DATASET 976 /dset , + (1,0): DATASET 976 /dset , DATASET 976 /dset , + (2,0): DATASET 976 /dset , DATASET 976 /dset } } - ATTRIBUTE "integer" { - DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + ATTRIBUTE "reference3D" { + DATATYPE H5T_REFERENCE + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { - (0): 1, 2 + (0,0,0): DATASET 976 /dset , DATASET 976 /dset , + (0,1,0): DATASET 976 /dset , DATASET 976 /dset , + (0,2,0): DATASET 976 /dset , DATASET 976 /dset , + (1,0,0): DATASET 976 /dset , DATASET 976 /dset , + (1,1,0): DATASET 976 /dset , DATASET 976 /dset , + (1,2,0): DATASET 976 /dset , DATASET 976 /dset , + (2,0,0): DATASET 976 /dset , DATASET 976 /dset , + (2,1,0): DATASET 976 /dset , DATASET 976 /dset , + (2,2,0): DATASET 976 /dset , DATASET 976 /dset , + (3,0,0): DATASET 976 /dset , DATASET 976 /dset , + (3,1,0): DATASET 976 /dset , DATASET 976 /dset , + (3,2,0): DATASET 976 /dset , DATASET 976 /dset } } - ATTRIBUTE "float" { - DATATYPE H5T_IEEE_F32LE + ATTRIBUTE "string" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0): 1, 2 + (0): "ab", "de" } } ATTRIBUTE "string2D" { @@ -1070,80 +912,70 @@ GROUP "/" { (2,0): "ij", "kl" } } - ATTRIBUTE "bitfield2D" { - DATATYPE H5T_STD_B8LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + ATTRIBUTE "string3D" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { - (0,0): 0x01, 0x02, - (1,0): 0x03, 0x04, - (2,0): 0x05, 0x06 + (0,0,0): "ab", "cd", + (0,1,0): "ef", "gh", + (0,2,0): "ij", "kl", + (1,0,0): "mn", "pq", + (1,1,0): "rs", "tu", + (1,2,0): "vw", "xz", + (2,0,0): "AB", "CD", + (2,1,0): "EF", "GH", + (2,2,0): "IJ", "KL", + (3,0,0): "MN", "PQ", + (3,1,0): "RS", "TU", + (3,2,0): "VW", "XZ" } } - ATTRIBUTE "opaque2D" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + ATTRIBUTE "vlen" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0): 0x01, 0x02, - (1,0): 0x03, 0x04, - (2,0): 0x05, 0x06 + (0): (1), (2, 3) } } - ATTRIBUTE "compound2D" { - DATATYPE H5T_COMPOUND { - H5T_STD_I8LE "a"; - H5T_IEEE_F64LE "b"; - } + ATTRIBUTE "vlen2D" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0,0): { - 1, - 2 - }, - (0,1): { - 3, - 4 - }, - (1,0): { - 5, - 6 - }, - (1,1): { - 7, - 8 - }, - (2,0): { - 9, - 10 - }, - (2,1): { - 11, - 12 - } + (0,0): (0), (1), + (1,0): (2, 3), (4, 5), + (2,0): (6, 7, 8), (9, 10, 11) } } - ATTRIBUTE "enum2D" { - DATATYPE H5T_ENUM { - H5T_STD_I32LE; - "RED" 0; - "GREEN" 1; - } - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + ATTRIBUTE "vlen3D" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { - (0,0): RED, RED, - (1,0): RED, RED, - (2,0): RED, RED + (0,0,0): (0), (1), + (0,1,0): (2), (3), + (0,2,0): (4), (5), + (1,0,0): (6, 7), (8, 9), + (1,1,0): (10, 11), (12, 13), + (1,2,0): (14, 15), (16, 17), + (2,0,0): (18, 19, 20), (21, 22, 23), + (2,1,0): (24, 25, 26), (27, 28, 29), + (2,2,0): (30, 31, 32), (33, 34, 35), + (3,0,0): (36, 37, 38, 39), (40, 41, 42, 43), + (3,1,0): (44, 45, 46, 47), (48, 49, 50, 51), + (3,2,0): (52, 53, 54, 55), (56, 57, 58, 59) } } - ATTRIBUTE "vlen2D" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + } + GROUP "g1" { + ATTRIBUTE "array" { + DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0): (0), (1), - (1,0): (2, 3), (4, 5), - (2,0): (6, 7, 8), (9, 10, 11) + (0): [ 1, 2, 3 ], [ 4, 5, 6 ] } } ATTRIBUTE "array2D" { @@ -1155,45 +987,38 @@ GROUP "/" { (2,0): [ 13, 14, 15 ], [ 16, 17, 18 ] } } - ATTRIBUTE "integer2D" { - DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + ATTRIBUTE "array3D" { + DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { - (0,0): 1, 2, - (1,0): 3, 4, - (2,0): 5, 6 + (0,0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], + (0,1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], + (0,2,0): [ 13, 14, 15 ], [ 16, 17, 18 ], + (1,0,0): [ 19, 20, 21 ], [ 22, 23, 24 ], + (1,1,0): [ 25, 26, 27 ], [ 28, 29, 30 ], + (1,2,0): [ 31, 32, 33 ], [ 34, 35, 36 ], + (2,0,0): [ 37, 38, 39 ], [ 40, 41, 42 ], + (2,1,0): [ 43, 44, 45 ], [ 46, 47, 48 ], + (2,2,0): [ 49, 50, 51 ], [ 52, 53, 54 ], + (3,0,0): [ 55, 56, 57 ], [ 58, 59, 60 ], + (3,1,0): [ 61, 62, 63 ], [ 64, 65, 66 ], + (3,2,0): [ 67, 68, 69 ], [ 70, 71, 72 ] } } - ATTRIBUTE "float2D" { - DATATYPE H5T_IEEE_F32LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + ATTRIBUTE "bitfield" { + DATATYPE H5T_STD_B8LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0): 1, 2, - (1,0): 3, 4, - (2,0): 5, 6 + (0): 0x01, 0x02 } } - ATTRIBUTE "string3D" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "bitfield2D" { + DATATYPE H5T_STD_B8LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0,0,0): "ab", "cd", - (0,1,0): "ef", "gh", - (0,2,0): "ij", "kl", - (1,0,0): "mn", "pq", - (1,1,0): "rs", "tu", - (1,2,0): "vw", "xz", - (2,0,0): "AB", "CD", - (2,1,0): "EF", "GH", - (2,2,0): "IJ", "KL", - (3,0,0): "MN", "PQ", - (3,1,0): "RS", "TU", - (3,2,0): "VW", "XZ" + (0,0): 0x01, 0x02, + (1,0): 0x03, 0x04, + (2,0): 0x05, 0x06 } } ATTRIBUTE "bitfield3D" { @@ -1214,25 +1039,54 @@ GROUP "/" { (3,2,0): 0x17, 0x18 } } - ATTRIBUTE "opaque3D" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "compound" { + DATATYPE H5T_COMPOUND { + H5T_STD_I8LE "a"; + H5T_IEEE_F64LE "b"; + } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0,0): 0x01, 0x02, - (0,1,0): 0x03, 0x04, - (0,2,0): 0x05, 0x06, - (1,0,0): 0x07, 0x08, - (1,1,0): 0x09, 0x0a, - (1,2,0): 0x0b, 0x0c, - (2,0,0): 0x0d, 0x0e, - (2,1,0): 0x0f, 0x10, - (2,2,0): 0x11, 0x12, - (3,0,0): 0x13, 0x14, - (3,1,0): 0x15, 0x16, - (3,2,0): 0x17, 0x18 + (0): { + 1, + 2 + }, + (1): { + 3, + 4 + } + } + } + ATTRIBUTE "compound2D" { + DATATYPE H5T_COMPOUND { + H5T_STD_I8LE "a"; + H5T_IEEE_F64LE "b"; + } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): { + 1, + 2 + }, + (0,1): { + 3, + 4 + }, + (1,0): { + 5, + 6 + }, + (1,1): { + 7, + 8 + }, + (2,0): { + 9, + 10 + }, + (2,1): { + 11, + 12 + } } } ATTRIBUTE "compound3D" { @@ -1340,6 +1194,30 @@ GROUP "/" { } } } + ATTRIBUTE "enum" { + DATATYPE H5T_ENUM { + H5T_STD_I32LE; + "RED" 0; + "GREEN" 1; + } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): RED, RED + } + } + ATTRIBUTE "enum2D" { + DATATYPE H5T_ENUM { + H5T_STD_I32LE; + "RED" 0; + "GREEN" 1; + } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): RED, RED, + (1,0): RED, RED, + (2,0): RED, RED + } + } ATTRIBUTE "enum3D" { DATATYPE H5T_ENUM { H5T_STD_I32LE; @@ -1362,44 +1240,24 @@ GROUP "/" { (3,2,0): RED, RED } } - ATTRIBUTE "vlen3D" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "float" { + DATATYPE H5T_IEEE_F32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0,0): (0), (1), - (0,1,0): (2), (3), - (0,2,0): (4), (5), - (1,0,0): (6, 7), (8, 9), - (1,1,0): (10, 11), (12, 13), - (1,2,0): (14, 15), (16, 17), - (2,0,0): (18, 19, 20), (21, 22, 23), - (2,1,0): (24, 25, 26), (27, 28, 29), - (2,2,0): (30, 31, 32), (33, 34, 35), - (3,0,0): (36, 37, 38, 39), (40, 41, 42, 43), - (3,1,0): (44, 45, 46, 47), (48, 49, 50, 51), - (3,2,0): (52, 53, 54, 55), (56, 57, 58, 59) + (0): 1, 2 } } - ATTRIBUTE "array3D" { - DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "float2D" { + DATATYPE H5T_IEEE_F32LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0,0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], - (0,1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], - (0,2,0): [ 13, 14, 15 ], [ 16, 17, 18 ], - (1,0,0): [ 19, 20, 21 ], [ 22, 23, 24 ], - (1,1,0): [ 25, 26, 27 ], [ 28, 29, 30 ], - (1,2,0): [ 31, 32, 33 ], [ 34, 35, 36 ], - (2,0,0): [ 37, 38, 39 ], [ 40, 41, 42 ], - (2,1,0): [ 43, 44, 45 ], [ 46, 47, 48 ], - (2,2,0): [ 49, 50, 51 ], [ 52, 53, 54 ], - (3,0,0): [ 55, 56, 57 ], [ 58, 59, 60 ], - (3,1,0): [ 61, 62, 63 ], [ 64, 65, 66 ], - (3,2,0): [ 67, 68, 69 ], [ 70, 71, 72 ] + (0,0): 1, 2, + (1,0): 3, 4, + (2,0): 5, 6 } } - ATTRIBUTE "integer3D" { - DATATYPE H5T_STD_I32LE + ATTRIBUTE "float3D" { + DATATYPE H5T_IEEE_F32LE DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { (0,0,0): 1, 2, @@ -1416,8 +1274,24 @@ GROUP "/" { (3,2,0): 23, 24 } } - ATTRIBUTE "float3D" { - DATATYPE H5T_IEEE_F32LE + ATTRIBUTE "integer" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): 1, 2 + } + } + ATTRIBUTE "integer2D" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): 1, 2, + (1,0): 3, 4, + (2,0): 5, 6 + } + } + ATTRIBUTE "integer3D" { + DATATYPE H5T_STD_I32LE DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { (0,0,0): 1, 2, @@ -1434,6 +1308,132 @@ GROUP "/" { (3,2,0): 23, 24 } } + ATTRIBUTE "opaque" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): 0x01, 0x02 + } + } + ATTRIBUTE "opaque2D" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): 0x01, 0x02, + (1,0): 0x03, 0x04, + (2,0): 0x05, 0x06 + } + } + ATTRIBUTE "opaque3D" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): 0x01, 0x02, + (0,1,0): 0x03, 0x04, + (0,2,0): 0x05, 0x06, + (1,0,0): 0x07, 0x08, + (1,1,0): 0x09, 0x0a, + (1,2,0): 0x0b, 0x0c, + (2,0,0): 0x0d, 0x0e, + (2,1,0): 0x0f, 0x10, + (2,2,0): 0x11, 0x12, + (3,0,0): 0x13, 0x14, + (3,1,0): 0x15, 0x16, + (3,2,0): 0x17, 0x18 + } + } + ATTRIBUTE "string" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): "ab", "de" + } + } + ATTRIBUTE "string2D" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): "ab", "cd", + (1,0): "ef", "gh", + (2,0): "ij", "kl" + } + } + ATTRIBUTE "string3D" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): "ab", "cd", + (0,1,0): "ef", "gh", + (0,2,0): "ij", "kl", + (1,0,0): "mn", "pq", + (1,1,0): "rs", "tu", + (1,2,0): "vw", "xz", + (2,0,0): "AB", "CD", + (2,1,0): "EF", "GH", + (2,2,0): "IJ", "KL", + (3,0,0): "MN", "PQ", + (3,1,0): "RS", "TU", + (3,2,0): "VW", "XZ" + } + } + ATTRIBUTE "vlen" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): (1), (2, 3) + } + } + ATTRIBUTE "vlen2D" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): (0), (1), + (1,0): (2, 3), (4, 5), + (2,0): (6, 7, 8), (9, 10, 11) + } + } + ATTRIBUTE "vlen3D" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): (0), (1), + (0,1,0): (2), (3), + (0,2,0): (4), (5), + (1,0,0): (6, 7), (8, 9), + (1,1,0): (10, 11), (12, 13), + (1,2,0): (14, 15), (16, 17), + (2,0,0): (18, 19, 20), (21, 22, 23), + (2,1,0): (24, 25, 26), (27, 28, 29), + (2,2,0): (30, 31, 32), (33, 34, 35), + (3,0,0): (36, 37, 38, 39), (40, 41, 42, 43), + (3,1,0): (44, 45, 46, 47), (48, 49, 50, 51), + (3,2,0): (52, 53, 54, 55), (56, 57, 58, 59) + } + } } GROUP "g2" { DATASET "array" { |