|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Functions | |
| constexpr bool | isValidCharacter (char ch) noexcept |
| Check if a character value represents a valid character in the ASCII table (values 0-127). | |
| constexpr bool | isControlCharacter (char ch) noexcept |
| Check if a character value represents a control character in the ASCII table (values 0-31 and 127). | |
| constexpr bool | isPrintableCharacter (char ch) noexcept |
| Check if a character value represents a printable character in the ASCII table (values 32-126). | |
| constexpr bool | isUppercase (char ch) noexcept |
| Check if a character is an uppercase ASCII letter (A-Z). | |
| constexpr bool | isLowercase (char ch) noexcept |
| Check if a character is a lowercase ASCII letter (a-z). | |
| constexpr bool | isLetter (char ch) noexcept |
| Check if a character is an ASCII letter (A-Z or a-z). | |
| constexpr bool | isDecimalDigit (char ch) noexcept |
| Check if a character is an ASCII decimal numeric digit (0-9). | |
| constexpr char | convertUppercaseToLowercaseCharacter (char ch) |
| Convert an uppercase ASCII letter (A-Z) to its corresponding lowercase ASCII letter (a-z). | |
| constexpr char | convertLowercaseToUppercaseCharacter (char ch) |
| Convert a lowercase ASCII letter (a-z) to its corresponding uppercase ASCII letter (A-Z). | |
| constexpr char | convertToLowercaseCharacter (char ch) noexcept |
| Convert a character to its corresponding lowercase ASCII letter (a-z) if it has one. | |
| constexpr char | convertToUppercaseCharacter (char ch) noexcept |
| Convert a character to its corresponding uppercase ASCII letter (A-Z) if it has one. | |
| constexpr char | convertToOppositeCaseCharacter (char ch) noexcept |
| Convert a character to its opposite case if it is an ASCII letter. | |
| constexpr String | convertToLowercaseString (StringView string) |
| Convert each character in a string to its corresponding lowercase ASCII letter (a-z) if it has one. | |
| constexpr String | convertToLowercaseString (String &&string) |
| Convert each character in a string to its corresponding lowercase ASCII letter (a-z) if it has one. | |
| constexpr String | convertToUppercaseString (StringView string) |
| Convert each character in a string to its corresponding uppercase ASCII letter (A-Z) if it has one. | |
| constexpr String | convertToUppercaseString (String &&string) |
| Convert each character in a string to its corresponding uppercase ASCII letter (A-Z) if it has one. | |
| constexpr bool | caseInsensitiveEqual (char a, char b) noexcept |
| Check if two characters are equal if any ASCII letters are treated as the same case, i.e. ignoring whether they are lowercase (a-z) or uppercase (A-Z). | |
| constexpr bool | caseInsensitiveEqual (const char *a, const char *b) |
| Check if two null-terminated strings are equal if any ASCII letters are treated as the same case, i.e. ignoring whether they are lowercase (a-z) or uppercase (A-Z). | |
| constexpr bool | caseInsensitiveEqual (StringView a, StringView b) |
| Check if two strings are equal if any ASCII letters are treated as the same case, i.e. ignoring whether they are lowercase (a-z) or uppercase (A-Z). | |
|
nodiscardconstexprnoexcept |
Check if a character value represents a valid character in the ASCII table (values 0-127).
| ch | character to check. |
|
nodiscardconstexprnoexcept |
Check if a character value represents a control character in the ASCII table (values 0-31 and 127).
| ch | character to check. |
|
nodiscardconstexprnoexcept |
Check if a character value represents a printable character in the ASCII table (values 32-126).
| ch | character to check. |
|
nodiscardconstexprnoexcept |
Check if a character is an uppercase ASCII letter (A-Z).
| ch | character to check. |
|
nodiscardconstexprnoexcept |
Check if a character is a lowercase ASCII letter (a-z).
| ch | character to check. |
|
nodiscardconstexprnoexcept |
Check if a character is an ASCII letter (A-Z or a-z).
| ch | character to check. |
|
nodiscardconstexprnoexcept |
Check if a character is an ASCII decimal numeric digit (0-9).
| ch | character to check. |
|
nodiscardconstexpr |
Convert an uppercase ASCII letter (A-Z) to its corresponding lowercase ASCII letter (a-z).
| ch | character to convert. Must be a valid uppercase ASCII letter. |
|
nodiscardconstexpr |
Convert a lowercase ASCII letter (a-z) to its corresponding uppercase ASCII letter (A-Z).
| ch | character to convert. Must be a valid lowercase ASCII letter. |
|
nodiscardconstexprnoexcept |
Convert a character to its corresponding lowercase ASCII letter (a-z) if it has one.
| ch | character to convert. |
|
nodiscardconstexprnoexcept |
Convert a character to its corresponding uppercase ASCII letter (A-Z) if it has one.
| ch | character to convert. |
|
nodiscardconstexprnoexcept |
Convert a character to its opposite case if it is an ASCII letter.
| ch | character to convert. |
|
nodiscardconstexpr |
Convert each character in a string to its corresponding lowercase ASCII letter (a-z) if it has one.
| string | string to convert. |
| std::length_error | if the length of the given string exceeds the maximum supported allocated string size. |
| std::bad_alloc | on allocation failure. |
Convert each character in a string to its corresponding lowercase ASCII letter (a-z) if it has one.
| string | string to convert. |
|
nodiscardconstexpr |
Convert each character in a string to its corresponding uppercase ASCII letter (A-Z) if it has one.
| string | string to convert. |
| std::length_error | if the length of the given string exceeds the maximum supported allocated string size. |
| std::bad_alloc | on allocation failure. |
Convert each character in a string to its corresponding uppercase ASCII letter (A-Z) if it has one.
| string | string to convert. |
|
nodiscardconstexprnoexcept |
Check if two characters are equal if any ASCII letters are treated as the same case, i.e. ignoring whether they are lowercase (a-z) or uppercase (A-Z).
| a | first character. |
| b | second character. |
|
nodiscardconstexpr |
Check if two null-terminated strings are equal if any ASCII letters are treated as the same case, i.e. ignoring whether they are lowercase (a-z) or uppercase (A-Z).
| a | first string. Must be null-terminated. Must not be nullptr. |
| b | second string. Must be null-terminated. Must not be nullptr. |
|
nodiscardconstexpr |
Check if two strings are equal if any ASCII letters are treated as the same case, i.e. ignoring whether they are lowercase (a-z) or uppercase (A-Z).
| a | first string. |
| b | second string. |