mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-09 07:32:32 +08:00
8e4bcb5fee
current behavior is if DCPL has creation order tracked for attributes then sort the attributes by creation order otherwise by name regarding sort order (ascending or descending) it is done in whatever is requested tested: linux
108 lines
2.2 KiB
SQL
108 lines
2.2 KiB
SQL
#############################
|
|
Expected output for 'h5dump -H --sort_by=creation_order --sort_order=ascending torderattr.h5'
|
|
#############################
|
|
HDF5 "torderattr.h5" {
|
|
GROUP "/" {
|
|
ATTRIBUTE "a" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
ATTRIBUTE "b" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
ATTRIBUTE "c" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
DATASET "d" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
ATTRIBUTE "a" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
ATTRIBUTE "b" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
ATTRIBUTE "c" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
}
|
|
DATASET "dt" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
ATTRIBUTE "c" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
ATTRIBUTE "b" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
ATTRIBUTE "a" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
}
|
|
GROUP "g" {
|
|
ATTRIBUTE "a" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
ATTRIBUTE "b" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
ATTRIBUTE "c" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
}
|
|
GROUP "gt" {
|
|
ATTRIBUTE "c" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
ATTRIBUTE "b" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
ATTRIBUTE "a" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
}
|
|
DATATYPE "t" H5T_STD_I32LE;
|
|
ATTRIBUTE "a" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
ATTRIBUTE "b" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
ATTRIBUTE "c" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
|
|
DATATYPE "tt" H5T_STD_I32LE;
|
|
ATTRIBUTE "c" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
ATTRIBUTE "b" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
ATTRIBUTE "a" {
|
|
DATATYPE H5T_STD_U8LE
|
|
DATASPACE SCALAR
|
|
}
|
|
|
|
}
|
|
}
|