Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5DS_IS_ATTACHED

Report if dimension scale dsid is currently attached to dimension idx of dataset did.

Procedure:

H5DS_IS_ATTACHED(did, dsid, idx)

Signature:

htri_t H5DSis_attached(hid_t did, hid_t dsid, unsigned int idx)

SUBROUTINE H5DSdetach_scale_f(did, dsid, idx, errcode)
    IMPLICIT NONE
    INTEGER(hid_t), INTENT(in) :: did     ! The dataset
    INTEGER(hid_t), INTENT(in) :: dsid    ! The scale to be detached 
    INTEGER       , INTENT(in) :: idx     ! The dimension of did to detach
    INTEGER                    :: errcode ! Error code
END SUBROUTINE H5DSdetach_scale_f

Parameters:
hid_t did;IN: the dataset
hid_t dsid;IN: the scale to be attached
unsigned int idx;    IN: the dimension of did that dsid is associated with.

Description:

Report if dimension scale dsid is currently attached to dimension idx of dataset did.

Fails if:

  • Bad arguments
  • If dsid is not a Dimension Scale
  • The dsid is not a Dimension Scale
  • If did is a Dimension Scale (A Dimension Scale cannot have scales.)

Returns:

When successful, returns a positive value for TRUE or 0 (zero) for FALSE. Otherwise returns a negative value.

Example:

Coming Soon!

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