Rudiments
|
Static Public Member Functions | |
static bool | isAlphanumeric (int32_t c) |
static bool | isAlphabetical (int32_t c) |
static bool | isLowerCase (int32_t c) |
static bool | isUpperCase (int32_t c) |
static bool | isPunctuation (int32_t c) |
static bool | isPrintable (int32_t c) |
static bool | isPrintableNonSpace (int32_t c) |
static bool | isControlCharacter (int32_t c) |
static bool | isDigit (int32_t c) |
static bool | isHexDigit (int32_t c) |
static bool | isBlank (int32_t c) |
static bool | isWhitespace (int32_t c) |
static bool | isAscii (int32_t c) |
static int32_t | toUpperCase (int32_t c) |
static int32_t | toLowerCase (int32_t c) |
static int32_t | toAscii (int32_t c) |
static bool | inSet (char c, const char *set) |
static void | safePrint (char c) |
The character class provides methods for evaluating and manipulating characters.
static bool character::inSet | ( | char | c, |
const char * | set | ||
) | [static] |
Returns true if "c" is in the set of characters in "set" and false otherwise.
static bool character::isAlphabetical | ( | int32_t | c | ) | [static] |
Returns true if "c" is alphabetical character and false otherwise.
static bool character::isAlphanumeric | ( | int32_t | c | ) | [static] |
Returns true if "c" is an alphanumeric character and false otherwise.
static bool character::isAscii | ( | int32_t | c | ) | [static] |
Returns true if "c" is one of the values in the ascii character set or false otherwise.
static bool character::isBlank | ( | int32_t | c | ) | [static] |
Returns true if "c" is a space or tab and false otherwise.
static bool character::isControlCharacter | ( | int32_t | c | ) | [static] |
Returns true if "c" is a control character and false otherwise.
static bool character::isDigit | ( | int32_t | c | ) | [static] |
Returns true if "c" is a digit and false otherwise.
static bool character::isHexDigit | ( | int32_t | c | ) | [static] |
Returns true if "c" is a hexadecimal digit and false otherwise.
static bool character::isLowerCase | ( | int32_t | c | ) | [static] |
Returns true if "c" is lower case and false otherwise.
static bool character::isPrintable | ( | int32_t | c | ) | [static] |
Returns true if "c" is a printable character and false otherwise.
static bool character::isPrintableNonSpace | ( | int32_t | c | ) | [static] |
Returns true if "c" is a printable character other than a space and false otherwise.
static bool character::isPunctuation | ( | int32_t | c | ) | [static] |
Returns true if "c" is a printable character that is not a space or alphanumeric character and false otherwise.
static bool character::isUpperCase | ( | int32_t | c | ) | [static] |
Returns true if "c" is upper case and false otherwise.
static bool character::isWhitespace | ( | int32_t | c | ) | [static] |
Returns true if "c" is any whitespace character and false otherwise.
static void character::safePrint | ( | char | c | ) | [static] |
Prints "c" if it is a printable character or the hex value otherwise.
static int32_t character::toAscii | ( | int32_t | c | ) | [static] |
Converts "c" to a 7-bit value by clearing the higher order bits.
static int32_t character::toLowerCase | ( | int32_t | c | ) | [static] |
Returns the lower case version of "c".
static int32_t character::toUpperCase | ( | int32_t | c | ) | [static] |
Returns the upper case version of "c".