Data Structures | |
class | RChar |
Unicode Character. More... | |
Namespaces | |
R | |
Standard Classes. | |
Typedefs | |
typedef unsigned short | UChar |
Functions | |
bool | isprint (const R::RChar c) |
bool | ispunct (const R::RChar c) |
bool | isspace (const R::RChar c) |
bool | isalpha (const R::RChar c) |
bool | isdigit (const R::RChar c) |
bool | isalnum (const R::RChar c) |
bool | isgraph (const R::RChar c) |
R::RChar | tolower (const R::RChar c) |
R::RChar | toupper (const R::RChar c) |
size_t | strlen (const R::RChar *str) |
int | strcmp (const R::RChar *str1, const R::RChar *str2) |
int | strcmp (const R::RChar *str1, const char *str2) |
int | strcmp (const char *str1, const R::RChar *str2) |
int | strncmp (const R::RChar *str1, const R::RChar *str2, size_t size) |
int | strncmp (const R::RChar *str1, const char *str2, size_t size) |
int | strncmp (const char *str1, const R::RChar *str2, size_t size) |
Function Documentation
bool isprint | ( | const R::RChar | c | ) |
Test if the character is a printable one.
- Returns
- bool.
bool ispunct | ( | const R::RChar | c | ) |
Test if the character is a punctuation one.
- Returns
- bool.
bool isspace | ( | const R::RChar | c | ) |
Test if the character is a space one.
- Returns
- bool.
bool isalpha | ( | const R::RChar | c | ) |
Test if the character is a letter.
- Returns
- bool.
bool isdigit | ( | const R::RChar | c | ) |
Test if the character is a digit.
- Returns
- bool.
bool isalnum | ( | const R::RChar | c | ) |
Test if the character is alphanumeric.
- Returns
- bool.
bool isgraph | ( | const R::RChar | c | ) |
Test if the character is a graphical one.
- Returns
- bool.
Transform an Unicode character in lowercase.
- Parameters
-
c Character. return RChar.
Transform an Unicode character in uppercase.
- Parameters
-
c Character. return RChar.
size_t strlen | ( | const R::RChar * | str | ) |
Compute the length of an array of RChar.
- Returns
- int.
int strcmp | ( | const R::RChar * | str1, |
const char * | str2 | ||
) |
Compare a RChar array and a "C" string.
int strcmp | ( | const char * | str1, |
const R::RChar * | str2 | ||
) |
Compare a RChar array and a "C" string.
Compare two RChar array, except that no more than size characters are compared.
int strncmp | ( | const R::RChar * | str1, |
const char * | str2, | ||
size_t | size | ||
) |
Compare a RChar array and a "C" string, except that no more than size characters are compared.
int strncmp | ( | const char * | str1, |
const R::RChar * | str2, | ||
size_t | size | ||
) |
Compare a RChar array and a "C" string, except that no more than size characters are compared.