1999-07-03 02:11:52 +08:00
|
|
|
#############################
|
|
|
|
Expected output for 'h5dump tenum.h5'
|
|
|
|
#############################
|
1999-07-02 22:51:27 +08:00
|
|
|
HDF5 "tenum.h5" {
|
|
|
|
GROUP "/" {
|
|
|
|
DATATYPE "enum normal" {
|
|
|
|
H5T_ENUM
|
|
|
|
{ H5T_STD_I32BE;
|
|
|
|
"RED" 0;
|
|
|
|
"GREEN" 1;
|
|
|
|
"BLUE" 2;
|
|
|
|
"WHITE" 3;
|
|
|
|
"BLACK" 4;
|
2000-02-18 00:13:41 +08:00
|
|
|
};
|
1999-07-02 22:51:27 +08:00
|
|
|
}
|
|
|
|
DATASET "table" {
|
|
|
|
DATATYPE { H5T_ENUM
|
|
|
|
{ H5T_STD_I32BE;
|
|
|
|
"RED" 0;
|
|
|
|
"GREEN" 1;
|
|
|
|
"BLUE" 2;
|
|
|
|
"WHITE" 3;
|
|
|
|
"BLACK" 4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
DATASPACE { SIMPLE ( 20 ) / ( 20 ) }
|
|
|
|
DATA {
|
|
|
|
RED, GREEN, BLUE, GREEN, WHITE, WHITE, BLACK, GREEN, BLUE, RED, RED,
|
|
|
|
BLUE, GREEN, BLACK, WHITE, RED, WHITE, GREEN, GREEN, BLUE
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|