Codemesh Runtime v3 C++ API Reference
3.9.205
|
6 #ifndef xmog_java_string_inc
7 #define xmog_java_string_inc
289 static void set_default_encoding(
const char * _enc,
xmog_localenv * env = NULL );
300 static void set_default_encoding(
const XMOG_WCHAR * _enc,
xmog_localenv * env = NULL );
313 #if (XMOG_SUPPORTS_WCHAR_T==1)
314 static jstring from_wchar(
const XMOG_WCHAR * _wstr, jint _len = -1,
xmog_localenv * env = NULL );
327 # if (XMOG_REQUIRES_UNSIGNED_SHORT_OVERLOAD==1)
328 static jstring from_wchar(
const unsigned short * _wstr, jint _len = -1,
xmog_localenv * env = NULL );
341 # if (XMOG_SUPPORTS_WCHAR_T==1)
342 static void from_wchar(
xmog_base * _this, xmog_flags _flags,
const XMOG_WCHAR * _wstr, jint _len = -1,
xmog_localenv * env = NULL );
357 # if (XMOG_REQUIRES_UNSIGNED_SHORT_OVERLOAD==1)
358 static void from_wchar(
xmog_base * _this, xmog_flags _flags,
const unsigned short * _wstr, jint _len = -1,
xmog_localenv * env = NULL );
386 static jstring from_char(
const char * _str, jint _len = -1,
xmog_base * _enc = NULL,
xmog_localenv * env = NULL,
xmog_base * pStr = NULL,
char** pCache = NULL );
403 static void from_char(
xmog_base * _this, xmog_flags _flags,
const char * _str, jint _len = -1,
xmog_base * _enc = NULL,
xmog_localenv * env = NULL,
xmog_base * pStr = NULL,
char** pCache = NULL );
412 static jstring from_charUtf8(
const char * _strUTF,
xmog_localenv * env = NULL );
423 static void from_charUtf8(
xmog_base * _this, xmog_flags _flags,
const char * _strUTF,
xmog_localenv * env = NULL );
435 static char * to_char( jstring _str,
xmog_localenv * env = NULL,
xmog_base * pStr = NULL,
char** pCache = NULL );
460 static char * to_charUtf8( jstring _str,
xmog_localenv * env = NULL,
xmog_base * pStr = NULL,
char** pCache = NULL );
462 # if (XMOG_SUPPORTS_WCHAR_T==1)
463 static XMOG_WCHAR * to_wchar( jstring _str,
xmog_localenv * env = NULL );
482 static unsigned short * to_u16( jstring _str,
xmog_localenv * env = NULL );
492 static void free(
char * & str );
494 # if (XMOG_SUPPORTS_WCHAR_T==1)
495 static void free( XMOG_WCHAR * & str );
506 # if (XMOG_REQUIRES_UNSIGNED_SHORT_OVERLOAD==1)
507 static void free(
unsigned short * & str );
526 static void free_u16(
unsigned short * & str );
530 #if (XMOG_PRE_3_0_SUPPORT == 1 )
Definition: xmog_java_string.h:532
static xmog_base * UTF_16LE
The UTF-16LE character set.
Definition: xmog_java_string.h:265
The baseclass for all proxy types in the framework.
Definition: xmog_base.h:29
static xmog_base * US_ASCII
The US-ASCII character set.
Definition: xmog_java_string.h:245
A mixin or utility class for Java string features.
Definition: xmog_java_string.h:238
A class representing per-thread information for the integration runtime.
Definition: xmog_localenv.h:32
static xmog_base * UTF_16
The UTF-16 character set.
Definition: xmog_java_string.h:270
static xmog_base * ISO_8859_1
The ISO-8859-1 character set.
Definition: xmog_java_string.h:250
static xmog_base * UTF_16BE
The UTF-16BE character set.
Definition: xmog_java_string.h:260
static xmog_base * UTF_8
The UTF-8 character set.
Definition: xmog_java_string.h:255
Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.