NAME

cxDataPrimType - return primitive data type

C SPECIFICATION

#include <cx/DataAccess.h>

typedef enum { cx_prim_byte, cx_prim_short, cx_prim_long, cx_prim_float, cx_prim_double } cxPrimType;

cxPrimType cxDataPrimType(cxData *data)

FORTRAN SPECIFICATION

integer cx_prim_byte
integer cx_prim_short
integer cx_prim_long
integer cx_prim_float
integer cx_prim_double

parameter (cx_prim_byte = 0) parameter (cx_prim_short = 1) parameter (cx_prim_long = 2) parameter (cx_prim_float = 3) parameter (cx_prim_double = 4)

integer function cxDataPrimType(data) integer data

PARAMETERS

data
Data structure.

FUNCTION RETURN VALUE

Returns the data primitive type.

DESCRIPTION

cxDataPrimType returns a cxPrimType enumerated type indicating the type of data stored in data. cxDataPrimType returns an integer value [0..4], indicating the type of data stored in data.

SEE ALSO

cxDataNew(3E)
Last modified: May 26 12:42 1999
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1999