summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tenum.h5.xml
blob: 126d04959c668f4bf7fd7050d40b0ebdf9a24a6e (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
#############################
Expected output for 'h5dump --xml tenum.h5'
#############################
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HDF5-File PUBLIC "HDF5-File.dtd" "http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File.dtd">
<HDF5-File>
<RootGroup OBJ-XID="root">
   <NamedDataType Name="enum normal" OBJ-XID="/enum normal" Parents="root">
      <DataType>
         <AtomicType>
            <EnumType Nelems="5">
               <EnumElement>
                  RED
               </EnumElement>
               <EnumValue>
                  0
               </EnumValue>
               <EnumElement>
                  GREEN
               </EnumElement>
               <EnumValue>
                  1
               </EnumValue>
               <EnumElement>
                  BLUE
               </EnumElement>
               <EnumValue>
                  2
               </EnumValue>
               <EnumElement>
                  WHITE
               </EnumElement>
               <EnumValue>
                  3
               </EnumValue>
               <EnumElement>
                  BLACK
               </EnumElement>
               <EnumValue>
                  4
               </EnumValue>
            </EnumType>
         </AtomicType>
      </DataType>
   </NamedDataType>
   <Dataset Name="table" OBJ-XID="/table" Parents="root">
      <Dataspace>
         <SimpleDataspace Ndims="1">
            <Dimension  DimSize="20" MaxDimSize="20"/>
         </SimpleDataspace>
      </Dataspace>
      <NamedDataTypePtr OBJ-XID="/enum normal"/>
      <Data>
         <DataFromFile>
         RED GREEN BLUE GREEN WHITE WHITE BLACK GREEN BLUE RED RED BLUE GREEN 
         BLACK WHITE RED WHITE GREEN GREEN BLUE
         </DataFromFile>
      </Data>
   </Dataset>
</RootGroup>
</HDF5-File>