60
static int isLevelNumNA(long val);
static const char* getStringNA();
static int isStringNA(const char* val);
static CNKTimeDate getTimeDateNA();
static int isTimeDateNA(CNKTimeDate val);
These are useful utility methods for accessing the NaN value for
various buffer types, used in Spotfire Miner and Spotfire S+ for
representing
NA values. getDoubleNaN() returns the double NaN value.
isDoubleNaN(val) returns true (non-zero) if the argument is an NaN
value, false otherwise. The other methods provide this functionality
for other column types.
CNKObj::
static double convertLevelNumToDouble(long val);
static long convertDoubleToLevelNum(double val);
static const char* convertLevelNumToString(long val);
static long convertStringToLevelNum(const char* val);
static CNKTimeDate convertLevelNumToTimeDate(long val);
static long convertTimeDateToLevelNum(CNKTimeDate val);
static CNKTimeDate convertDoubleToTimeDate(double val);
static double convertTimeDateToDouble(CNKTimeDate val);
These methods provide support for conversions between data types.
They support any conversions that do not vary based on a specified
format string.
The
convertDoubleToTimeDate() and convertTimeDateToDouble()
methods convert between a double giving the number of days since
January 1, 1970 and a timeDate value. Hours, minutes, and seconds
are the fractional part of the double.
CNKObj::
double convertStringToDouble(const char* val);
const char* convertDoubleToString(double val);
CNKTimeDate convertStringToTimeDate(const char* val);
const char* convertTimeDateToString(CNKTimeDate val);
void setConverter(CNKConverter* val);
CNKConverter* getConverter();
static void setDefaultConverter(CNKConverter* val);
Comentários a estes Manuais