Character class.
More...
#include <minitscript/utilities/Character.h>
|
static uint32_t | toLowerCase (uint32_t character) |
| Convert character to lower case character. More...
|
|
static uint32_t | toUpperCase (uint32_t character) |
| Convert character to upper case character. More...
|
|
static bool | isAlphaNumeric (uint32_t character) |
| Returns if character is alpha numeric. More...
|
|
static bool | isSpace (uint32_t character) |
| Returns if character is a white space. More...
|
|
static const string | toString (uint32_t character) |
| Generates a string from given character / code point. More...
|
|
static void | appendToString (string &string, uint32_t character) |
| Appends a character / code point to given string. More...
|
|
Character class.
- Author
- Andreas Drewke
Definition at line 16 of file Character.h.
◆ toLowerCase()
static uint32_t toLowerCase |
( |
uint32_t |
character | ) |
|
|
inlinestatic |
Convert character to lower case character.
- Parameters
-
- Returns
- lower case character
Definition at line 25 of file Character.h.
◆ toUpperCase()
static uint32_t toUpperCase |
( |
uint32_t |
character | ) |
|
|
inlinestatic |
Convert character to upper case character.
- Parameters
-
- Returns
- upper case character
Definition at line 34 of file Character.h.
◆ isAlphaNumeric()
static bool isAlphaNumeric |
( |
uint32_t |
character | ) |
|
|
inlinestatic |
Returns if character is alpha numeric.
- Returns
- if character is alpha numeric
Definition at line 42 of file Character.h.
◆ isSpace()
static bool isSpace |
( |
uint32_t |
character | ) |
|
|
inlinestatic |
Returns if character is a white space.
- Returns
- if character is a white space
Definition at line 50 of file Character.h.
◆ toString()
static const string toString |
( |
uint32_t |
character | ) |
|
|
inlinestatic |
Generates a string from given character / code point.
- Parameters
-
- Returns
- string representation of given character
Definition at line 59 of file Character.h.
◆ appendToString()
static void appendToString |
( |
string & |
string, |
|
|
uint32_t |
character |
|
) |
| |
|
inlinestatic |
Appends a character / code point to given string.
- Parameters
-
string | string |
character | character |
Definition at line 70 of file Character.h.
The documentation for this class was generated from the following file:
- /home/andreas/Development/drewke.net/minitscript/src/minitscript/utilities/Character.h