NAME
RstrCellRepr - string with cell representation in plain english or acronym
SYNOPSIS
#include "csf.h"
const char *RstrCellRepr(CSF_CR cr);
PARAMETERS
-
CSF_CR cr
-
cell representation constant
Possible values for a
CSF_CR
are as follows:
* preferred version 2 cell representations
- CR_UINT1 - Boolean, ldd and small nominal and small ordinal.
- CR_INT4 - Large nominal and large ordinal.
- CR_REAL4 - Single scalar and single directional.
* other version 2 cell representations
- CR_REAL8 - Double scalar or directional, and also the only type that
can hold all
cell representation without loss of precision.
* version 1 cell representations
these can be returned by BUT NOT passed to a csf2 function
- CR_INT1 -
.
- CR_INT2 -
.
- CR_UINT2 -
.
- CR_UINT4 -
.
* this one CANNOT be returned by NOR passed to a csf2 function
- CR_UNDEFINED - Just some value different from the rest.
DESCRIPTION
The string is in lower case except for INT1,INT2,UINT2 and UINT4
, they return an acronym. If cr is not
a valid constant, for example 999, then the string is
"999 is no CR constant".
The "no constant" message is stored in a static buffer
used by both RstrCellRepr and RstrValueScale.
RETURNS
string with cell representation
SEE ALSO
RstrValueScale
,
MstrProjection