SophiaFramework UNIVERSE 5.3 |
The SFXAscii class is used to check the character type, convert a small character into a captal one and vice versa, etc. And the SFXAscii class has only static functions.
Public Functions | |
---|---|
static AChar |
AsLower(
AChar param
) Get the lower-case character of the specified character.
|
static WChar |
AsLower(
WChar param
) Get the lower-case character of the specified character.
|
static AChar |
AsUpper(
AChar param
) Get the upper-case character of the specified character.
|
static WChar |
AsUpper(
WChar param
) Get the upper-case character of the specified character.
|
static Bool |
IsAlpha(
AChar param
) Check whether or not the specified character is alphabetic.
|
static Bool |
IsAlpha(
WChar param
) Check whether or not the specified character is alphabetic.
|
static Bool |
IsAlphaDigit(
AChar param
) Check whether or not the specified character is alphanumeric.
|
static Bool |
IsAlphaDigit(
WChar param
) Check whether or not the specified character is alphanumeric.
|
static Bool |
IsAscii(
AChar param
) Check whether or not the specified character is Ascii.
|
static Bool |
IsAscii(
WChar param
) Check whether or not the specified character is Ascii.
|
static Bool |
IsControl(
AChar param
) Check whether or not the specified character is a control character.
|
static Bool |
IsControl(
WChar param
) Check whether or not the specified character is a control character.
|
static Bool |
IsDigit(
AChar param
) Check whether or not the specified character is digit.
|
static Bool |
IsDigit(
WChar param
) Check whether or not the specified character is digit.
|
static Bool |
IsGraph(
AChar param
) Check whether or not the specified character is graphic.
|
static Bool |
IsGraph(
WChar param
) Check whether or not the specified character is graphic.
|
static Bool |
IsHexDigit(
AChar param
) Check whether or not the specified character is Hex digit.
|
static Bool |
IsHexDigit(
WChar param
) Check whether or not the specified character is Hex digit.
|
static Bool |
IsLower(
AChar param
) Check whether or not the specified character is lower-case.
|
static Bool |
IsLower(
WChar param
) Check whether or not the specified character is lower-case.
|
static Bool |
IsNull(
AChar param
) Check whether or not the specified character is null('\0').
|
static Bool |
IsNull(
WChar param
) Check whether or not the specified character is null('\0').
|
static Bool |
IsPrint(
AChar param
) Check whether or not the specified character is printable.
|
static Bool |
IsPrint(
WChar param
) Check whether or not the specified character is printable.
|
static Bool |
IsPunct(
AChar param
) Check whether or not the specified character is not blank nor alphanumeric but printable.
|
static Bool |
IsPunct(
WChar param
) Check whether or not the specified character is not blank nor alphanumeric but printable.
|
static Bool |
IsSpace(
AChar param
) Check whether or not the specified character is space.
|
static Bool |
IsSpace(
WChar param
) Check whether or not the specified character is space.
|
static Bool |
IsUpper(
AChar param
) Check whether or not the specified character is upper-case.
|
static Bool |
IsUpper(
WChar param
) Check whether or not the specified character is upper-case.
|
[ public, static ] AChar AsLower( AChar param // character to convert );
[ public, static ] WChar AsLower( WChar param // character to convert );
Lower-case character of the specified character
This function gets the lower-case character of the specified character.
[ public, static ] AChar AsUpper( AChar param // character to convert );
[ public, static ] WChar AsUpper( WChar param // character to convert );
Upper-case character of the specified character
This function gets the upper-case character of the specified character.
[ public, static ] Bool IsAlpha( AChar param // character to check );
[ public, static ] Bool IsAlpha( WChar param // character to check );
This function checks whether or not the specified character is alphabetic.
[ public, static ] Bool IsAlphaDigit( AChar param // character to check );
[ public, static ] Bool IsAlphaDigit( WChar param // character to check );
This function checks whether or not the specified character is alphanumeric.
[ public, static ] Bool IsAscii( AChar param // character to check );
[ public, static ] Bool IsAscii( WChar param // character to check );
This function checks whether or not the code of the specified character is less than 0x7F.
ASCII character | |
---|---|
The code of the ASCII character is greater than or equals 0x00 and less than or equals 0x7F. |
[ public, static ] Bool IsControl( AChar param // character to check );
[ public, static ] Bool IsControl( WChar param // character to check );
This function checks whether or not the code of the specified character is a control character.
Control character | |
---|---|
The code of the control character is less than 0x20, or equals 0x7F. |
[ public, static ] Bool IsDigit( AChar param // character to check );
[ public, static ] Bool IsDigit( WChar param // character to check );
This function checks whether or not the specified character is digit.
[ public, static ] Bool IsGraph( AChar param // character to check );
[ public, static ] Bool IsGraph( WChar param // character to check );
This function checks whether or not the character code is graphic.
Graphic character | |
---|---|
The graphic character is a printable character except the space character( 0x20 ). The code of the graphic character is greater than 0x20 and less than 0x7E. |
[ public, static ] Bool IsHexDigit( AChar param // character to check );
[ public, static ] Bool IsHexDigit( WChar param // character to check );
This function checks whether or not the specified character is digit, or, a, b, c, d, e, f, A, B, C, D, E, F.
[ public, static ] Bool IsLower( AChar param // character to check );
[ public, static ] Bool IsLower( WChar param // character to check );
This function checks whether or not the specified character is lower-case.
[ public, static ] Bool IsNull( AChar param // character to check );
[ public, static ] Bool IsNull( WChar param // character to check );
This function checks whether or not the specified character is null('\0').
[ public, static ] Bool IsPrint( AChar param // character to check );
[ public, static ] Bool IsPrint( WChar param // character to check );
This function checks whether or not the code of the specified character is printable.
Printable character | |
---|---|
The printable character is the character that can be displayed. The code of the printable character is greater than or equals 0x20 and less than 0x7E. |
[ public, static ] Bool IsPunct( AChar param // character to check );
[ public, static ] Bool IsPunct( WChar param // character to check );
This function checks whether or not the specified character is not blank nor alphanumeric but printable.
[ public, static ] Bool IsSpace( AChar param // character to check );
[ public, static ] Bool IsSpace( WChar param // character to check );
This function checks whether or not the code of the specified character is space.
Space character | |
---|---|
The code of the space character including tab, line-feed, and carriage return is from 0x09 to 0x0D or 0x20. |
[ public, static ] Bool IsUpper( AChar param // character to check );
[ public, static ] Bool IsUpper( WChar param // character to check );
This function checks whether or not the specified character is upper-case.
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |