![]() ![]() ![]()
|
BREW C++ Class Library & GUI Framework & XML Middleware : SophiaFramework 4.1 |
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
) Convert the character into lower character.
|
| static WChar |
AsLower(
WChar param
) Convert the character into lower character.
|
| static AChar |
AsUpper(
AChar param
) Convert the character into capital character.
|
| static WChar |
AsUpper(
WChar param
) Convert the character into capital character.
|
| static Bool |
IsAlpha(
AChar param
) IsAlpha( WChar param ) Check whether the character is alphabetic or not.
|
| static Bool |
IsAlphaDigit(
AChar param
) IsAlphaDigit( WChar param ) Check whether the character is alphanumeric or not.
|
| static Bool |
IsAscii(
AChar param
) IsAscii( WChar param ) Check whether the character is Ascii or not.
|
| static Bool |
IsControl(
AChar param
) IsControl( WChar param ) Check whether the character is control or not.
|
| static Bool |
IsDigit(
AChar param
) IsDigit( WChar param ) Check whether the character is digit or not.
|
| static Bool |
IsGraph(
AChar param
) IsGraph( WChar param ) Check whether the character is graph or not.
|
| static Bool |
IsHexDigit(
AChar param
) IsHexDigit( WChar param ) Check whether the character is Hex digit or not.
|
| static Bool |
IsLower(
AChar param
) IsLower( WChar param ) Check whether the character is lower or not.
|
| static Bool |
IsPrint(
AChar param
) IsPrint( WChar param ) Check whether the character is printable or not.
|
| static Bool |
IsPunct(
AChar param
) IsPunct( WChar param ) Check whether the character is printable(not blank nor alphanumeric).
|
| static Bool |
IsSpace(
AChar param
) IsSpace( WChar param ) Check whether or not the character is blank or line-feed.
|
| static Bool |
IsUpper(
AChar param
) IsUpper( WChar param ) Check whether the character is capital or not.
|
| static Bool |
Isnull(
AChar param
) Isnull( WChar param ) Check whether the character is "null" or not.
|
[ public, static ] AChar AsLower( AChar param // character to convert );
[ public, static ] WChar AsLower( WChar param // character to convert );
[ public, static ] AChar AsUpper( AChar param // character to convert );
[ public, static ] WChar AsUpper( WChar param // character to convert );
[ public, static ] Bool IsAlpha( AChar param // character to check );
[ public, static ] Bool IsAlpha( WChar param // character to check );
[ public, static ] Bool IsAlphaDigit( AChar param // character to check );
[ public, static ] Bool IsAlphaDigit( WChar param // character to check );
[ public, static ] Bool IsAscii( AChar param // character to check );
[ public, static ] Bool IsAscii( WChar param // character to check );
The SFXAscii::IsAscii function checks whether the character code is less than 0x7F or not.
[ public, static ] Bool IsControl( AChar param // character to check );
[ public, static ] Bool IsControl( WChar param // character to check );
The SFXAscii::IsControl function checks whether or not the character code 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 );
[ public, static ] Bool IsGraph( AChar param // character to check );
[ public, static ] Bool IsGraph( WChar param // character to check );
The SFXAscii::IsGraph function checks whether or not the character code is greater than 0x21 and less than 0x7E.
![]() |
What is the graph character? |
|---|---|
The printable character except the space character( 0x20 ). The printable character is the character that can be displayed other than control character. | |
[ public, static ] Bool IsHexDigit( AChar param // character to check );
[ public, static ] Bool IsHexDigit( WChar param // character to check );
The SFXAscii::IsHexDigit function checks whether or not the 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 );
[ public, static ] Bool Isnull( AChar param // character to check );
[ public, static ] Bool Isnull( WChar param // character to check );
[ public, static ] Bool IsPrint( AChar param // character to check );
[ public, static ] Bool IsPrint( WChar param // character to check );
The SFXAscii::IsPrint function checks whether or not the character code is greater than 0x20 and less than 0x7E.
![]() |
What is the printable character? |
|---|---|
The printable character is the character that can be displayed other than the control character. | |
[ public, static ] Bool IsPunct( AChar param // character to check );
[ public, static ] Bool IsPunct( WChar param // character to check );
[ public, static ] Bool IsSpace( AChar param // character to check );
[ public, static ] Bool IsSpace( WChar param // character to check );
The SFXAscii::IsSpace function checks whether or not the character code is greater than 0x09 and less than 0x0D, or equals 0x20.
[ public, static ] Bool IsUpper( AChar param // character to check );
[ public, static ] Bool IsUpper( WChar param // character to check );
|
Copyright (C) 2002 - 2009 Sophia Cradle, Inc. All Rights Reserved. |
![]() ![]() ![]()
|