NAME
RstrValueScale - string with value scale
SYNOPSIS
#include "csf.h"
const char *RstrValueScale(CSF_VS vs);
PARAMETERS
-
CSF_VS vs
-
value scale constant
Possible values for a
CSF_VS
are as follows:
* version 1 datatypes,
these can be returned by BUT NOT passed to a csf2 function
- VS_NOTDETERMINED - Version 1.
- VS_CLASSIFIED - Version 1.
- VS_CONTINUOUS - Version 1.
* version 2 datatypes
these two can be returned by or passed to a csf2 function
- VS_BOOLEAN - Boolean, always UINT1, values: 0,1 or MV_UINT1.
- VS_NOMINAL - Nominal, UINT1 or INT4.
- VS_ORDINAL - Ordinal, UINT1 or INT4.
- VS_SCALAR - Scalar, REAL4 or (maybe) REAL8.
- VS_DIRECTION - Directional REAL4 or (maybe) REAL8, -1 means no direction.
- VS_LDD - Local drain direction, always UINT1, values: 1-9 or MV_UINT1.
* this one CANNOT be returned by NOR passed to a csf2 function
- VS_UNDEFINED - Just some value different from the rest.
DESCRIPTION
The string is in lower case. If cr is not
a valid constant, for example 999, then the string is
"999 is no VS constant".
The "no constant" message is stored in a static buffer
used by both RstrCellRepr and RstrValueScale.
RETURNS
string with value scale in lower case
SEE ALSO
RstrCellRepr
,
MstrProjection