summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/textlinkfar.ddl
blob: 41517106bec68b493df42b2c49aa6c2080ee615b (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#############################
Expected output for 'h5dump textlinkfar.h5'
#############################
HDF5 "textlinkfar.h5" {
GROUP "/" {
   EXTERNAL_LINK "src_file" {
      TARGETFILE "textlinksrc.h5"
      TARGETPATH "/"
         GROUP "/" {
            EXTERNAL_LINK "ext_link1" {
               TARGETFILE "textlinktar.h5"
               TARGETPATH "group"
                  GROUP "group" {
                     DATASET "dset" {
                        DATATYPE  H5T_STD_I32LE
                        DATASPACE  SIMPLE { ( 6 ) / ( 6 ) }
                        DATA {
                        (0): 1, 2, 3, 4, 5, 6
                        }
                     }
                     EXTERNAL_LINK "elink_t1" {
                        TARGETFILE "textlinksrc.h5"
                        TARGETPATH "/"
                           GROUP "/" {
                              HARDLINK "/"
                           }
                     }
                     EXTERNAL_LINK "elink_t2" {
                        TARGETFILE "textlinksrc.h5"
                        TARGETPATH "/ext_link4"
                     }
                     GROUP "subgroup" {
                        GROUP "link_to_group" {
                           HARDLINK "/group"
                        }
                     }
                  }
            }
            EXTERNAL_LINK "ext_link2" {
               TARGETFILE "textlinktar.h5"
               TARGETPATH "dset"
                  DATASET "dset" {
                     DATATYPE  H5T_STD_I32LE
                     DATASPACE  SIMPLE { ( 6 ) / ( 6 ) }
                     DATA {
                     (0): 1, 2, 3, 4, 5, 6
                     }
                  }
            }
            EXTERNAL_LINK "ext_link3" {
               TARGETFILE "textlinktar.h5"
               TARGETPATH "type"
                  DATATYPE "type" H5T_STD_I32LE;

            }
            EXTERNAL_LINK "ext_link4" {
               TARGETFILE "textlinktar.h5"
               TARGETPATH "group/elink_t2"
            }
            EXTERNAL_LINK "ext_link5" {
               TARGETFILE "textlinktar.h5"
               TARGETPATH "empty_group"
                  GROUP "empty_group" {
                  }
            }
         }
   }
}
}