![]() |
Thoth
A functional, expressive, asynchronous C++26 webdev library
|
Classes | |
| struct | CharSequences |
| struct | UnicodeViewer |
| Non owning viewer that represents Unicode encodings. More... | |
Concepts | |
| concept | UnicodeCharConcept |
Typedefs | |
| using | Rune = char32_t |
| using | Utf8View = UnicodeViewer< char8_t > |
| using | Utf16View = UnicodeViewer< char16_t > |
| using | Utf32View = UnicodeViewer< char32_t > |
Functions | |
| bool | CaseInsensitiveCompare (char c1, char c2) |
| void | Trim (std::string_view &str, std::string_view trim=CharSequences::whitespace) |
| void | LeftTrim (std::string_view &str, std::string_view trim=CharSequences::whitespace) |
| void | RightTrim (std::string_view &str, std::string_view trim=CharSequences::whitespace) |
| std::string_view | Trimmed (std::string_view str, std::string_view trim=CharSequences::whitespace) |
| std::string_view | LeftTrimmed (std::string_view str, std::string_view trim=CharSequences::whitespace) |
| std::string_view | RightTrimmed (std::string_view str, std::string_view trim=CharSequences::whitespace) |
| std::string | TrimmedStr (std::string_view str, std::string_view trim=CharSequences::whitespace) |
| std::string | LeftTrimmedStr (std::string_view str, std::string_view trim=CharSequences::whitespace) |
| std::string | RightTrimmedStr (std::string_view str, std::string_view trim=CharSequences::whitespace) |
| constexpr std::bitset< 256 > | MakeBitset (std::initializer_list< std::string_view > strs) |
| bool | IsVisible (char c) |
Variables | |
| constexpr Rune | UnknownChar { U'\uFFFD' } |
| using Thoth::String::Rune = typedef char32_t |
| using Thoth::String::Utf16View = typedef UnicodeViewer<char16_t> |
| using Thoth::String::Utf32View = typedef UnicodeViewer<char32_t> |
| using Thoth::String::Utf8View = typedef UnicodeViewer<char8_t> |
| bool Thoth::String::CaseInsensitiveCompare | ( | char | c1, |
| char | c2 | ||
| ) |
| bool Thoth::String::IsVisible | ( | char | c | ) |
| void Thoth::String::LeftTrim | ( | std::string_view & | str, |
| std::string_view | trim = CharSequences::whitespace |
||
| ) |
| std::string_view Thoth::String::LeftTrimmed | ( | std::string_view | str, |
| std::string_view | trim = CharSequences::whitespace |
||
| ) |
| std::string Thoth::String::LeftTrimmedStr | ( | std::string_view | str, |
| std::string_view | trim = CharSequences::whitespace |
||
| ) |
|
constexpr |
| void Thoth::String::RightTrim | ( | std::string_view & | str, |
| std::string_view | trim = CharSequences::whitespace |
||
| ) |
| std::string_view Thoth::String::RightTrimmed | ( | std::string_view | str, |
| std::string_view | trim = CharSequences::whitespace |
||
| ) |
| std::string Thoth::String::RightTrimmedStr | ( | std::string_view | str, |
| std::string_view | trim = CharSequences::whitespace |
||
| ) |
| void Thoth::String::Trim | ( | std::string_view & | str, |
| std::string_view | trim = CharSequences::whitespace |
||
| ) |
| std::string_view Thoth::String::Trimmed | ( | std::string_view | str, |
| std::string_view | trim = CharSequences::whitespace |
||
| ) |
| std::string Thoth::String::TrimmedStr | ( | std::string_view | str, |
| std::string_view | trim = CharSequences::whitespace |
||
| ) |
|
constexpr |