CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
|
Contains methods to work with the unsigned 16-bit integer. More...
#include <uint16.h>
Static Public Member Functions | |
static uint16_t | Parse (const String &value) |
Converts the specified string containing the string representation of a number to the equivalent 16-bit unsigned integer. More... | |
static uint16_t | Parse (const String &value, const SharedPtr< IFormatProvider > &provider) |
Converts the specified string containing the string representation of a number to the equivalent 16-bit unsigned integer using the provided formatting information. More... | |
static uint16_t | Parse (const String &value, const SharedPtr< Globalization::CultureInfo > &culture) |
static uint16_t | Parse (const String &value, const SharedPtr< Globalization::NumberFormatInfo > &nfi) |
static uint16_t | Parse (const String &value, std::nullptr_t) |
static uint16_t | Parse (const String &value, Globalization::NumberStyles styles, const SharedPtr< IFormatProvider > &provider) |
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. More... | |
static uint16_t | Parse (const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::CultureInfo > &culture) |
static uint16_t | Parse (const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::NumberFormatInfo > &nfi) |
static uint16_t | Parse (const String &value, Globalization::NumberStyles styles, std::nullptr_t=nullptr) |
static bool | TryParse (const String &value, uint16_t &result) |
Converts the specified string containing the string representation of a number to the equivalent 16-bit unsigned integer. More... | |
static bool | TryParse (const String &value, Globalization::NumberStyles styles, const SharedPtr< IFormatProvider > &provider, uint16_t &result) |
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. More... | |
static bool | TryParse (const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::CultureInfo > &culture, uint16_t &result) |
static bool | TryParse (const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::NumberFormatInfo > &nfi, uint16_t &result) |
static bool | TryParse (const String &value, Globalization::NumberStyles styles, std::nullptr_t, uint16_t &result) |
Static Public Attributes | |
static constexpr uint16_t | MinValue = 0 |
Smallest possible value. More... | |
static 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 |
|
static |
|
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 |
|
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 |
|
inlinestatic |
|
static |
|
static |
|
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 |
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. |
|
staticconstexpr |
Largest possible value.
|
staticconstexpr |
Smallest possible value.