summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tenum.ddl
blob: 8f45f435203f785035613550323c49884bf3005a (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
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
      }
   }
}
}