[Back to Interface] [Prev] [Next]

DFSDgetNT/dsgnt

intn DFSDgetNT(int32 *data_type)

data_type

OUT:

Data type of data in the scientific dataset

Purpose

Retrieves the data type of the next dataset to be read.

Return value

Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.

Description

Note that DFSDgetNT does not take a file name as an argument. As a result, a DFSD call to initialize the file information structures is required before calling DFSDgetNT. One such call is DFSDgetdims.

Valid values for data_type are of the general form DFNT_. The following are valid symbolic names and their data types:


32-bit float


DFNT_FLOAT32


5


64-bit float


DFNT_FLOAT64


6


8-bit signed int


DFNT_INT8


20


8-bit unsigned int


DFNT_UINT8


21


16-bit signed int


DFNT_INT16


22


16-bit unsigned int


DFNT_UINT16


23


32-bit signed int


DFNT_INT32


24


32-bit unsigned int


DFNT_UINT32


25


8-bit character


DFNT_CHAR8


4

FORTRAN

integer function dsgnt(num_type)

integer num_type



[Back to Interface] [Prev] [Next]

hdfhelp@ncsa.uiuc.edu
HDF Reference Manual - 04/08/98, NCSA HDF Development Group.