Contains methods to work with the unsigned 16-bit integer. More...
Static Public Member Functions | |
static ASPOSECPP_SHARED_API uint16_t | Parse (const String &value) |
static ASPOSECPP_SHARED_API uint16_t | Parse (const String &value, const SharedPtr< IFormatProvider > &provider) |
static ASPOSECPP_SHARED_API uint16_t | Parse (const String &value, const SharedPtr< Globalization::CultureInfo > &culture) |
static ASPOSECPP_SHARED_API uint16_t | Parse (const String &value, const SharedPtr< Globalization::NumberFormatInfo > &nfi) |
static uint16_t | Parse (const String &value, std::nullptr_t) |
static ASPOSECPP_SHARED_API uint16_t | Parse (const String &value, Globalization::NumberStyles styles, const SharedPtr< IFormatProvider > &provider) |
static ASPOSECPP_SHARED_API uint16_t | Parse (const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::CultureInfo > &culture) |
static ASPOSECPP_SHARED_API uint16_t | Parse (const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::NumberFormatInfo > &nfi) |
static ASPOSECPP_SHARED_API uint16_t | Parse (const String &value, Globalization::NumberStyles styles, std::nullptr_t=nullptr) |
static ASPOSECPP_SHARED_API bool | TryParse (const String &value, uint16_t &result) |
static ASPOSECPP_SHARED_API bool | TryParse (const String &value, Globalization::NumberStyles styles, const SharedPtr< IFormatProvider > &provider, uint16_t &result) |
static ASPOSECPP_SHARED_API bool | TryParse (const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::CultureInfo > &culture, uint16_t &result) |
static ASPOSECPP_SHARED_API bool | TryParse (const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::NumberFormatInfo > &nfi, uint16_t &result) |
static ASPOSECPP_SHARED_API bool | TryParse (const String &value, Globalization::NumberStyles styles, std::nullptr_t, uint16_t &result) |
Static Public Attributes | |
static ASPOSECPP_SHARED_API constexpr uint16_t | MinValue = 0 |
Smallest possible value. More... | |
static ASPOSECPP_SHARED_API constexpr uint16_t | MaxValue = (std::numeric_limits<uint16_t>::max)() |
Largest possible value. More... | |
Contains methods to work with the unsigned 16-bit integer.
|
static |
Converts the specified string containing the string representation of a number to the equivalent 16-bit unsigned integer.
value | The string to convert. |
|
static |
Converts the specified string containing the string representation of a number to the equivalent 16-bit unsigned integer using the provided formatting information.
value | The string to convert. |
provider | A pointer to an object that contains the string format information. |
|
static |
|
static |
|
inlinestatic |
|
static |
Converts the specified string containing the string representation of a number to the equivalent 16-bit unsigned integer using the provided formatting information and number style.
value | The string to convert. |
styles | A bitwise combination of values of NumberStyles enum that specifies the permitted style of the string representation of a number. |
provider | A pointer to an object that contains the string format information. |
|
static |
|
static |
|
static |
|
static |
Converts the specified string containing the string representation of a number to the equivalent 16-bit unsigned integer.
value | The string to convert. |
result | The reference to a 16-bit unsigned integer variable where the result of the conversion is put. |
|
static |
Converts the specified string containing the string representation of a number to the equivalent 16-bit unsigned integer using the provided formatting information and number style.
value | The string to convert. |
styles | A bitwise combination of values of NumberStyles enum that specifies the permitted style of the string representation of a number. |
provider | A pointer to an object that contains the string format information. |
result | The reference to a 16-bit unsigned integer variable where the result of the conversion is put. |
|
static |
|
static |
|
static |
|
static |
Largest possible value.
|
static |
Smallest possible value.