Rudiments: /home/dmuse/temp/rudiments/include/rudiments/wcharacter.h Source File

Rudiments

wcharacter.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_WCHARACTER_H
5 #define RUDIMENTS_WCHARACTER_H
6
7 #include <rudiments/private/wcharacterincludes.h>
8
11 class RUDIMENTS_DLLSPEC wcharacter {
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(wchar_t c, const wchar_t *set);
90
92 static wchar_t duplicate(char c);
93
97 static bool supported();
98 };
99
100 #endif
wcharacter
Definition: wcharacter.h:11
wcharacter::isControlCharacter
static bool isControlCharacter(int32_t c)
wcharacter::isUpperCaseExtended
static bool isUpperCaseExtended(int32_t c)
wcharacter::isPrintableNonSpace
static bool isPrintableNonSpace(int32_t c)
wcharacter::isLowerCaseExtended
static bool isLowerCaseExtended(int32_t c)
wcharacter::isAlphabeticalExtended
static bool isAlphabeticalExtended(int32_t c)
wcharacter::isPrintable
static bool isPrintable(int32_t c)
wcharacter::isPunctuation
static bool isPunctuation(int32_t c)
wcharacter::isAlphabetical
static bool isAlphabetical(int32_t c)
wcharacter::isUpperCase
static bool isUpperCase(int32_t c)
wcharacter::toUpperCase
static int32_t toUpperCase(int32_t c)
wcharacter::supported
static bool supported()
wcharacter::isAscii
static bool isAscii(int32_t c)
wcharacter::isBlank
static bool isBlank(int32_t c)
wcharacter::toLowerCase
static int32_t toLowerCase(int32_t c)
wcharacter::toAscii
static int32_t toAscii(int32_t c)
wcharacter::isLowerCase
static bool isLowerCase(int32_t c)
wcharacter::isDigit
static bool isDigit(int32_t c)
wcharacter::duplicate
static wchar_t duplicate(char c)
wcharacter::inSet
static bool inSet(wchar_t c, const wchar_t *set)
wcharacter::isWhitespace
static bool isWhitespace(int32_t c)
wcharacter::isAlphanumeric
static bool isAlphanumeric(int32_t c)
wcharacter::isHexDigit
static bool isHexDigit(int32_t c)