Rudiments

character.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_CHARACTER_H
5 #define RUDIMENTS_CHARACTER_H
6
7 #include <rudiments/private/characterincludes.h>
8
11 class RUDIMENTS_DLLSPEC character {
12 public:
15 static bool isAlphanumeric(int32_t c);
16
19 static bool isAlphabetical(int32_t c);
20
24 static bool isAlphabeticalExtended(int32_t c);
25
27 static bool isLowerCase(int32_t c);
28
32 static bool isLowerCaseExtended(int32_t c);
33
35 static bool isUpperCase(int32_t c);
36
40 static bool isUpperCaseExtended(int32_t c);
41
44 static bool isPunctuation(int32_t c);
45
48 static bool isPrintable(int32_t c);
49
52 static bool isPrintableNonSpace(int32_t c);
53
56 static bool isControlCharacter(int32_t c);
57
59 static bool isDigit(int32_t c);
60
63 static bool isHexDigit(int32_t c);
64
67 static bool isBlank(int32_t c);
68
71 static bool isWhitespace(int32_t c);
72
75 static bool isAscii(int32_t c);
76
78 static int32_t toUpperCase(int32_t c);
79
81 static int32_t toLowerCase(int32_t c);
82
85 static int32_t toAscii(int32_t c);
86
89 static bool inSet(char c, const char *set);
90 };
91
92 #endif
character
Definition: character.h:11
character::isUpperCase
static bool isUpperCase(int32_t c)
character::isUpperCaseExtended
static bool isUpperCaseExtended(int32_t c)
character::toAscii
static int32_t toAscii(int32_t c)
character::isPunctuation
static bool isPunctuation(int32_t c)
character::isAscii
static bool isAscii(int32_t c)
character::isHexDigit
static bool isHexDigit(int32_t c)
character::isPrintable
static bool isPrintable(int32_t c)
character::isWhitespace
static bool isWhitespace(int32_t c)
character::isAlphabeticalExtended
static bool isAlphabeticalExtended(int32_t c)
character::toLowerCase
static int32_t toLowerCase(int32_t c)
character::inSet
static bool inSet(char c, const char *set)
character::isLowerCase
static bool isLowerCase(int32_t c)
character::isPrintableNonSpace
static bool isPrintableNonSpace(int32_t c)
character::isBlank
static bool isBlank(int32_t c)
character::isControlCharacter
static bool isControlCharacter(int32_t c)
character::isLowerCaseExtended
static bool isLowerCaseExtended(int32_t c)
character::toUpperCase
static int32_t toUpperCase(int32_t c)
character::isAlphanumeric
static bool isAlphanumeric(int32_t c)
character::isDigit
static bool isDigit(int32_t c)
character::isAlphabetical
static bool isAlphabetical(int32_t c)