Files
hdf5/tools/testfiles/tvlstr.ddl
Allen Byrne 68d93b7f4e [svn-r22013] HDFFV-7560:
Merge 1.8 and h5dump/tools and tests based on tools library from trunk.
Reduced warnings.

HDFFV-7949:
Remove duplicated functions in h5ls

Tested: local linux,h5committest
2012-03-02 09:21:13 -05:00

32 lines
829 B
SQL

HDF5 "tvlstr.h5" {
GROUP "/" {
ATTRIBUTE "test_scalar" {
DATATYPE "/vl_string_type"
DATASPACE SCALAR
DATA {
(0): "This is the string for the attribute"
}
}
DATASET "Dataset1" {
DATATYPE H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
DATA {
(0): "Four score and seven years ago our forefathers brought forth on this continent a new nation,",
(1): "conceived in liberty and dedicated to the proposition that all men are created equal.",
(2): "", NULL
}
}
DATATYPE "vl_string_type" H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLPAD;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
};
}
}