wvh_type
Returns the variable type of a Wave variable handle.
C Usage
long wvh_type(wvh)
WVH wvh;
FORTRAN Usage
INTEGER*4 LF_WVH_TYPE(l_wvh)
INTEGER*4 l_wvh
64-bit UNIX FORTRAN Usage
INTEGER*8 LF_WVH_TYPE(l_wvh)
INTEGER*8 l_wvh
Input Parameters
wvh—The Wave variable handle of the variable.
Returned Values for C
Returns the PV‑WAVE variable type. On failure, –1 is returned.
The valid variable type codes (in C) and their corresponding PV‑WAVE types are:
OPI_TYP_UNDEFINED—Undefined.
OPI_TYP_BYTE—Byte.
OPI_TYP_SHORT—16-bit integer (FIX).
OPI_TYP_INT32—32-bit integer (FIX).
OPI_TYP_LONG—Long integer.
OPI_TYP_FLOAT—Floating point.
OPI_TYP_DOUBLE—Double precision.
OPI_TYP_COMPLEX—Complex.
OPI_TYP_DCOMPLEX—Double-precision complex.
OPI_TYP_STRING—String.
OPI_TYP_STRUCT—Structure.
Returned Values for FORTRAN
In FORTRAN, the valid type codes are:
L_OPI_TYP_UNDEFINED
L_OPI_TYP_BYTE
L_OPI_TYP_SHORT
L_OPI_TYP_INT32
L_OPI_TYP_LONG
L_OPI_TYP_FLOAT
L_OPI_TYP_DOUBLE
L_OPI_TYP_COMPLEX
L_OPI_TYP_DCOMPLEX
L_OPI_TYP_STRING
L_OPI_TYP_STRUCT
All possible type codes are listed as #define’s in opi_devel.h (PARAMETERS in opi_f_devel.h).
Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.