summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tenum.ddl
blob: fdd3a60df3312c4ce4b5900011e511b40e61a344 (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
28
29
30
31
32
33
#############################
Expected output for 'h5dump tenum.h5'
#############################
HDF5 "tenum.h5" {
GROUP "/" {
   DATATYPE "enum normal" {
      H5T_ENUM
      { H5T_STD_I32BE;
       "RED"              0;
       "GREEN"            1;
       "BLUE"             2;
       "WHITE"            3;
       "BLACK"            4;
      };
   }
   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
      }
   }
}
}