mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
3c6be60da7
Purpose: Feature Add Description: Added support for dumping Group Comments. This involved a modification of the DDL as well. Solution: Steal code from h5ls and put it in the h5dump. The ddl.html file was updated as normal. And a test was created... Platforms tested: Dangermouse, Modi4, Kelgia
47 lines
1.1 KiB
SQL
47 lines
1.1 KiB
SQL
#############################
|
|
Expected output for 'h5dump tgrp_comments.h5'
|
|
#############################
|
|
HDF5 "tgrp_comments.h5" {
|
|
GROUP "/" {
|
|
GROUP "g1" {
|
|
COMMENT "Comment for group /g1"
|
|
GROUP "g1.1" {
|
|
COMMENT "Comment for group /g1/g1.1"
|
|
}
|
|
GROUP "g1.2" {
|
|
COMMENT "Comment for group /g1/g1.2"
|
|
}
|
|
}
|
|
GROUP "g2" {
|
|
COMMENT "Comment for group /g2"
|
|
GROUP "g2.1" {
|
|
COMMENT "Comment for group /g2/g2.1"
|
|
GROUP "g2.1.1" {
|
|
COMMENT "Comment for group /g2/g2.1/g2.1.1"
|
|
}
|
|
GROUP "g2.1.2" {
|
|
COMMENT "Comment for group /g2/g2.1/g2.1.2"
|
|
}
|
|
GROUP "g2.1.3" {
|
|
COMMENT "Comment for group /g2/g2.1/g2.1.3"
|
|
}
|
|
}
|
|
}
|
|
GROUP "g3" {
|
|
COMMENT "Comment for group /g3"
|
|
GROUP "g3.1" {
|
|
COMMENT "Comment for group /g3/g3.1"
|
|
}
|
|
GROUP "g3.2" {
|
|
COMMENT "Comment for group /g3/g3.2"
|
|
}
|
|
GROUP "g3.3" {
|
|
COMMENT "Comment for group /g3/g3.3"
|
|
}
|
|
GROUP "g3.4" {
|
|
COMMENT "Comment for group /g3/g3.4"
|
|
}
|
|
}
|
|
}
|
|
}
|