summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tobjref.h5.xml
blob: 327291e9dc1533de1095e5312ff99df384fc407e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
#############################
Expected output for 'h5dump --xml tobjref.h5'
#############################
<?xml version="1.0" encoding="UTF-8"?>
<hdf5:HDF5-File xmlns:hdf5="http://hdfgroup.org/DTDs/HDF5-File" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hdfgroup.org/DTDs/HDF5File http://hdfgroup.org/DTDs/HDF5-File.xsd">
<hdf5:RootGroup OBJ-XID="xid_696" H5Path="/">
   <hdf5:Dataset Name="Dataset3" OBJ-XID="xid_2348" H5Path= "/Dataset3" Parents="xid_696" H5ParentPaths="/">
      <hdf5:StorageLayout>
         <hdf5:ContiguousLayout/>
      </hdf5:StorageLayout>
         <hdf5:FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
         <hdf5:FillValue>
               <hdf5:NoFill/>
         </hdf5:FillValue>
      </hdf5:FillValueInfo>
      <hdf5:Dataspace>
         <hdf5:SimpleDataspace Ndims="1">
            <hdf5:Dimension  DimSize="4" MaxDimSize="4"/>
         </hdf5:SimpleDataspace>
      </hdf5:Dataspace>
      <hdf5:DataType>
         <hdf5:AtomicType>
            <hdf5:ReferenceType>
               <hdf5:ObjectReferenceType />
            </hdf5:ReferenceType>
         </hdf5:AtomicType>
      </hdf5:DataType>
   <hdf5:Data>
   <hdf5:DataFromFile>
      "/Group1/Dataset1"
      "/Group1/Dataset2"
      "/Group1"
      "/Group1/Datatype1"
   </hdf5:DataFromFile>
   </hdf5:Data>
   </hdf5:Dataset>
   <hdf5:Group Name="Group1" OBJ-XID="xid_1320" H5Path="/Group1" Parents="xid_696" H5ParentPaths="/" >
      <hdf5:Dataset Name="Dataset1" OBJ-XID="xid_1696" H5Path= "/Group1/Dataset1" Parents="xid_1320" H5ParentPaths="/Group1">
         <hdf5:StorageLayout>
            <hdf5:ContiguousLayout/>
         </hdf5:StorageLayout>
               <hdf5:FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
            <hdf5:FillValue>
                  <hdf5:NoFill/>
            </hdf5:FillValue>
         </hdf5:FillValueInfo>
         <hdf5:Dataspace>
            <hdf5:SimpleDataspace Ndims="1">
               <hdf5:Dimension  DimSize="4" MaxDimSize="4"/>
            </hdf5:SimpleDataspace>
         </hdf5:Dataspace>
         <hdf5:DataType>
            <hdf5:AtomicType>
               <hdf5:IntegerType ByteOrder="BE" Sign="false" Size="4" />
            </hdf5:AtomicType>
         </hdf5:DataType>
         <hdf5:Data>
            <hdf5:DataFromFile>
            0 3 6 9
            </hdf5:DataFromFile>
         </hdf5:Data>
      </hdf5:Dataset>
      <hdf5:Dataset Name="Dataset2" OBJ-XID="xid_2152" H5Path= "/Group1/Dataset2" Parents="xid_1320" H5ParentPaths="/Group1">
         <hdf5:StorageLayout>
            <hdf5:ContiguousLayout/>
         </hdf5:StorageLayout>
               <hdf5:FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
            <hdf5:FillValue>
                  <hdf5:NoFill/>
            </hdf5:FillValue>
         </hdf5:FillValueInfo>
         <hdf5:Dataspace>
            <hdf5:SimpleDataspace Ndims="1">
               <hdf5:Dimension  DimSize="4" MaxDimSize="4"/>
            </hdf5:SimpleDataspace>
         </hdf5:Dataspace>
         <hdf5:DataType>
            <hdf5:AtomicType>
               <hdf5:IntegerType ByteOrder="BE" Sign="false" Size="1" />
            </hdf5:AtomicType>
         </hdf5:DataType>
         <hdf5:Data>
            <hdf5:DataFromFile>
            0 0 0 0
            </hdf5:DataFromFile>
         </hdf5:Data>
      </hdf5:Dataset>
      <hdf5:NamedDataType Name="Datatype1" OBJ-XID="xid_2268" H5Path="/Group1/Datatype1" Parents="xid_1320" H5ParentPaths="/Group1">
         <hdf5:DataType>
            <hdf5:CompoundType>
               <hdf5:Field FieldName="a">
                  <hdf5:DataType>
                     <hdf5:AtomicType>
                        <hdf5:IntegerType ByteOrder="BE" Sign="true" Size="4" />
                     </hdf5:AtomicType>
                  </hdf5:DataType>
               </hdf5:Field>
               <hdf5:Field FieldName="b">
                  <hdf5:DataType>
                     <hdf5:AtomicType>
                        <hdf5:FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
                     </hdf5:AtomicType>
                  </hdf5:DataType>
               </hdf5:Field>
               <hdf5:Field FieldName="c">
                  <hdf5:DataType>
                     <hdf5:AtomicType>
                        <hdf5:FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
                     </hdf5:AtomicType>
                  </hdf5:DataType>
               </hdf5:Field>
            </hdf5:CompoundType>
         </hdf5:DataType>
      </hdf5:NamedDataType>
   </hdf5:Group>
</hdf5:RootGroup>
</hdf5:HDF5-File>