Rudiments

- Main Page
- Classes

character.h
1 // Copyright (c) 2004 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