summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tenum.ddl
blob: 496647d298caafd38d8db90f8bd607e2d375ccb8 (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
#############################
Expected output for 'h5dump tenum.h5'
#############################
HDF5 "tenum.h5" {
GROUP "/" {
   DATATYPE "enum normal"       H5T_ENUM {
         H5T_STD_I32LE;
         "RED"              0;
         "GREEN
green"      1;
         "BLUE blue"        2;
         "WHITE "white""    3;
         "BLACK 'black'"    4;
      };

   DATASET "table" {
      DATATYPE  "/enum normal"
      DATASPACE  SIMPLE { ( 20 ) / ( 20 ) }
      DATA {
         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
      }
   }
}
}