RhythmGame 1.4.3
Loading...
Searching...
No Matches
toLower.h
Go to the documentation of this file.
1//
2// Created by bobini on 24.09.23.
3//
4
5#ifndef RHYTHMGAME_TOLOWER_H
6#define RHYTHMGAME_TOLOWER_H
7
8namespace support {
9
10inline auto
11toLower(char p) -> char
12{
13 switch (p) {
14 case 'A':
15 return 'a';
16 case 'B':
17 return 'b';
18 case 'C':
19 return 'c';
20 case 'D':
21 return 'd';
22 case 'E':
23 return 'e';
24 case 'F':
25 return 'f';
26 case 'G':
27 return 'g';
28 case 'H':
29 return 'h';
30 case 'I':
31 return 'i';
32 case 'J':
33 return 'j';
34 case 'K':
35 return 'k';
36 case 'L':
37 return 'l';
38 case 'M':
39 return 'm';
40 case 'N':
41 return 'n';
42 case 'O':
43 return 'o';
44 case 'P':
45 return 'p';
46 case 'Q':
47 return 'q';
48 case 'R':
49 return 'r';
50 case 'S':
51 return 's';
52 case 'T':
53 return 't';
54 case 'U':
55 return 'u';
56 case 'V':
57 return 'v';
58 case 'W':
59 return 'w';
60 case 'X':
61 return 'x';
62 case 'Y':
63 return 'y';
64 case 'Z':
65 return 'z';
66 default:
67 return p;
68 };
69}
70
71} // support
72
73#endif // RHYTHMGAME_TOLOWER_H
Contains various helper classes and functions.
Definition Capitalize.h:9
auto toLower(char p) -> char
Definition toLower.h:11