2001-02-15 04:48:22 +08:00
|
|
|
#############################
|
|
|
|
Expected output for 'h5dump --xml tenum.h5'
|
|
|
|
#############################
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2007-01-23 23:39:24 +08:00
|
|
|
<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">
|
2004-01-16 00:42:22 +08:00
|
|
|
<hdf5:RootGroup OBJ-XID="xid_928" H5Path="/">
|
|
|
|
<hdf5:NamedDataType Name="enum normal" OBJ-XID="xid_976" H5Path="/enum normal" Parents="xid_928" H5ParentPaths="/">
|
2003-07-30 05:24:21 +08:00
|
|
|
<hdf5:DataType>
|
|
|
|
<hdf5:AtomicType>
|
|
|
|
<hdf5:EnumType Nelems="5">
|
|
|
|
<hdf5:DataType>
|
|
|
|
<hdf5:AtomicType>
|
2004-01-16 00:42:22 +08:00
|
|
|
<hdf5:IntegerType ByteOrder="LE" Sign="true" Size="4" />
|
2003-07-30 05:24:21 +08:00
|
|
|
</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
|
2004-01-16 00:42: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>
|
2004-01-16 00:42:22 +08:00
|
|
|
BLUE 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>
|
2004-01-16 00:42:22 +08:00
|
|
|
WHITE "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>
|
2004-01-16 00:42:22 +08:00
|
|
|
BLACK '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>
|
2004-01-16 00:42:22 +08:00
|
|
|
<hdf5:Dataset Name="table" OBJ-XID="xid_1384" H5Path= "/table" Parents="xid_928" 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>
|
2004-01-16 00:42:22 +08:00
|
|
|
<hdf5:NamedDataTypePtr OBJ-XID="xid_976" H5Path="/enum normal" />
|
2003-07-30 05:24:21 +08:00
|
|
|
<hdf5:Data>
|
|
|
|
<hdf5:DataFromFile>
|
2004-01-16 00:42:22 +08:00
|
|
|
RED GREEN\ngreen BLUE blue GREEN\ngreen WHITE \"white\" WHITE \"white\"
|
|
|
|
BLACK \'black\' GREEN\ngreen BLUE blue RED RED BLUE blue GREEN\ngreen
|
|
|
|
BLACK \'black\' WHITE \"white\" RED WHITE \"white\" GREEN\ngreen
|
|
|
|
GREEN\ngreen BLUE blue
|
2003-07-30 05:24:21 +08:00
|
|
|
</hdf5:DataFromFile>
|
|
|
|
</hdf5:Data>
|
|
|
|
</hdf5:Dataset>
|
|
|
|
</hdf5:RootGroup>
|
|
|
|
</hdf5:HDF5-File>
|