CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
number_styles.h
1
2#pragma once
3
4#include <cstdint>
5#include <system/details/enum_meta_info.h>
6#include <system/enum_helpers.h>
7
8namespace System { namespace Globalization {
9
11enum class NumberStyles : int32_t
12{
14 None = 0,
30 AllowThousands = 64,
34 AllowExponent = 128,
47};
48
51DECLARE_ENUM_OPERATORS(System::Globalization::NumberStyles);
53DECLARE_USING_GLOBAL_OPERATORS
55}} // namespace System::Globalization
56
58DECLARE_USING_ENUM_OPERATORS(System::Globalization);
59
60template<>
61struct EnumMetaInfo<System::Globalization::NumberStyles>
62{
63 typedef void Flags;
64 static ASPOSECPP_SHARED_API const std::array<std::pair<System::Globalization::NumberStyles, const char16_t*>, 17>& values();
65};
Definition: fwd.h:60
NumberStyles
Number style allowed when parsing.
Definition: number_styles.h:12
@ Float
Default floating point number format.
@ AllowDecimalPoint
Allow decimal point.
@ AllowTrailingSign
Allow trailing sign.
@ AllowExponent
Allow exponent sign.
@ Currency
Default currency format.
@ AllowCurrencySymbol
Allow currency symbol.
@ AllowHexSpecifier
Allow hexadecimal numbers.
@ Integer
Default integer formatting.
@ AllowParentheses
Allow parenthesis for negative values.
@ Number
Default composite number format.
@ HexNumber
Default hexadecimal number format.
@ AllowLeadingSign
Allow leading sign.
@ AllowThousands
Allow group separators.
@ AllowTrailingWhite
Ignore trailing white spaces.
@ AllowLeadingWhite
Ignore leading white spaces.
Definition: db_command.h:9