Rudiments
ucs2character.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information.
3
4#ifndef RUDIMENTS_UCS2CHARACTER_H
5#define RUDIMENTS_UCS2CHARACTER_H
6
7#include <rudiments/private/ucs2characterincludes.h>
8
11class RUDIMENTS_DLLSPEC ucs2character {
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(ucs2_t c, const ucs2_t *set);
75
79 const ucs2_t *set);
80
88 static ucs2_t duplicate(char c);
89
98
108 static ucs2_t duplicate(char c, bool bigendian);
109
119 static ucs2_t duplicate(char c,
121 bool bigendian);
122
130 static ucs2_t duplicate(wchar_t c);
131
140
150 static ucs2_t duplicate(wchar_t c, bool bigendian);
151
161 static ucs2_t duplicate(wchar_t c,
163 bool bigendian);
164
168
171};
172
173#endif
Definition avltree.h:11
Definition ucs2character.h:11
static ucs2_t duplicate(char c, ucs2_t replacement, bool bigendian)
static bool isDigit(int32_t c)
static ucs2_t duplicate(char c, ucs2_t replacement)
static ucs2_t duplicate(char c, bool bigendian)
static bool isAscii(int32_t c)
static ucs2_t duplicate(wchar_t c, ucs2_t replacement, bool bigendian)
static ucs2_t duplicate(char c)
static bool isPrintable(int32_t c)
static ucs2_t duplicate(wchar_t c, bool bigendian)
static bool isUpperCase(int32_t c)
static bool isWhitespace(int32_t c)
static int32_t upper(int32_t c)
static int32_t convertToAscii(int32_t c)
static ucs2_t duplicate(wchar_t c, ucs2_t replacement)
static bool isBlank(int32_t c)
static bool isAlphanumeric(int32_t c)
static bool isHexDigit(int32_t c)
static bool isInSetIgnoringCase(ucs2_t c, const ucs2_t *set)
static bool isControlCharacter(int32_t c)
static bool isPunctuation(int32_t c)
static bool isPrintableNonSpace(int32_t c)
static bool isAlphabetical(int32_t c)
static bool isLowerCase(int32_t c)
static int32_t lower(int32_t c)
static bool isInSet(ucs2_t c, const ucs2_t *set)
static ucs2_t duplicate(wchar_t c)
static uint8_t getNullSize()
static uint8_t getBomSize()