SophiaFramework UNIVERSE 5.3 |
The SFXShiftJIS class is used to convert a Hiragana character into a Katakana one and vice versa, convert a 2 byte character into a 1 byte one and vice versa, etc. And the SFXShiftJIS class has only static functions.
The argument type of function of SFXShiftJIS class is SFXWideString.
In order to process a SFXAnsiString object with a function of SFXShiftJIS class, it is necesary to convert it into a SFXWideString object.
Public Functions | |
---|---|
static UInt16 |
AsUInt16(
WChar param
) Get the comparable UInt16 value converted from the specified WChar character.
|
static WChar |
AsWChar(
UInt16 param
) Get the Wide character converted from the comparable UInt16 value.
|
static SFCError |
HiraganaToKatakana(
SFXWideStringPtr param
) Convert the specified string from Hiragana into Katakana.
|
static Bool |
IsFullAlpha(
WChar param
) Check whether or not the specified character is a full-size alphabet.
|
static Bool |
IsFullDigit(
WChar param
) Check whether or not the specified character is a full-size digit.
|
static Bool |
IsFullHiragana(
WChar param
) Check whether or not the specified character is a full-size Hiragana.
|
static Bool |
IsFullKatakana(
WChar param
) Check whether or not the specified character is a full-size Katakana.
|
static Bool |
IsFullSymbol(
WChar param
) Check whether or not the specified character is a full-size symbol.
|
static Bool |
IsHalfAlpha(
WChar param
) Check whether or not the specified character is a half-size alphabet.
|
static Bool |
IsHalfDigit(
WChar param
) Check whether or not the specified character is a half-size digit.
|
static Bool |
IsHalfKatakana(
WChar param
) Check whether or not the specified character is a half-size Katakana.
|
static Bool |
IsHalfSymbol(
WChar param
) Check whether or not the specified character is a half-size symbol.
|
static Bool |
IsPassword(
WChar param
) Check whether or not the specified character is the special character for inputing a passwword.
|
static SFCError |
KatakanaToHiragana(
SFXWideStringPtr param
) Convert the specified string from Katakana into Hiragana.
|
static SFCError |
ToFullAlpha(
SFXWideStringPtr param
) Convert the specified string from half-size alphabet into full-size alphabet.
|
static SFCError |
ToFullDigit(
SFXWideStringPtr param
) Convert the specified string from half-size digit into full-size digit.
|
static SFCError |
ToFullKatakana(
SFXWideStringPtr param
) Convert the specified string from half-size Katakana into full-size Katakana.
|
static SFCError |
ToFullSymbol(
SFXWideStringPtr param
) Convert the specified string from half-size alphabet into full-size alphabet.
|
static SFCError |
ToHalfAlpha(
SFXWideStringPtr param
) Convert the specified string from full-size alphabet into half-size alphabet.
|
static SFCError |
ToHalfDigit(
SFXWideStringPtr param
) Convert the specified string from full-size digit into half-size digit.
|
static SFCError |
ToHalfKatakana(
SFXWideStringPtr param
) Convert the specified string from full-size Katakana into half-size Katakana.
|
static SFCError |
ToHalfSymbol(
SFXWideStringPtr param
) Convert the specified string from full-size symbol into half-size symbol.
|
static SFCError |
ToPassword(
SFXWideStringPtr param
) Convert the specified string into the password string with the special character.
|
This function gets the comparable UInt16 value converted from the specified WChar character.
Note | |
---|---|
When the Shift_JIS character is converted into the Wide character with BREW API, consecutive character codes cannot be compared since the endian of the WChar character gets reversed. Concretely, this function will return the WChar character at it is if its code is less tha or equals 0xFF. Otherwise, it will return the endian-swapped value of the WChar character. |
This function gets the Wide character converted from the comparable UInt16 value.
Note | |
---|---|
This function performs the inversion operation of the SFXShiftJIS::AsUInt16 function. |
[ public, static ] SFCError HiraganaToKatakana( SFXWideStringPtr param // string to convert );
This function converts the specified string from Hiragana into Katakana.
This function checks whether or not the specified character is a full-size alphabet.
This function checks whether or not the specified character is a full-size digit.
This function checks whether or not the specified character is a full-size Hiragana.
This function checks whether or not the specified character is a full-size Katakana.
This function checks whether or not the specified character is a full-size symbol.
This function checks whether or not the specified character is a half-size alphabet.
This function checks whether or not the specified character is a half-size digit.
This function checks whether or not the specified character is a half-size Katakana.
This function checks whether or not the specified character is one of the following:
This function checks whether or not the specified character is the "*"(0x2A) character for inputing a passwword.
[ public, static ] SFCError KatakanaToHiragana( SFXWideStringPtr param // string to convert );
This function converts the specified string from Katakana into Hiragana.
[ public, static ] SFCError ToFullAlpha( SFXWideStringPtr param // string to convert );
This function converts the specified string from half-size alphabet into full-size alphabet.
[ public, static ] SFCError ToFullDigit( SFXWideStringPtr param // string to convert );
This function converts the specified string from half-size digit into full-size digit.
[ public, static ] SFCError ToFullKatakana( SFXWideStringPtr param // string to convert );
This function converts the specified string from half-size Katakana into full-size Katakana.
[ public, static ] SFCError ToFullSymbol( SFXWideStringPtr param // string to convert );
This function converts the specified string from half-size alphabet into full-size alphabet.
[ public, static ] SFCError ToHalfAlpha( SFXWideStringPtr param // string to convert );
This function converts the specified string from full-size alphabet into half-size alphabet.
[ public, static ] SFCError ToHalfDigit( SFXWideStringPtr param // string to convert );
This function converts the specified string from full-size digit into half-size digit.
[ public, static ] SFCError ToHalfKatakana( SFXWideStringPtr param // string to convert );
This function converts the specified string from full-size Katakana into half-size Katakana.
[ public, static ] SFCError ToHalfSymbol( SFXWideStringPtr param // string to convert );
This function converts the specified string from full-size symbol into half-size symbol.
[ public, static ] SFCError ToPassword( SFXWideStringPtr param // string to be converted );
This function converts the specified string into the passwprd string with the special character. Each character is converted into the "*"(0x2A) character.
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |