30 static std::any
to_any(std::any value)
noexcept;
38 static std::any
to_any(
bool value)
noexcept;
46 static std::any
to_any(byte_t value)
noexcept;
54 static std::any
to_any(
char value)
noexcept;
63 static std::any
to_any(
char8_t value);
71 static std::any
to_any(
char16_t value)
noexcept;
79 static std::any
to_any(
char32_t value)
noexcept;
87 static std::any
to_any(
wchar_t value)
noexcept;
95 static std::any
to_any(decimal_t value)
noexcept;
104 static std::any
to_any(
double value)
noexcept;
116 static std::any
to_any(
float value)
noexcept;
125 static std::any
to_any(int16_t value)
noexcept;
134 static std::any
to_any(int32_t value)
noexcept;
143 static std::any
to_any(int64_t value)
noexcept;
152 static std::any
to_any(llong_t value)
noexcept;
161 static std::any
to_any(sbyte_t value)
noexcept;
170 static std::any
to_any(uint16_t value)
noexcept;
179 static std::any
to_any(uint32_t value)
noexcept;
188 static std::any
to_any(uint64_t value)
noexcept;
197 static std::any
to_any(ullong_t value)
noexcept;
208 static std::any
to_any(
const std::string& value)
noexcept;
209 static std::any
to_any(
const std::u8string& value)
noexcept;
210 static std::any
to_any(
const std::u16string& value)
noexcept;
211 static std::any
to_any(
const std::u32string& value)
noexcept;
212 static std::any
to_any(
const std::wstring& value)
noexcept;
213 static std::any
to_any(
const char* value)
noexcept;
214 static std::any
to_any(
char* value)
noexcept;
215 static std::any
to_any(
const char8_t* value);
216 static std::any
to_any(
char8_t* value);
217 static std::any
to_any(
const char16_t* value)
noexcept;
218 static std::any
to_any(
char16_t* value)
noexcept;
219 static std::any
to_any(
const char32_t* value)
noexcept;
220 static std::any
to_any(
char32_t* value)
noexcept;
221 static std::any
to_any(
const wchar_t* value)
noexcept;
222 static std::any
to_any(
wchar_t* value)
noexcept;
232 template<
typename type_t>
235 return std::any(value);
433 static bool to_boolean(
const std::string& value);
434 static bool to_boolean(
const std::u8string& value);
435 static bool to_boolean(
const std::u16string& value);
436 static bool to_boolean(
const std::u32string& value);
437 static bool to_boolean(
const std::wstring& value);
442 static bool to_boolean(
const char16_t* value);
444 static bool to_boolean(
const char32_t* value);
457 template<
typename type_t>
459 return static_cast<bool>(value);
506 static byte_t
to_byte(
char8_t value)
noexcept;
682 static byte_t
to_byte(
const std::string& value);
683 static byte_t
to_byte(
const std::u8string& value);
684 static byte_t
to_byte(
const std::u16string& value);
685 static byte_t
to_byte(
const std::u32string& value);
686 static byte_t
to_byte(
const std::wstring& value);
687 static byte_t
to_byte(
const char* value);
688 static byte_t
to_byte(
char* value);
689 static byte_t
to_byte(
const char8_t* value);
690 static byte_t
to_byte(
char8_t* value);
691 static byte_t
to_byte(
const char16_t* value);
692 static byte_t
to_byte(
char16_t* value);
693 static byte_t
to_byte(
const char32_t* value);
694 static byte_t
to_byte(
char32_t* value);
695 static byte_t
to_byte(
const wchar_t* value);
696 static byte_t
to_byte(
wchar_t* value);
706 template<
typename type_t>
707 static byte_t
to_byte(type_t value)
noexcept {
708 return static_cast<byte_t
>(value);
919 static char to_char(
const std::string& value);
920 static char to_char(
const std::u8string& value);
921 static char to_char(
const std::u16string& value);
922 static char to_char(
const std::u32string& value);
923 static char to_char(
const std::wstring& value);
924 static char to_char(
const char* value);
925 static char to_char(
char* value);
926 static char to_char(
const char8_t* value);
927 static char to_char(
char8_t* value);
928 static char to_char(
const char16_t* value);
929 static char to_char(
char16_t* value);
930 static char to_char(
const char32_t* value);
931 static char to_char(
char32_t* value);
932 static char to_char(
const wchar_t* value);
933 static char to_char(
wchar_t* value);
943 template<
typename type_t>
945 return static_cast<char>(value);
1156 static char8_t to_char8(
const std::string& value);
1157 static char8_t to_char8(
const std::u8string& value);
1158 static char8_t to_char8(
const std::u16string& value);
1159 static char8_t to_char8(
const std::u32string& value);
1160 static char8_t to_char8(
const std::wstring& value);
1161 static char8_t to_char8(
const char* value);
1162 static char8_t to_char8(
char* value);
1163 static char8_t to_char8(
const char8_t* value);
1164 static char8_t to_char8(
char8_t* value);
1165 static char8_t to_char8(
const char16_t* value);
1166 static char8_t to_char8(
char16_t* value);
1167 static char8_t to_char8(
const char32_t* value);
1168 static char8_t to_char8(
char32_t* value);
1169 static char8_t to_char8(
const wchar_t* value);
1170 static char8_t to_char8(
wchar_t* value);
1180 template<
typename type_t>
1182 return static_cast<char8_t>(value);
1390 static char16_t to_char16(
const std::string& value);
1391 static char16_t to_char16(
const std::u8string& value);
1392 static char16_t to_char16(
const std::u16string& value);
1393 static char16_t to_char16(
const std::u32string& value);
1394 static char16_t to_char16(
const std::wstring& value);
1395 static char16_t to_char16(
const char* value);
1397 static char16_t to_char16(
const char8_t* value);
1398 static char16_t to_char16(
char8_t* value);
1399 static char16_t to_char16(
const char16_t* value);
1400 static char16_t to_char16(
char16_t* value);
1401 static char16_t to_char16(
const char32_t* value);
1402 static char16_t to_char16(
char32_t* value);
1403 static char16_t to_char16(
const wchar_t* value);
1404 static char16_t to_char16(
wchar_t* value);
1414 template<
typename type_t>
1416 return static_cast<char16_t>(value);
1622 static char32_t to_char32(
const std::string& value);
1623 static char32_t to_char32(
const std::u8string& value);
1624 static char32_t to_char32(
const std::u16string& value);
1625 static char32_t to_char32(
const std::u32string& value);
1626 static char32_t to_char32(
const std::wstring& value);
1627 static char32_t to_char32(
const char* value);
1629 static char32_t to_char32(
const char8_t* value);
1630 static char32_t to_char32(
char8_t* value);
1631 static char32_t to_char32(
const char16_t* value);
1632 static char32_t to_char32(
char16_t* value);
1633 static char32_t to_char32(
const char32_t* value);
1634 static char32_t to_char32(
char32_t* value);
1635 static char32_t to_char32(
const wchar_t* value);
1636 static char32_t to_char32(
wchar_t* value);
1646 template<
typename type_t>
1648 return static_cast<char32_t>(value);
1856 static wchar_t to_wchar(
const std::string& value);
1857 static wchar_t to_wchar(
const std::u8string& value);
1858 static wchar_t to_wchar(
const std::u16string& value);
1859 static wchar_t to_wchar(
const std::u32string& value);
1860 static wchar_t to_wchar(
const std::wstring& value);
1861 static wchar_t to_wchar(
const char* value);
1862 static wchar_t to_wchar(
char* value);
1863 static wchar_t to_wchar(
const char8_t* value);
1864 static wchar_t to_wchar(
char8_t* value);
1865 static wchar_t to_wchar(
const char16_t* value);
1866 static wchar_t to_wchar(
char16_t* value);
1867 static wchar_t to_wchar(
const char32_t* value);
1868 static wchar_t to_wchar(
char32_t* value);
1869 static wchar_t to_wchar(
const wchar_t* value);
1870 static wchar_t to_wchar(
wchar_t* value);
1880 template<
typename type_t>
1882 return static_cast<wchar_t>(value);
2079 static decimal_t
to_decimal(
const std::string& value);
2080 static decimal_t
to_decimal(
const std::u8string& value);
2081 static decimal_t
to_decimal(
const std::u16string& value);
2082 static decimal_t
to_decimal(
const std::u32string& value);
2083 static decimal_t
to_decimal(
const std::wstring& value);
2084 static decimal_t
to_decimal(
const char* value);
2086 static decimal_t
to_decimal(
const char8_t* value);
2088 static decimal_t
to_decimal(
const char16_t* value);
2089 static decimal_t
to_decimal(
char16_t* value);
2090 static decimal_t
to_decimal(
const char32_t* value);
2091 static decimal_t
to_decimal(
char32_t* value);
2092 static decimal_t
to_decimal(
const wchar_t* value);
2103 template<
typename type_t>
2105 return static_cast<decimal_t
>(value);
2302 static double to_double(
const std::string& value);
2303 static double to_double(
const std::u8string& value);
2304 static double to_double(
const std::u16string& value);
2305 static double to_double(
const std::u32string& value);
2306 static double to_double(
const std::wstring& value);
2307 static double to_double(
const char* value);
2309 static double to_double(
const char8_t* value);
2310 static double to_double(
char8_t* value);
2311 static double to_double(
const char16_t* value);
2312 static double to_double(
char16_t* value);
2313 static double to_double(
const char32_t* value);
2314 static double to_double(
char32_t* value);
2315 static double to_double(
const wchar_t* value);
2316 static double to_double(
wchar_t* value);
2326 template<
typename type_t>
2328 return static_cast<double>(value);
2525 static float to_single(
const std::string& value);
2526 static float to_single(
const std::u8string& value);
2527 static float to_single(
const std::u16string& value);
2528 static float to_single(
const std::u32string& value);
2529 static float to_single(
const std::wstring& value);
2530 static float to_single(
const char* value);
2532 static float to_single(
const char8_t* value);
2534 static float to_single(
const char16_t* value);
2535 static float to_single(
char16_t* value);
2536 static float to_single(
const char32_t* value);
2537 static float to_single(
char32_t* value);
2538 static float to_single(
const wchar_t* value);
2549 template<
typename type_t>
2551 return static_cast<float>(value);
2770 static int16_t
to_int16(
const std::string& value);
2771 static int16_t
to_int16(
const std::u8string& value);
2772 static int16_t
to_int16(
const std::u16string& value);
2773 static int16_t
to_int16(
const std::u32string& value);
2774 static int16_t
to_int16(
const std::wstring& value);
2775 static int16_t
to_int16(
const char* value);
2776 static int16_t
to_int16(
char* value);
2777 static int16_t
to_int16(
const char8_t* value);
2778 static int16_t
to_int16(
char8_t* value);
2779 static int16_t
to_int16(
const char16_t* value);
2780 static int16_t
to_int16(
char16_t* value);
2781 static int16_t
to_int16(
const char32_t* value);
2782 static int16_t
to_int16(
char32_t* value);
2783 static int16_t
to_int16(
const wchar_t* value);
2784 static int16_t
to_int16(
wchar_t* value);
2794 template<
typename type_t>
2796 return static_cast<int16_t
>(value);
3011 static int32_t
to_int32(
const std::string& value);
3012 static int32_t
to_int32(
const std::u8string& value);
3013 static int32_t
to_int32(
const std::u16string& value);
3014 static int32_t
to_int32(
const std::u32string& value);
3015 static int32_t
to_int32(
const std::wstring& value);
3016 static int32_t
to_int32(
const char* value);
3017 static int32_t
to_int32(
char* value);
3018 static int32_t
to_int32(
const char8_t* value);
3019 static int32_t
to_int32(
char8_t* value);
3020 static int32_t
to_int32(
const char16_t* value);
3021 static int32_t
to_int32(
char16_t* value);
3022 static int32_t
to_int32(
const char32_t* value);
3023 static int32_t
to_int32(
char32_t* value);
3024 static int32_t
to_int32(
const wchar_t* value);
3025 static int32_t
to_int32(
wchar_t* value);
3035 template<
typename type_t>
3037 return static_cast<int32_t
>(value);
3247 static int64_t
to_int64(
const std::string& value);
3248 static int64_t
to_int64(
const std::u8string& value);
3249 static int64_t
to_int64(
const std::u16string& value);
3250 static int64_t
to_int64(
const std::u32string& value);
3251 static int64_t
to_int64(
const std::wstring& value);
3252 static int64_t
to_int64(
const char* value);
3253 static int64_t
to_int64(
char* value);
3254 static int64_t
to_int64(
const char8_t* value);
3255 static int64_t
to_int64(
char8_t* value);
3256 static int64_t
to_int64(
const char16_t* value);
3257 static int64_t
to_int64(
char16_t* value);
3258 static int64_t
to_int64(
const char32_t* value);
3259 static int64_t
to_int64(
char32_t* value);
3260 static int64_t
to_int64(
const wchar_t* value);
3261 static int64_t
to_int64(
wchar_t* value);
3271 template<
typename type_t>
3273 return static_cast<int64_t
>(value);
3483 static llong_t
to_llong(
const std::string& value);
3484 static llong_t
to_llong(
const std::u8string& value);
3485 static llong_t
to_llong(
const std::u16string& value);
3486 static llong_t
to_llong(
const std::u32string& value);
3487 static llong_t
to_llong(
const std::wstring& value);
3488 static llong_t
to_llong(
const char* value);
3489 static llong_t
to_llong(
char* value);
3490 static llong_t
to_llong(
const char8_t* value);
3491 static llong_t
to_llong(
char8_t* value);
3492 static llong_t
to_llong(
const char16_t* value);
3493 static llong_t
to_llong(
char16_t* value);
3494 static llong_t
to_llong(
const char32_t* value);
3495 static llong_t
to_llong(
char32_t* value);
3496 static llong_t
to_llong(
const wchar_t* value);
3497 static llong_t
to_llong(
wchar_t* value);
3507 template<
typename type_t>
3509 return static_cast<llong_t
>(value);
3732 static sbyte_t
to_sbyte(
const std::string& value);
3733 static sbyte_t
to_sbyte(
const std::u8string& value);
3734 static sbyte_t
to_sbyte(
const std::u16string& value);
3735 static sbyte_t
to_sbyte(
const std::u32string& value);
3736 static sbyte_t
to_sbyte(
const std::wstring& value);
3737 static sbyte_t
to_sbyte(
const char* value);
3738 static sbyte_t
to_sbyte(
char* value);
3739 static sbyte_t
to_sbyte(
const char8_t* value);
3740 static sbyte_t
to_sbyte(
char8_t* value);
3741 static sbyte_t
to_sbyte(
const char16_t* value);
3742 static sbyte_t
to_sbyte(
char16_t* value);
3743 static sbyte_t
to_sbyte(
const char32_t* value);
3744 static sbyte_t
to_sbyte(
char32_t* value);
3745 static sbyte_t
to_sbyte(
const wchar_t* value);
3746 static sbyte_t
to_sbyte(
wchar_t* value);
3756 template<
typename type_t>
3758 return static_cast<sbyte_t
>(value);
3978 static uint16_t
to_uint16(
const std::string& value);
3979 static uint16_t
to_uint16(
const std::u8string& value);
3980 static uint16_t
to_uint16(
const std::u16string& value);
3981 static uint16_t
to_uint16(
const std::u32string& value);
3982 static uint16_t
to_uint16(
const std::wstring& value);
3983 static uint16_t
to_uint16(
const char* value);
3985 static uint16_t
to_uint16(
const char8_t* value);
3986 static uint16_t
to_uint16(
char8_t* value);
3987 static uint16_t
to_uint16(
const char16_t* value);
3988 static uint16_t
to_uint16(
char16_t* value);
3989 static uint16_t
to_uint16(
const char32_t* value);
3990 static uint16_t
to_uint16(
char32_t* value);
3991 static uint16_t
to_uint16(
const wchar_t* value);
3992 static uint16_t
to_uint16(
wchar_t* value);
4002 template<
typename type_t>
4004 return static_cast<uint16_t
>(value);
4222 static uint32_t
to_uint32(
const std::string& value);
4223 static uint32_t
to_uint32(
const std::u8string& value);
4224 static uint32_t
to_uint32(
const std::u16string& value);
4225 static uint32_t
to_uint32(
const std::u32string& value);
4226 static uint32_t
to_uint32(
const std::wstring& value);
4227 static uint32_t
to_uint32(
const char* value);
4229 static uint32_t
to_uint32(
const char8_t* value);
4230 static uint32_t
to_uint32(
char8_t* value);
4231 static uint32_t
to_uint32(
const char16_t* value);
4232 static uint32_t
to_uint32(
char16_t* value);
4233 static uint32_t
to_uint32(
const char32_t* value);
4234 static uint32_t
to_uint32(
char32_t* value);
4235 static uint32_t
to_uint32(
const wchar_t* value);
4236 static uint32_t
to_uint32(
wchar_t* value);
4246 template<
typename type_t>
4248 return static_cast<uint32_t
>(value);
4464 static uint64_t
to_uint64(
const std::string& value);
4465 static uint64_t
to_uint64(
const std::u8string& value);
4466 static uint64_t
to_uint64(
const std::u16string& value);
4467 static uint64_t
to_uint64(
const std::u32string& value);
4468 static uint64_t
to_uint64(
const std::wstring& value);
4469 static uint64_t
to_uint64(
const char* value);
4471 static uint64_t
to_uint64(
const char8_t* value);
4472 static uint64_t
to_uint64(
char8_t* value);
4473 static uint64_t
to_uint64(
const char16_t* value);
4474 static uint64_t
to_uint64(
char16_t* value);
4475 static uint64_t
to_uint64(
const char32_t* value);
4476 static uint64_t
to_uint64(
char32_t* value);
4477 static uint64_t
to_uint64(
const wchar_t* value);
4478 static uint64_t
to_uint64(
wchar_t* value);
4488 template<
typename type_t>
4489 static uint64_t
to_uint64(type_t value)
noexcept {
4490 return static_cast<uint64_t
>(value);
4501 static ullong_t
to_ullong(std::any value);
4510 static ullong_t
to_ullong(
bool value)
noexcept;
4519 static ullong_t
to_ullong(byte_t value)
noexcept;
4528 static ullong_t
to_ullong(
char value)
noexcept;
4537 static ullong_t
to_ullong(
char8_t value)
noexcept;
4546 static ullong_t
to_ullong(
char16_t value)
noexcept;
4555 static ullong_t
to_ullong(
char32_t value)
noexcept;
4564 static ullong_t
to_ullong(
wchar_t value)
noexcept;
4575 static ullong_t
to_ullong(decimal_t value);
4586 static ullong_t
to_ullong(
double value);
4607 static ullong_t
to_ullong(int16_t value);
4617 static ullong_t
to_ullong(int32_t value);
4627 static ullong_t
to_ullong(int64_t value);
4637 static ullong_t
to_ullong(llong_t value);
4647 static ullong_t
to_ullong(sbyte_t value);
4656 static ullong_t
to_ullong(uint16_t value)
noexcept;
4665 static ullong_t
to_ullong(uint32_t value)
noexcept;
4675 static ullong_t
to_ullong(uint64_t value)
noexcept;
4684 static ullong_t
to_ullong(ullong_t value)
noexcept;
4706 static ullong_t
to_ullong(
const std::string& value);
4707 static ullong_t
to_ullong(
const std::u8string& value);
4708 static ullong_t
to_ullong(
const std::u16string& value);
4709 static ullong_t
to_ullong(
const std::u32string& value);
4710 static ullong_t
to_ullong(
const std::wstring& value);
4711 static ullong_t
to_ullong(
const char* value);
4713 static ullong_t
to_ullong(
const char8_t* value);
4714 static ullong_t
to_ullong(
char8_t* value);
4715 static ullong_t
to_ullong(
const char16_t* value);
4716 static ullong_t
to_ullong(
char16_t* value);
4717 static ullong_t
to_ullong(
const char32_t* value);
4718 static ullong_t
to_ullong(
char32_t* value);
4719 static ullong_t
to_ullong(
const wchar_t* value);
4720 static ullong_t
to_ullong(
wchar_t* value);
4730 template<
typename type_t>
4732 return static_cast<ullong_t
>(value);
5071 template<
typename type_t>
5412 template<
typename type_t>
Represents API to convert base type code.
Definition: convert.h:20
static std::any to_any(int32_t value) noexcept
Convert int32_t to std::any.
static ustring to_ustring(sbyte_t value, byte_t from_base)
Convert string to ustring.
static char to_char(byte_t value) noexcept
Convert byte_t to char.
static llong_t to_llong(ullong_t value)
Convert llong_t to llong.
static bool to_boolean(char32_t value)
Convert char32_t to bool.
static wchar_t to_wchar(char8_t value) noexcept
Convert char8_t to wchar.
static llong_t to_llong(double value) noexcept
Convert double to llong.
static std::any to_any(char32_t value) noexcept
Convert char32_t to std::any.
static int16_t to_int16(uint64_t value)
Convert uint64_t to int16.
static uint32_t to_uint32(const xtd::ustring &value, byte_t from_base)
Convert string to uint32.
static llong_t to_llong(const xtd::ustring &value)
Convert string to llong.
static std::any to_any(const xtd::ustring &value) noexcept
Convert string to std::any.
static int16_t to_int16(byte_t value) noexcept
Convert byte_t to int16.
static char to_char(wchar_t value)
Convert char32_t to char.
static byte_t to_byte(ullong_t value)
Convert llong_t to byte.
static uint32_t to_uint32(char16_t value) noexcept
Convert char16_t to uint32.
static decimal_t to_decimal(wchar_t value) noexcept
Convert char32_t to decimal.
static ustring to_string(sbyte_t value, byte_t from_base)
Convert string to ustring.
static wchar_t to_wchar(int32_t value)
Convert int32_t to wchar.
static char to_char(int32_t value)
Convert int32_t to char.
static char8_t to_char8(uint16_t value)
Convert uint16_t to char8.
static int16_t to_int16(llong_t value)
Convert llong_t to int16.
static int16_t to_int16(char value) noexcept
Convert char to int16.
static int32_t to_int32(decimal_t value)
Convert decimal_t to int32.
static uint64_t to_uint64(char32_t value) noexcept
Convert char32_t to uint64.
static ustring to_string(uint32_t value, byte_t from_base)
Convert string to ustring.
static ustring to_string(int64_t value)
Convert int64_t to ustring.
static double to_double(ullong_t value) noexcept
Convert llong_t to double.
static double to_double(std::any value)
Convert std::any to double.
static char16_t to_char16(float value)
Convert float to char16.
static byte_t to_byte(uint32_t value)
Convert uint32_t to byte.
static char32_t to_char32(float value)
Convert float to char32.
static bool to_boolean(wchar_t value)
Convert wchar_t to bool.
static ustring to_string(bool value) noexcept
Convert bool to ustring.
static char8_t to_char8(char8_t value) noexcept
Convert char8_t to char8.
static ustring to_ustring(llong_t value)
Convert llong_t to ustring.
static uint64_t to_uint64(uint32_t value) noexcept
Convert uint32_t to uint64.
static char32_t to_char32(uint64_t value)
Convert uint64_t to char32.
static byte_t to_byte(char value) noexcept
Convert char to byte.
static int16_t to_int16(char8_t value) noexcept
Convert char8_t to int16.
static int16_t to_int16(float value)
Convert float to int16.
static int64_t to_int64(wchar_t value) noexcept
Convert char32_t to int64.
static sbyte_t to_sbyte(char16_t value)
Convert char16_t to sbyte.
static int32_t to_int32(uint16_t value) noexcept
Convert uint16_t to int32.
static float to_single(uint16_t value) noexcept
Convert uint16_t to single.
static int32_t to_int32(int32_t value) noexcept
Convert int32_t to int32.
static char16_t to_char16(std::any value)
Convert std::any to char16.
static ustring to_ustring(std::any value)
Convert std::any to ustring.
static ustring to_string(uint64_t value, byte_t from_base)
Convert string to ustring.
static int16_t to_int16(type_t value) noexcept
Convert type_t to int16.
Definition: convert.h:2795
static int16_t to_int16(ullong_t value)
Convert llong_t to int16.
static char16_t to_char16(byte_t value) noexcept
Convert byte_t to char16.
static uint32_t to_uint32(uint64_t value)
Convert uint64_t to uint32.
static float to_single(char value) noexcept
Convert char to single.
static double to_double(wchar_t value) noexcept
Convert char32_t to double.
static ustring to_string(std::any value)
Convert std::any to ustring.
static char32_t to_char32(const xtd::ustring &value)
Convert string to char32.
static float to_single(double value) noexcept
Convert double to single.
static char to_char(uint16_t value)
Convert uint16_t to char.
static int32_t to_int32(double value)
Convert double to int32.
static wchar_t to_wchar(byte_t value) noexcept
Convert byte_t to wchar.
static sbyte_t to_sbyte(decimal_t value)
Convert decimal_t to sbyte.
static int64_t to_int64(double value) noexcept
Convert double to int64.
static float to_single(uint32_t value) noexcept
Convert uint32_t to single.
static uint32_t to_uint32(int16_t value)
Convert int16_t to uint32.
static int64_t to_int64(std::any value)
Convert std::any to int64.
static byte_t to_byte(decimal_t value)
Convert decimal_t to byte.
static int64_t to_int64(int32_t value) noexcept
Convert int32_t to int64.
static int16_t to_int16(uint16_t value)
Convert uint16_t to int16.
static ustring to_string(char16_t value) noexcept
Convert char16_t to ustring.
static bool to_boolean(uint64_t value) noexcept
Convert uint64_t to bool.
static decimal_t to_decimal(uint16_t value) noexcept
Convert uint16_t to decimal.
static uint16_t to_uint16(llong_t value)
Convert llong_t to uint16.
static int16_t to_int16(char16_t value) noexcept
Convert char16_t to int16.
static std::any to_any(ullong_t value) noexcept
Convert llong_t to std::any.
static sbyte_t to_sbyte(char8_t value) noexcept
Convert char8_t to sbyte.
static bool to_boolean(std::any value)
Convert std::any to bool.
static ustring to_string(type_t value) noexcept
Convert type_t to ustring.
Definition: convert.h:5072
static sbyte_t to_sbyte(char value) noexcept
Convert char to sbyte.
static uint32_t to_uint32(char32_t value) noexcept
Convert char32_t to uint32.
static int32_t to_int32(char16_t value) noexcept
Convert char16_t to int32.
static decimal_t to_decimal(type_t value) noexcept
Convert type_t to decimal.
Definition: convert.h:2104
static uint32_t to_uint32(const xtd::ustring &value)
Convert string to uint32.
static int16_t to_int16(sbyte_t value) noexcept
Convert sbyte_t to int16.
static bool to_boolean(char8_t value)
Convert char8_t to bool.
static uint16_t to_uint16(bool value) noexcept
Convert bool to uint16.
static ustring to_string(wchar_t value) noexcept
Convert char32_t to ustring.
static byte_t to_byte(std::any value)
Convert std::any to byte.
static char8_t to_char8(std::any value)
Convert std::any to char8.
static char8_t to_char8(ullong_t value)
Convert llong_t to char8.
static float to_single(std::any value)
Convert std::any to single.
static double to_double(int16_t value) noexcept
Convert int16_t to double.
static ustring to_string(uint32_t value) noexcept
Convert uint32_t to ustring.
static uint32_t to_uint32(double value)
Convert double to uint32.
static ustring to_ustring(uint32_t value, byte_t from_base)
Convert string to ustring.
static uint16_t to_uint16(int32_t value)
Convert int32_t to uint16.
static double to_double(double value) noexcept
Convert double to double.
static uint16_t to_uint16(type_t value) noexcept
Convert type_t to uint16.
Definition: convert.h:4003
static sbyte_t to_sbyte(std::any value)
Convert std::any to sbyte.
static llong_t to_llong(char value) noexcept
Convert char to llong.
static double to_double(char32_t value) noexcept
Convert char32_t to double.
static int16_t to_int16(std::any value)
Convert std::any to int16.
static ustring to_ustring(const xtd::ustring &value)
Convert string to ustring.
static ustring to_string(byte_t value) noexcept
Convert byte_t to ustring.
static char8_t to_char8(wchar_t value)
Convert char32_t to char8.
static sbyte_t to_sbyte(ullong_t value)
Convert llong_t to sbyte.
static char8_t to_char8(char value) noexcept
Convert char to char8.
static llong_t to_llong(char16_t value) noexcept
Convert char16_t to llong.
static uint16_t to_uint16(decimal_t value)
Convert decimal_t to uint16.
static float to_single(wchar_t value) noexcept
Convert char32_t to single.
static uint16_t to_uint16(uint16_t value) noexcept
Convert uint16_t to uint16.
static int64_t to_int64(int64_t value) noexcept
Convert int64_t to int64.
static ustring to_ustring(uint16_t value, byte_t from_base)
Convert string to ustring.
static char32_t to_char32(byte_t value) noexcept
Convert byte_t to char32.
static byte_t to_byte(sbyte_t value)
Convert sbyte_t to byte.
static ustring to_string(int16_t value)
Convert int16_t to ustring.
static sbyte_t to_sbyte(wchar_t value)
Convert char32_t to sbyte.
static ustring to_ustring(double value)
Convert double to ustring.
static int32_t to_int32(char value) noexcept
Convert char to int32.
static float to_single(int32_t value) noexcept
Convert int32_t to single.
static float to_single(bool value) noexcept
Convert bool to single.
static ullong_t to_ullong(type_t value) noexcept
Convert type_t to ullong.
Definition: convert.h:4731
static uint32_t to_uint32(std::any value)
Convert std::any to uint32.
static char32_t to_char32(ullong_t value)
Convert llong_t to char32.
static int64_t to_int64(uint64_t value)
Convert uint64_t to int64.
static ustring to_ustring(uint32_t value) noexcept
Convert uint32_t to ustring.
static bool to_boolean(char value)
Convert char to bool.
static float to_single(char8_t value) noexcept
Convert char8_t to single.
static decimal_t to_decimal(ullong_t value) noexcept
Convert llong_t to decimal.
static uint64_t to_uint64(decimal_t value)
Convert decimal_t to uint64.
static uint16_t to_uint16(char value) noexcept
Convert char to uint16.
static int64_t to_int64(char value) noexcept
Convert char to int64.
static decimal_t to_decimal(char32_t value) noexcept
Convert char32_t to decimal.
static int64_t to_int64(uint16_t value) noexcept
Convert uint16_t to int64.
static uint64_t to_uint64(float value)
Convert float to uint64.
static int16_t to_int16(decimal_t value)
Convert decimal_t to int16.
static uint64_t to_uint64(std::any value)
Convert std::any to uint64.
static uint16_t to_uint16(sbyte_t value)
Convert sbyte_t to uint16.
static float to_single(byte_t value) noexcept
Convert byte_t to single.
static float to_single(int64_t value) noexcept
Convert int64_t to single.
static std::any to_any(byte_t value) noexcept
Convert byte_t to std::any.
static decimal_t to_decimal(decimal_t value) noexcept
Convert decimal_t to decimal.
static ustring to_string(double value)
Convert double to ustring.
static decimal_t to_decimal(int64_t value) noexcept
Convert int64_t to decimal.
static bool to_boolean(sbyte_t value) noexcept
Convert sbyte_t to bool.
static char8_t to_char8(double value)
Convert double to char8.
static int32_t to_int32(std::any value)
Convert std::any to int32.
static sbyte_t to_sbyte(uint64_t value)
Convert uint64_t to sbyte.
static int64_t to_int64(byte_t value) noexcept
Convert byte_t to int64.
static ustring to_string(sbyte_t value)
Convert sbyte_t to ustring.
static int32_t to_int32(uint32_t value)
Convert uint32_t to int32.
static ustring to_string(decimal_t value)
Convert decimal_t to ustring.
static int16_t to_int16(uint32_t value)
Convert uint32_t to int16.
static wchar_t to_wchar(std::any value)
Convert std::any to wchar.
static int16_t to_int16(char32_t value)
Convert char32_t to int16.
static uint32_t to_uint32(wchar_t value) noexcept
Convert char32_t to uint32.
static uint32_t to_uint32(sbyte_t value)
Convert sbyte_t to uint32.
static char32_t to_char32(char32_t value) noexcept
Convert char32_t to char32.
static byte_t to_byte(int32_t value)
Convert int32_t to byte.
static uint16_t to_uint16(double value)
Convert double to uint16.
static llong_t to_llong(uint64_t value)
Convert uint64_t to llong.
static char32_t to_char32(char8_t value) noexcept
Convert char8_t to char32.
static std::any to_any(std::any value) noexcept
Convert std::any to std::any.
static std::any to_any(char8_t value)
Convert char8_t to std::any.
static ustring to_string(int16_t value, byte_t from_base)
Convert string to ustring.
static char to_char(char16_t value)
Convert char16_t to char.
static llong_t to_llong(wchar_t value) noexcept
Convert char32_t to llong.
static byte_t to_byte(llong_t value)
Convert llong_t to byte.
static ustring to_string(llong_t value, byte_t from_base)
Convert string to ustring.
static float to_single(char16_t value) noexcept
Convert char16_t to single.
static int64_t to_int64(const xtd::ustring &value, byte_t from_base)
Convert string to int64.
static uint64_t to_uint64(uint16_t value) noexcept
Convert uint16_t to uint64.
static char to_char(char value) noexcept
Convert char to char.
static char to_char(char32_t value)
Convert char32_t to char.
static decimal_t to_decimal(char8_t value) noexcept
Convert char8_t to decimal.
static ustring to_ustring(llong_t value, byte_t from_base)
Convert string to ustring.
static ustring to_string(int64_t value, byte_t from_base)
Convert string to ustring.
static uint16_t to_uint16(char16_t value) noexcept
Convert char16_t to uint16.
static uint64_t to_uint64(int16_t value)
Convert int16_t to uint64.
static std::any to_any(int16_t value) noexcept
Convert int16_t to std::any.
static int32_t to_int32(bool value) noexcept
Convert bool to int32.
static double to_double(int64_t value) noexcept
Convert int64_t to double.
static sbyte_t to_sbyte(float value)
Convert float to sbyte.
static ustring to_string(int32_t value)
Convert int32_t to ustring.
static char to_char(uint64_t value)
Convert uint64_t to char.
static sbyte_t to_sbyte(int32_t value)
Convert int32_t to sbyte.
static char8_t to_char8(llong_t value)
Convert llong_t to char8.
static byte_t to_byte(const xtd::ustring &value, byte_t from_base)
Convert string to byte.
static decimal_t to_decimal(float value) noexcept
Convert float to decimal.
static ustring to_ustring(char16_t value) noexcept
Convert char16_t to ustring.
static sbyte_t to_sbyte(uint32_t value)
Convert uint32_t to sbyte.
static int64_t to_int64(float value) noexcept
Convert float to int64.
static uint32_t to_uint32(bool value) noexcept
Convert bool to uint32.
static ustring to_string(uint64_t value) noexcept
Convert uint64_t to ustring.
static char32_t to_char32(uint32_t value) noexcept
Convert uint32_t to char32.
static bool to_boolean(ullong_t value) noexcept
Convert llong_t to bool.
static llong_t to_llong(uint32_t value) noexcept
Convert uint32_t to llong.
static decimal_t to_decimal(uint64_t value) noexcept
Convert uint64_t to decimal.
static char32_t to_char32(char16_t value) noexcept
Convert char16_t to char32.
static int64_t to_int64(llong_t value) noexcept
Convert llong_t to int64.
static byte_t to_byte(uint16_t value)
Convert uint16_t to byte.
static char32_t to_char32(double value)
Convert double to char32.
static wchar_t to_wchar(wchar_t value) noexcept
Convert char32_t to wchar.
static char8_t to_char8(bool value)
Convert bool to char8.
static wchar_t to_wchar(uint16_t value) noexcept
Convert uint16_t to wchar.
static char to_char(char8_t value) noexcept
Convert char8_t to char.
static sbyte_t to_sbyte(byte_t value) noexcept
Convert byte_t to sbyte.
static bool to_boolean(char16_t value)
Convert char16_t to bool.
static int32_t to_int32(uint64_t value)
Convert uint64_t to int32.
static char8_t to_char8(char16_t value)
Convert char16_t to char8.
static uint16_t to_uint16(char32_t value)
Convert char32_t to uint16.
static byte_t to_byte(const xtd::ustring &value)
Convert string to byte.
static std::any to_any(wchar_t value) noexcept
Convert wchar_t to std::any.
static int16_t to_int16(bool value) noexcept
Convert bool to int16.
static uint64_t to_uint64(double value)
Convert double to uint64.
static char to_char(bool value)
Convert bool to char.
static uint16_t to_uint16(ullong_t value)
Convert llong_t to uint16.
static std::any to_any(char value) noexcept
Convert char to std::any.
static ustring to_ustring(float value)
Convert float to ustring.
static char8_t to_char8(uint64_t value)
Convert uint64_t to char8.
static char to_char(const xtd::ustring &value)
Convert string to char.
static llong_t to_llong(int16_t value) noexcept
Convert int16_t to llong.
static bool to_boolean(uint32_t value) noexcept
Convert uint32_t to bool.
static char to_char(int16_t value)
Convert int16_t to char.
static byte_t to_byte(type_t value) noexcept
Convert type_t to byte.
Definition: convert.h:707
static ustring to_ustring(char32_t value) noexcept
Convert char32_t to ustring.
static llong_t to_llong(float value) noexcept
Convert float to llong.
static llong_t to_llong(int32_t value) noexcept
Convert int32_t to llong.
static double to_double(llong_t value) noexcept
Convert llong_t to double.
static char to_char(sbyte_t value)
Convert sbyte_t to char.
static ustring to_ustring(sbyte_t value)
Convert sbyte_t to ustring.
static bool to_boolean(const xtd::ustring &value)
Convert string to bool.
static ustring to_ustring(uint16_t value) noexcept
Convert uint16_t to ustring.
static sbyte_t to_sbyte(bool value) noexcept
Convert bool to sbyte.
static ustring to_ustring(byte_t value) noexcept
Convert byte_t to ustring.
static bool to_boolean(type_t value) noexcept
Convert type_t to bool.
Definition: convert.h:458
static int64_t to_int64(uint32_t value) noexcept
Convert uint32_t to int64.
static int32_t to_int32(char8_t value) noexcept
Convert char8_t to int32.
static int32_t to_int32(wchar_t value) noexcept
Convert char32_t to int32.
static wchar_t to_wchar(float value)
Convert float to wchar.
static uint64_t to_uint64(int64_t value)
Convert int64_t to uint64.
static int64_t to_int64(char32_t value) noexcept
Convert char32_t to int64.
static double to_double(sbyte_t value) noexcept
Convert sbyte_t to double.
static double to_double(int32_t value) noexcept
Convert int32_t to double.
static double to_double(bool value) noexcept
Convert bool to double.
static uint32_t to_uint32(uint32_t value) noexcept
Convert uint32_t to uint32.
static int16_t to_int16(int16_t value) noexcept
Convert int16_t to int16.
static sbyte_t to_sbyte(sbyte_t value)
Convert sbyte_t to sbyte.
static std::any to_any(decimal_t value) noexcept
Convert decimal_t to std::any.
static ustring to_ustring(char value) noexcept
Convert char to ustring.
static int32_t to_int32(const xtd::ustring &value, byte_t from_base)
Convert string to int32.
static uint32_t to_uint32(type_t value) noexcept
Convert type_t to uint32.
Definition: convert.h:4247
static int32_t to_int32(char32_t value) noexcept
Convert char32_t to int32.
static wchar_t to_wchar(int64_t value)
Convert int64_t to wchar.
static uint32_t to_uint32(char8_t value) noexcept
Convert char8_t to uint32.
static llong_t to_llong(llong_t value) noexcept
Convert llong_t to llong.
static uint32_t to_uint32(byte_t value) noexcept
Convert byte_t to uint32.
static char32_t to_char32(wchar_t value) noexcept
Convert char32_t to char32.
static char16_t to_char16(char32_t value)
Convert char32_t to char16.
static char32_t to_char32(decimal_t value)
Convert decimal_t to char32.
static ustring to_ustring(wchar_t value) noexcept
Convert char32_t to ustring.
static double to_double(uint64_t value) noexcept
Convert uint64_t to double.
static int32_t to_int32(byte_t value) noexcept
Convert byte_t to int32.
static ustring to_ustring(bool value) noexcept
Convert bool to ustring.
static char16_t to_char16(uint16_t value) noexcept
Convert uint16_t to char16.
static uint64_t to_uint64(char value) noexcept
Convert char to uint64.
static ustring to_string(char value) noexcept
Convert char to ustring.
static uint32_t to_uint32(llong_t value)
Convert llong_t to uint32.
static double to_double(uint16_t value) noexcept
Convert uint16_t to double.
static char32_t to_char32(std::any value)
Convert std::any to char32.
static int64_t to_int64(char16_t value) noexcept
Convert char16_t to int64.
static llong_t to_llong(char32_t value) noexcept
Convert char32_t to llong.
static sbyte_t to_sbyte(double value)
Convert double to sbyte.
static std::any to_any(bool value) noexcept
Convert bool to std::any.
static int32_t to_int32(int16_t value) noexcept
Convert int16_t to int32.
static sbyte_t to_sbyte(type_t value) noexcept
Convert type_t to sbyte.
Definition: convert.h:3757
static ustring to_ustring(int16_t value)
Convert int16_t to ustring.
static wchar_t to_wchar(double value)
Convert double to wchar.
static uint16_t to_uint16(byte_t value) noexcept
Convert byte_t to uint16.
static uint64_t to_uint64(const xtd::ustring &value, byte_t from_base)
Convert string to uint64.
static ustring to_ustring(byte_t value, byte_t from_base)
Convert string to ustring.
static bool to_boolean(int16_t value) noexcept
Convert int16_t to bool.
static decimal_t to_decimal(char16_t value) noexcept
Convert char16_t to decimal.
static char32_t to_char32(int64_t value)
Convert int64_t to char32.
static uint64_t to_uint64(byte_t value) noexcept
Convert byte_t to uint64.
static float to_single(uint64_t value) noexcept
Convert uint64_t to single.
static uint64_t to_uint64(bool value) noexcept
Convert bool to uint64.
static bool to_boolean(bool value) noexcept
Convert bool to bool.
static char32_t to_char32(uint16_t value) noexcept
Convert uint16_t to char32.
static double to_double(uint32_t value) noexcept
Convert uint32_t to double.
static char16_t to_char16(char16_t value) noexcept
Convert char16_t to char16.
static char16_t to_char16(sbyte_t value)
Convert sbyte_t to char16.
static wchar_t to_wchar(llong_t value)
Convert llong_t to wchar.
static int32_t to_int32(sbyte_t value) noexcept
Convert sbyte_t to int32.
static char16_t to_char16(char8_t value) noexcept
Convert char8_t to char16.
static uint64_t to_uint64(const xtd::ustring &value)
Convert string to uint64.
static char16_t to_char16(double value)
Convert double to char16.
static llong_t to_llong(type_t value) noexcept
Convert type_t to llong.
Definition: convert.h:3508
static llong_t to_llong(char8_t value) noexcept
Convert char8_t to llong.
static byte_t to_byte(wchar_t value)
Convert char32_t to byte.
static wchar_t to_wchar(decimal_t value)
Convert decimal_t to wchar.
static double to_double(decimal_t value) noexcept
Convert decimal_t to double.
static int32_t to_int32(ullong_t value)
Convert llong_t to int32.
static char8_t to_char8(int16_t value)
Convert int16_t to char8.
static int64_t to_int64(sbyte_t value) noexcept
Convert sbyte_t to int64.
static char8_t to_char8(type_t value) noexcept
Convert type_t to char8.
Definition: convert.h:1181
static uint64_t to_uint64(uint64_t value) noexcept
Convert uint64_t to uint64.
static char32_t to_char32(int32_t value)
Convert int32_t to char32.
static wchar_t to_wchar(char32_t value)
Convert char32_t to wchar.
static ustring to_ustring(uint64_t value) noexcept
Convert uint64_t to ustring.
static byte_t to_byte(int64_t value)
Convert int64_t to byte.
static char to_char(float value)
Convert float to char.
static int16_t to_int16(int32_t value)
Convert int32_t to int16.
static ustring to_ustring(int32_t value, byte_t from_base)
Convert string to ustring.
static int64_t to_int64(ullong_t value)
Convert llong_t to int64.
static llong_t to_llong(int64_t value) noexcept
Convert int64_t to llong.
static wchar_t to_wchar(ullong_t value)
Convert llong_t to wchar.
static double to_double(char value) noexcept
Convert char to double.
static char to_char(uint32_t value)
Convert uint32_t to char.
static llong_t to_llong(sbyte_t value) noexcept
Convert sbyte_t to llong.
static double to_double(const xtd::ustring &value)
Convert string to double.
static ustring to_string(ullong_t value) noexcept
Convert llong_t to ustring.
static byte_t to_byte(double value)
Convert double to byte.
static std::any to_any(char16_t value) noexcept
Convert char16_t to std::any.
static bool to_boolean(llong_t value) noexcept
Convert llong_t to bool.
static int16_t to_int16(double value)
Convert double to int16.
static uint64_t to_uint64(char16_t value) noexcept
Convert char16_t to uint64.
static uint32_t to_uint32(int32_t value)
Convert int32_t to uint32.
static char16_t to_char16(bool value)
Convert bool to char16.
static uint64_t to_uint64(llong_t value)
Convert llong_t to uint64.
static char32_t to_char32(sbyte_t value)
Convert sbyte_t to char32.
static sbyte_t to_sbyte(const xtd::ustring &value)
Convert string to sbyte.
static char16_t to_char16(int32_t value)
Convert int32_t to char16.
static ustring to_string(const xtd::ustring &value)
Convert string to ustring.
static int32_t to_int32(llong_t value)
Convert llong_t to int32.
static ustring to_ustring(type_t value) noexcept
Convert type_t to ustring.
Definition: convert.h:5413
static wchar_t to_wchar(type_t value) noexcept
Convert type_t to wchar.
Definition: convert.h:1881
static uint64_t to_uint64(char8_t value) noexcept
Convert char8_t to uint64.
static ustring to_ustring(int16_t value, byte_t from_base)
Convert string to ustring.
static ustring to_ustring(int32_t value)
Convert int32_t to ustring.
static wchar_t to_wchar(sbyte_t value)
Convert sbyte_t to wchar.
static int64_t to_int64(int16_t value) noexcept
Convert int16_t to int64.
static int64_t to_int64(bool value) noexcept
Convert bool to int64.
static float to_single(const xtd::ustring &value)
Convert string to single.
static bool to_boolean(double value) noexcept
Convert double to bool.
static ustring to_string(int32_t value, byte_t from_base)
Convert string to ustring.
static int16_t to_int16(const xtd::ustring &value)
Convert string to int16.
static char8_t to_char8(char32_t value)
Convert char32_t to char8.
static uint16_t to_uint16(const xtd::ustring &value, byte_t from_base)
Convert string to uint16.
static uint32_t to_uint32(uint16_t value) noexcept
Convert uint16_t to uint32.
static ustring to_string(float value)
Convert float to ustring.
static uint32_t to_uint32(ullong_t value)
Convert llong_t to uint32.
static llong_t to_llong(byte_t value) noexcept
Convert byte_t to llong.
static uint16_t to_uint16(int64_t value)
Convert int64_t to uint16.
static ustring to_string(byte_t value, byte_t from_base)
Convert string to ustring.
static char to_char(int64_t value)
Convert int64_t to char.
static char16_t to_char16(int16_t value)
Convert int16_t to char16.
static wchar_t to_wchar(char value) noexcept
Convert char to wchar.
static char16_t to_char16(uint32_t value)
Convert uint32_t to char16.
static decimal_t to_decimal(bool value) noexcept
Convert bool to decimal.
static ustring to_string(char32_t value) noexcept
Convert char32_t to ustring.
static byte_t to_byte(char32_t value)
Convert char32_t to byte.
static char8_t to_char8(sbyte_t value)
Convert sbyte_t to char8.
static sbyte_t to_sbyte(llong_t value)
Convert llong_t to sbyte.
static uint16_t to_uint16(char8_t value) noexcept
Convert char8_t to uint16.
static bool to_boolean(int64_t value) noexcept
Convert int64_t to bool.
static double to_double(char16_t value) noexcept
Convert char16_t to double.
static char16_t to_char16(wchar_t value) noexcept
Convert char32_t to char16.
static ustring to_ustring(decimal_t value)
Convert decimal_t to ustring.
static int16_t to_int16(wchar_t value) noexcept
Convert char32_t to int16.
static char8_t to_char8(decimal_t value)
Convert decimal_t to char8.
static double to_double(byte_t value) noexcept
Convert byte_t to double.
static ustring to_ustring(char8_t value) noexcept
Convert char8_t to ustring.
static std::any to_any(sbyte_t value) noexcept
Convert sbyte_t to std::any.
static int64_t to_int64(const xtd::ustring &value)
Convert string to int64.
static ustring to_string(uint16_t value) noexcept
Convert uint16_t to ustring.
static bool to_boolean(float value) noexcept
Convert float to bool.
static char8_t to_char8(float value)
Convert float to char8.
static int64_t to_int64(char8_t value) noexcept
Convert char8_t to int64.
static wchar_t to_wchar(bool value)
Convert bool to wchar.
static int32_t to_int32(const xtd::ustring &value)
Convert string to int32.
static std::any to_any(float value) noexcept
Convert float to std::any.
static char16_t to_char16(char value) noexcept
Convert char to char16.
static byte_t to_byte(float value)
Convert float to byte.
static char16_t to_char16(uint64_t value)
Convert uint64_t to char16.
static char32_t to_char32(int16_t value)
Convert int16_t to char32.
static float to_single(char32_t value) noexcept
Convert char32_t to single.
static byte_t to_byte(char16_t value)
Convert char16_t to byte.
static wchar_t to_wchar(char16_t value) noexcept
Convert char16_t to wchar.
static decimal_t to_decimal(std::any value)
Convert std::any to decimal.
static ustring to_string(ullong_t value, byte_t from_base)
Convert string to ustring.
static std::any to_any(uint64_t value) noexcept
Convert uint64_t to std::any.
static wchar_t to_wchar(const xtd::ustring &value)
Convert string to wchar.
static char8_t to_char8(const xtd::ustring &value)
Convert string to char8.
static wchar_t to_wchar(int16_t value)
Convert int16_t to wchar.
static float to_single(decimal_t value) noexcept
Convert decimal_t to single.
static uint16_t to_uint16(uint32_t value)
Convert uint32_t to uint16.
static llong_t to_llong(const xtd::ustring &value, byte_t from_base)
Convert string to llong.
static wchar_t to_wchar(uint64_t value)
Convert uint64_t to wchar.
static char to_char(std::any value)
Convert std::any to char.
static char32_t to_char32(llong_t value)
Convert llong_t to char32.
static ustring to_string(uint16_t value, byte_t from_base)
Convert string to ustring.
static decimal_t to_decimal(double value) noexcept
Convert double to decimal.
static char16_t to_char16(int64_t value)
Convert int64_t to char16.
static char to_char(llong_t value)
Convert llong_t to char.
static wchar_t to_wchar(uint32_t value)
Convert uint32_t to wchar.
static char16_t to_char16(const xtd::ustring &value)
Convert string to char16.
static bool to_boolean(byte_t value) noexcept
Convert byte_t to bool.
static ustring to_string(llong_t value)
Convert llong_t to ustring.
static uint64_t to_uint64(ullong_t value) noexcept
Convert llong_t to uint64.
static uint32_t to_uint32(decimal_t value)
Convert decimal_t to uint32.
static uint16_t to_uint16(wchar_t value) noexcept
Convert char32_t to uint16.
static char16_t to_char16(llong_t value)
Convert llong_t to char16.
static byte_t to_byte(char8_t value) noexcept
Convert char8_t to byte.
static char8_t to_char8(uint32_t value)
Convert uint32_t to char8.
static uint16_t to_uint16(std::any value)
Convert std::any to uint16.
static std::any to_any(type_t value)
Convert type_t to bool.
Definition: convert.h:233
static decimal_t to_decimal(byte_t value) noexcept
Convert byte_t to decimal.
static llong_t to_llong(std::any value)
Convert std::any to llong.
static uint32_t to_uint32(char value) noexcept
Convert char to uint32.
static bool to_boolean(decimal_t value) noexcept
Convert decimal_t to bool.
static char32_t to_char32(bool value)
Convert bool to char32.
static char to_char(ullong_t value)
Convert llong_t to char.
static sbyte_t to_sbyte(const xtd::ustring &value, byte_t from_base)
Convert string to sbyte.
static char32_t to_char32(char value) noexcept
Convert char to char32.
static char16_t to_char16(type_t value) noexcept
Convert type_t to char16.
Definition: convert.h:1415
static char16_t to_char16(decimal_t value)
Convert decimal_t to char16.
static decimal_t to_decimal(int32_t value) noexcept
Convert int32_t to decimal.
static char to_char(double value)
Convert double to char.
static int64_t to_int64(type_t value) noexcept
Convert type_t to int64.
Definition: convert.h:3272
static uint16_t to_uint16(float value)
Convert float to uint16.
static uint16_t to_uint16(uint64_t value)
Convert uint64_t to uint16.
static float to_single(float value) noexcept
Convert float to single.
static char8_t to_char8(int64_t value)
Convert int64_t to char8.
static float to_single(type_t value) noexcept
Convert type_t to single.
Definition: convert.h:2550
static uint64_t to_uint64(wchar_t value) noexcept
Convert char32_t to uint64.
static llong_t to_llong(uint16_t value) noexcept
Convert uint16_t to llong.
static ustring to_ustring(ullong_t value, byte_t from_base)
Convert string to ustring.
static int32_t to_int32(type_t value) noexcept
Convert type_t to int32.
Definition: convert.h:3036
static uint16_t to_uint16(int16_t value)
Convert int16_t to uint16.
static llong_t to_llong(decimal_t value) noexcept
Convert decimal_t to llong.
static double to_double(char8_t value) noexcept
Convert char8_t to double.
static char8_t to_char8(int32_t value)
Convert int32_t to char8.
static std::any to_any(int64_t value) noexcept
Convert int64_t to std::any.
static byte_t to_byte(int16_t value)
Convert int16_t to byte.
static decimal_t to_decimal(char value) noexcept
Convert char to decimal.
static std::any to_any(llong_t value) noexcept
Convert llong_t to std::any.
static char to_char(type_t value) noexcept
Convert type_t to char.
Definition: convert.h:944
static llong_t to_llong(bool value) noexcept
Convert bool to llong.
static uint32_t to_uint32(int64_t value)
Convert int64_t to uint32.
static char to_char(decimal_t value)
Convert decimal_t to char.
static uint64_t to_uint64(sbyte_t value)
Convert sbyte_t to uint64.
static decimal_t to_decimal(sbyte_t value) noexcept
Convert sbyte_t to decimal.
static sbyte_t to_sbyte(char32_t value)
Convert char32_t to sbyte.
static ustring to_ustring(uint64_t value, byte_t from_base)
Convert string to ustring.
static decimal_t to_decimal(uint32_t value) noexcept
Convert uint32_t to decimal.
static bool to_boolean(int32_t value) noexcept
Convert int32_t to bool.
static uint16_t to_uint16(const xtd::ustring &value)
Convert string to uint16.
static ustring to_ustring(int64_t value)
Convert int64_t to ustring.
static byte_t to_byte(uint64_t value)
Convert uint64_t to byte.
static ustring to_ustring(ullong_t value) noexcept
Convert llong_t to ustring.
static float to_single(int16_t value) noexcept
Convert int16_t to single.
static ustring to_string(char8_t value) noexcept
Convert char8_t to ustring.
static ustring to_ustring(int64_t value, byte_t from_base)
Convert string to ustring.
static byte_t to_byte(byte_t value) noexcept
Convert byte_t to byte.
static std::any to_any(double value) noexcept
Convert double to std::any.
static float to_single(llong_t value) noexcept
Convert llong_t to single.
static int64_t to_int64(decimal_t value) noexcept
Convert decimal_t to int64.
static sbyte_t to_sbyte(uint16_t value)
Convert uint16_t to sbyte.
static double to_double(type_t value) noexcept
Convert type_t to double.
Definition: convert.h:2327
static char16_t to_char16(ullong_t value)
Convert llong_t to char16.
static float to_single(sbyte_t value) noexcept
Convert sbyte_t to single.
static float to_single(ullong_t value) noexcept
Convert llong_t to single.
static int32_t to_int32(int64_t value)
Convert int64_t to int32.
static char8_t to_char8(byte_t value) noexcept
Convert byte_t to char8.
static decimal_t to_decimal(llong_t value) noexcept
Convert llong_t to decimal.
static int16_t to_int16(int64_t value)
Convert int64_t to int16.
static decimal_t to_decimal(const xtd::ustring &value)
Convert string to decimal.
static std::any to_any(uint32_t value) noexcept
Convert uint32_t to std::any.
static sbyte_t to_sbyte(int64_t value)
Convert int64_t to sbyte.
static int16_t to_int16(const xtd::ustring &value, byte_t from_base)
Convert string to int16.
static uint32_t to_uint32(float value)
Convert float to uint32.
static int32_t to_int32(float value) noexcept
Convert float to int32.
static bool to_boolean(uint16_t value) noexcept
Convert uint16_t to bool.
static byte_t to_byte(bool value) noexcept
Convert bool to byte.
static std::any to_any(uint16_t value) noexcept
Convert uint16_t to std::any.
static uint64_t to_uint64(int32_t value)
Convert int32_t to uint64.
static char32_t to_char32(type_t value) noexcept
Convert type_t to char32.
Definition: convert.h:1647
static decimal_t to_decimal(int16_t value) noexcept
Convert int16_t to decimal.
static sbyte_t to_sbyte(int16_t value)
Convert int16_t to sbyte.
static double to_double(float value) noexcept
Convert float to double.
The exception that is thrown for invalid casting or explicit conversion.
Definition: invalid_cast_exception.h:18
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition: static.h:38
#define csf_
Provides information about the current stack frame.
Definition: stack_frame.h:213
Contains xtd::invalid_cast_exception exception.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::static_object class.
Contains xtd fundamental types.
Contains xtd::ustring class.