#include <type_traits>
Contains xtd::number_styles enum class.
Go to the source code of this file.
Namespaces | |
xtd | |
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more. | |
Enumerations | |
enum | xtd::number_styles { xtd::number_styles::none = 0x0, xtd::number_styles::allow_leading_white = 0b1, xtd::number_styles::allow_trailing_white = 0b10, xtd::number_styles::allow_leading_sign = 0b100, xtd::number_styles::allow_trailing_sign = 0b1000, xtd::number_styles::allow_parentheses = 0b10000, xtd::number_styles::allow_decimal_point = 0b100000, xtd::number_styles::allow_thousands = 0b1000000, xtd::number_styles::allow_exponent = 0b10000000, xtd::number_styles::allow_currency_symbol = 0b100000000, xtd::number_styles::allow_hex_specifier = 0b1000000000, xtd::number_styles::allow_binary_specifier = 0b10000000000, xtd::number_styles::allow_octal_specifier = 0b100000000000, xtd::number_styles::integer = allow_leading_white + allow_trailing_white + allow_leading_sign, xtd::number_styles::number = allow_leading_white + allow_trailing_white + allow_leading_sign + allow_trailing_sign + allow_decimal_point + allow_thousands, xtd::number_styles::fixed_point = allow_leading_white + allow_trailing_white + allow_leading_sign + allow_decimal_point + allow_exponent, xtd::number_styles::currency = allow_leading_white + allow_trailing_white + allow_leading_sign + allow_trailing_sign + allow_parentheses + allow_decimal_point + allow_thousands + allow_currency_symbol, xtd::number_styles::any = allow_leading_white + allow_trailing_white + allow_leading_sign + allow_trailing_sign + allow_parentheses + allow_decimal_point + allow_thousands + allow_exponent + allow_currency_symbol, xtd::number_styles::hex_number = allow_leading_white + allow_trailing_white + allow_hex_specifier, xtd::number_styles::binary_number = allow_leading_white + allow_trailing_white + allow_binary_specifier, xtd::number_styles::octal_number = allow_leading_white + allow_trailing_white + allow_octal_specifier } |
Determines the styles permitted in numeric string arguments that are passed to the xtd::parse and xtd::try_parse methods of the integral and floating-point numeric types. This enumeration has a flags attribute that allows a bitwise combination of its member values. More... | |