Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5P_GET_DSET_NO_ATTRS_HINT

Retrieves the setting for whether or not to create minimized dataset object headers 

Procedure:

H5P_GET_DSET_NO_ATTRS_HINT ( dcpl_id, minimize )

Signature:

herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, hbool_t *minimize)

Fortran Interface:
  SUBROUTINE h5pget_dset_no_attrs_hint_f(dcpl_id, minimize, hdferr)
    IMPLICIT NONE
    INTEGER(HID_T) , INTENT(IN)              :: dcpl_id
    LOGICAL        , INTENT(OUT)             :: minimize
    INTEGER        , INTENT(OUT)             :: hdferr

   END SUBROUTINE h5pget_dset_no_attrs_hint_f

Parameters:

hid_t dcpl_id

IN: Dataset creation property list identifier

hbool_t *minimize

OUT: Flag indicating whether the library will or will not create minimized dataset object headers

Description:

H5P_GET_DSET_NO_ATTRS_HINT retrieves the no dataset attributes hint setting for the dataset creation property list dcpl_id. This setting is used to inform the library to create minimized dataset object headers when TRUE. The setting value is returned in the boolean pointer minimize.

Returns:

Non-negative value (SUCCEED) if successful. Negative (FAIL) on failure.

Example:
    hid_t dcpl_id;
    hbool_t set;

    dcpl_id = H5Pcreate(H5P_DATASET_CREATE);
    assert(dcpl_id != H5I_INVALID_HID);

    assert(H5Pget_dset_no_attrs_hint(dcpl_id, &set) == SUCCEED);
    assert(set == FALSE);

History:
ReleaseChange
1.10.5Function introduced.

--- Last Modified: February 05, 2019 | 12:13 PM