Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5LT_MAKE_DATASET_CHAR

Creates and writes a dataset.

Procedure:

H5LT_MAKE_DATASET_CHAR(loc_id, dset_name, rank, dims, buffer)

Signature:

herr_t H5LTmake_dataset_char ( hid_t loc_id, const char *dset_name, int rank, const hsize_t *dims, const char *buffer )

Parameters:
hid_t loc_idIN: Identifier of the file or group to create the dataset within.
const char *dset_name   IN: The name of the dataset to create.
int rankIN: Number of dimensions of dataspace.
const hsize_t * dimsIN: An array of the size of each dimension.
const char * bufferIN: Buffer with data to be written to the dataset.

Description:

H5LTmake_dataset_char creates and writes a dataset named dset_name attached to the object specified by the identifier loc_id.

The dataset’s datatype will be character, H5T_NATIVE_CHAR.

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Coming Soon!

--- Last Modified: December 04, 2017 | 07:12 AM