HikoGUI
A low latency retained GUI
|
String conversion functions. More...
#include "utf_8.hpp"
#include "utf_16.hpp"
#include "utf_32.hpp"
#include "../utility/utility.hpp"
#include "../macros.hpp"
#include <string>
#include <string_view>
#include <climits>
#include <array>
Go to the source code of this file.
Namespaces | |
namespace | hi |
The HikoGUI namespace. | |
namespace | hi::v1 |
The HikoGUI API version 1. | |
Functions | |
hi_export_module (hikogui.char_maps.to_string) | |
constexpr std::u32string | hi::v1::to_u32string (std::u32string_view rhs) noexcept |
Identity conversion from UTF-32 to UTF-32. | |
constexpr std::u32string | hi::v1::to_u32string (std::u16string_view rhs) noexcept |
Conversion from UTF-16 to UTF-32. | |
constexpr std::u32string | hi::v1::to_u32string (std::u8string_view rhs) noexcept |
Conversion from UTF-8 to UTF-32. | |
constexpr std::u32string | hi::v1::to_u32string (std::wstring_view rhs) noexcept |
Conversion from wide-string (UTF-16/32) to UTF-32. | |
constexpr std::u32string | hi::v1::to_u32string (std::string_view rhs) noexcept |
Conversion from UTF-8 to UTF-32. | |
constexpr std::u16string | hi::v1::to_u16string (std::u32string_view rhs) noexcept |
Conversion from UTF-32 to UTF-16. | |
constexpr std::u16string | hi::v1::to_u16string (std::u16string_view rhs) noexcept |
Identity conversion from UTF-16 to UTF-16. | |
constexpr std::u16string | hi::v1::to_u16string (std::u8string_view rhs) noexcept |
Conversion from UTF-8 to UTF-16. | |
constexpr std::u16string | hi::v1::to_u16string (std::wstring_view rhs) noexcept |
Conversion from wide-string (UTF-16/32) to UTF-16. | |
constexpr std::u16string | hi::v1::to_u16string (std::string_view rhs) noexcept |
Conversion from UTF-8 to UTF-16. | |
constexpr std::u8string | hi::v1::to_u8string (std::u32string_view rhs) noexcept |
Conversion from UTF-32 to UTF-8. | |
constexpr std::u8string | hi::v1::to_u8string (std::u16string_view rhs) noexcept |
Conversion from UTF-16 to UTF-8. | |
constexpr std::u8string | hi::v1::to_u8string (std::u8string_view rhs) noexcept |
Identity conversion from UTF-8 to UTF-8. | |
constexpr std::u8string | hi::v1::to_u8string (std::wstring_view rhs) noexcept |
Conversion from wide-string (UTF-16/32) to UTF-8. | |
constexpr std::u8string | hi::v1::to_u8string (std::string_view rhs) noexcept |
Conversion from UTF-8 to UTF-8. | |
constexpr std::wstring | hi::v1::to_wstring (std::u32string_view rhs) noexcept |
Conversion from UTF-32 to wide-string (UTF-16/32). | |
constexpr std::wstring | hi::v1::to_wstring (std::u16string_view rhs) noexcept |
Conversion from UTF-16 to wide-string (UTF-16/32). | |
constexpr std::wstring | hi::v1::to_wstring (std::u8string_view rhs) noexcept |
Conversion from UTF-8 to wide-string (UTF-16/32). | |
constexpr std::wstring | hi::v1::to_wstring (std::wstring_view rhs) noexcept |
Identity conversion from wide-string (UTF-16/32) to wide-string (UTF-16/32). | |
constexpr std::wstring | hi::v1::to_wstring (std::string_view rhs) noexcept |
Conversion from UTF-8 to wide-string (UTF-16/32). | |
constexpr std::string | hi::v1::to_string (std::u32string_view rhs) noexcept |
Conversion from UTF-32 to UTF-8. | |
constexpr std::string | hi::v1::to_string (std::u16string_view rhs) noexcept |
Conversion from UTF-16 to UTF-8. | |
constexpr std::string | hi::v1::to_string (std::u8string_view rhs) noexcept |
Identity conversion from UTF-8 to UTF-8. | |
constexpr std::string | hi::v1::to_string (std::wstring_view rhs) noexcept |
Conversion from wide-string (UTF-16/32) to UTF-8. | |
constexpr std::string | hi::v1::to_string (std::string_view rhs) noexcept |
Conversion from UTF-8 to UTF-8. | |
String conversion functions.