2001-02-15 04:48:22 +08:00
|
|
|
#############################
|
|
|
|
Expected output for 'h5dump --xml tenum.h5'
|
|
|
|
#############################
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2003-07-30 05:24:21 +08:00
|
|
|
<hdf5:HDF5-File xmlns:hdf5="http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hdf.ncsa.uiuc.edu/DTDs/HDF5File http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File.xsd">
|
2003-08-09 03:47:39 +08:00
|
|
|
<hdf5:RootGroup OBJ-XID="xid_696" H5Path="/">
|
|
|
|
<hdf5:NamedDataType Name="enum normal" OBJ-XID="xid_744" H5Path="/enum normal" Parents="xid_696" H5ParentPaths="/">
|
2003-07-30 05:24:21 +08:00
|
|
|
<hdf5:DataType>
|
|
|
|
<hdf5:AtomicType>
|
|
|
|
<hdf5:EnumType Nelems="5">
|
|
|
|
<hdf5:DataType>
|
|
|
|
<hdf5:AtomicType>
|
|
|
|
<hdf5:IntegerType ByteOrder="BE" Sign="true" Size="4" />
|
|
|
|
</hdf5:AtomicType>
|
|
|
|
</hdf5:DataType>
|
|
|
|
<hdf5:EnumElement>
|
2001-02-15 04:48:22 +08:00
|
|
|
RED
|
2003-07-30 05:24:21 +08:00
|
|
|
</hdf5:EnumElement>
|
|
|
|
<hdf5:EnumValue>
|
2001-02-15 04:48:22 +08:00
|
|
|
0
|
2003-07-30 05:24:21 +08:00
|
|
|
</hdf5:EnumValue>
|
|
|
|
<hdf5:EnumElement>
|
2001-02-15 04:48:22 +08:00
|
|
|
GREEN
|
2003-07-30 05:24:21 +08:00
|
|
|
</hdf5:EnumElement>
|
|
|
|
<hdf5:EnumValue>
|
2001-02-15 04:48:22 +08:00
|
|
|
1
|
2003-07-30 05:24:21 +08:00
|
|
|
</hdf5:EnumValue>
|
|
|
|
<hdf5:EnumElement>
|
2001-02-15 04:48:22 +08:00
|
|
|
BLUE
|
2003-07-30 05:24:21 +08:00
|
|
|
</hdf5:EnumElement>
|
|
|
|
<hdf5:EnumValue>
|
2001-02-15 04:48:22 +08:00
|
|
|
2
|
2003-07-30 05:24:21 +08:00
|
|
|
</hdf5:EnumValue>
|
|
|
|
<hdf5:EnumElement>
|
2001-02-15 04:48:22 +08:00
|
|
|
WHITE
|
2003-07-30 05:24:21 +08:00
|
|
|
</hdf5:EnumElement>
|
|
|
|
<hdf5:EnumValue>
|
2001-02-15 04:48:22 +08:00
|
|
|
3
|
2003-07-30 05:24:21 +08:00
|
|
|
</hdf5:EnumValue>
|
|
|
|
<hdf5:EnumElement>
|
2001-02-15 04:48:22 +08:00
|
|
|
BLACK
|
2003-07-30 05:24:21 +08:00
|
|
|
</hdf5:EnumElement>
|
|
|
|
<hdf5:EnumValue>
|
2001-02-15 04:48:22 +08:00
|
|
|
4
|
2003-07-30 05:24:21 +08:00
|
|
|
</hdf5:EnumValue>
|
|
|
|
</hdf5:EnumType>
|
|
|
|
</hdf5:AtomicType>
|
|
|
|
</hdf5:DataType>
|
|
|
|
</hdf5:NamedDataType>
|
2003-08-09 03:47:39 +08:00
|
|
|
<hdf5:Dataset Name="table" OBJ-XID="xid_1152" H5Path= "/table" Parents="xid_696" H5ParentPaths="/">
|
2003-07-30 05:24:21 +08:00
|
|
|
<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="20" MaxDimSize="20"/>
|
|
|
|
</hdf5:SimpleDataspace>
|
|
|
|
</hdf5:Dataspace>
|
2003-08-09 03:47:39 +08:00
|
|
|
<hdf5:NamedDataTypePtr OBJ-XID="xid_744" H5Path="/enum normal" />
|
2003-07-30 05:24:21 +08:00
|
|
|
<hdf5:Data>
|
|
|
|
<hdf5:DataFromFile>
|
2003-10-06 05:23:57 +08:00
|
|
|
RED GREEN BLUE GREEN WHITE WHITE BLACK GREEN BLUE RED RED BLUE GREEN
|
2001-03-22 06:52:11 +08:00
|
|
|
BLACK WHITE RED WHITE GREEN GREEN BLUE
|
2003-07-30 05:24:21 +08:00
|
|
|
</hdf5:DataFromFile>
|
|
|
|
</hdf5:Data>
|
|
|
|
</hdf5:Dataset>
|
|
|
|
</hdf5:RootGroup>
|
|
|
|
</hdf5:HDF5-File>
|