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
11class RUDIMENTS_DLLSPEC wcharacter {
12 public:
15 static bool isAlphanumeric(int32_t c);
16
19 static bool isAlphabetical(int32_t c);
20
22 static bool isLowerCase(int32_t c);
23
25 static bool isUpperCase(int32_t c);
26
29 static bool isPunctuation(int32_t c);
30
33 static bool isPrintable(int32_t c);
34
38
42
44 static bool isDigit(int32_t c);
45
48 static bool isHexDigit(int32_t c);
49
52 static bool isBlank(int32_t c);
53
56 static bool isWhitespace(int32_t c);
57
60 static bool isAscii(int32_t c);
61
64
67
71
74 static bool isInSet(wchar_t c, const wchar_t *set);
75
78 static bool isInSetIgnoringCase(wchar_t c,
79 const wchar_t *set);
80
84 static wchar_t duplicate(char c);
85
91 static wchar_t duplicate(char c, wchar_t replacement);
92
100 static wchar_t duplicateUcs2(ucs2_t c);
101
109 static wchar_t duplicateUcs2(ucs2_t c, wchar_t replacement);
110
120 static wchar_t duplicateUcs2(ucs2_t c, bool bigendian);
121
131 static wchar_t duplicateUcs2(ucs2_t c,
132 wchar_t replacement,
133 bool bigendian);
134
138};
139
140#endif
Definition avltree.h:11
Definition wcharacter.h:11
static wchar_t duplicateUcs2(ucs2_t c, wchar_t replacement)
static wchar_t duplicateUcs2(ucs2_t c)
static bool isControlCharacter(int32_t c)
static wchar_t duplicateUcs2(ucs2_t c, wchar_t replacement, bool bigendian)
static int32_t lower(int32_t c)
static bool isPrintableNonSpace(int32_t c)
static bool isPrintable(int32_t c)
static bool isPunctuation(int32_t c)
static bool isAlphabetical(int32_t c)
static uint8_t getNullSize()
static bool isUpperCase(int32_t c)
static bool isInSetIgnoringCase(wchar_t c, const wchar_t *set)
static bool isAscii(int32_t c)
static int32_t upper(int32_t c)
static bool isBlank(int32_t c)
static bool isInSet(wchar_t c, const wchar_t *set)
static bool isLowerCase(int32_t c)
static wchar_t duplicateUcs2(ucs2_t c, bool bigendian)
static wchar_t duplicate(char c, wchar_t replacement)
static bool isDigit(int32_t c)
static int32_t convertToAscii(int32_t c)
static wchar_t duplicate(char c)
static bool isWhitespace(int32_t c)
static bool isAlphanumeric(int32_t c)
static bool isHexDigit(int32_t c)