2002-11-19 00:38:11 +08:00
|
|
|
HDF5 "tvlstr.h5" {
|
|
|
|
GROUP "/" {
|
|
|
|
ATTRIBUTE "test_scalar" {
|
2003-10-06 05:23:57 +08:00
|
|
|
DATATYPE "/vl_string_type"
|
|
|
|
DATASPACE SCALAR
|
2002-11-19 00:38:11 +08:00
|
|
|
DATA {
|
2004-07-01 02:45:14 +08:00
|
|
|
(0): "This is the string for the attribute"
|
2003-10-06 05:23:57 +08:00
|
|
|
}
|
|
|
|
}
|
2002-11-19 00:38:11 +08:00
|
|
|
DATASET "Dataset1" {
|
|
|
|
DATATYPE H5T_STRING {
|
|
|
|
STRSIZE H5T_VARIABLE;
|
|
|
|
STRPAD H5T_STR_NULLTERM;
|
|
|
|
CSET H5T_CSET_ASCII;
|
|
|
|
CTYPE H5T_C_S1;
|
2003-10-06 05:23:57 +08:00
|
|
|
}
|
|
|
|
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
2002-11-19 00:38:11 +08:00
|
|
|
DATA {
|
2004-07-01 02:45:14 +08:00
|
|
|
(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
|
2003-10-06 05:23:57 +08:00
|
|
|
}
|
|
|
|
}
|
2008-10-16 11:52:16 +08:00
|
|
|
DATATYPE "vl_string_type" H5T_STRING {
|
2002-11-19 00:38:11 +08:00
|
|
|
STRSIZE H5T_VARIABLE;
|
|
|
|
STRPAD H5T_STR_NULLPAD;
|
|
|
|
CSET H5T_CSET_ASCII;
|
|
|
|
CTYPE H5T_C_S1;
|
|
|
|
};
|
2003-10-06 05:23:57 +08:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|