EDOBE XDOM PMML Manuale Utente Pagina 61

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 98
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 60
61
static CNKConverter* getDefaultConverter();
These methods support conversions between string and double or
time/date values. Such conversions depend upon a formatting string
that indicates things like whether
01/10/2002 represents January 10,
2002
or October 1, 2002.
Code using a pipeline can create a class extending
CNKConverter that
provides this support. Programmers creating Spotfire Miner nodes
will use the methods such as
convertStringToDouble(), and will not
use a
CNKConverter directly.
CNKObj::
static void copyPlainToUTFString(
const char* inputPlainString,
char* outputUTFString, int maxOutputBytes);
static void copyUTFToPlainString(
const char* inputUTFString,
char* outputPlainString, int maxOutputBytes);
static void copyWideCharToUTFString(
const wchar_t* inputWideCharString,
char* outputUTFString, int maxOutputBytes);
static void copyUTFToWideCharString(
const char* inputUTFString,
wchar_t* outputWideCharString, int maxOutputChars);
String values are typically stored as UTF-8 char arrays using the same
conventions as the Java Native Interface (JNI). This is a format that
uses one, two, or three bytes as needed to represent multibyte
characters in a char array.
Other common standards for representing characters in a char array
are to use a single byte per character or two bytes for every character.
These methods support conversions between a UTF-8 representation,
a single-byte representation (plain string), and a two-byte
representation (wide char string).
CNKObj::
virtual void setProperty(CNKPropertyInfo* propInfo);
virtual void getProperty(CNKPropertyInfo* propInfo);
These methods are defined in all of the CNK object classes, to
support the Java-to-C++ communication facility.
Vedere la pagina 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 97 98

Commenti su questo manuale

Nessun commento