CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
|
Contains methods to work with the 16-bit integer. More...
#include <int16.h>
Static Public Member Functions | |
static int16_t | Parse (const String &value) |
Converts the specified string containing the string representation of a number to the equivalent 16-bit signed integer. More... | |
static int16_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 signed integer using the provided formatting information. More... | |
static int16_t | Parse (const String &value, const SharedPtr< Globalization::CultureInfo > &culture) |
static int16_t | Parse (const String &value, const SharedPtr< Globalization::NumberFormatInfo > &nfi) |
static int16_t | Parse (const String &value, std::nullptr_t) |
static int16_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 signed integer using the provided formatting information and number style. More... | |
static int16_t | Parse (const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::CultureInfo > &culture) |
static int16_t | Parse (const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::NumberFormatInfo > &nfi) |
static int16_t | Parse (const String &value, Globalization::NumberStyles styles, std::nullptr_t=nullptr) |
static bool | TryParse (const String &value, int16_t &result) |
Converts the specified string containing the string representation of a number to the equivalent 16-bit signed integer. More... | |
static bool | TryParse (const String &value, Globalization::NumberStyles styles, const SharedPtr< IFormatProvider > &provider, int16_t &result) |
Converts the specified string containing the string representation of a number to the equivalent 16-bit signed integer using the provided formatting information and number style. More... | |
static bool | TryParse (const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::CultureInfo > &culture, int16_t &result) |
static bool | TryParse (const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::NumberFormatInfo > &nfi, int16_t &result) |
static bool | TryParse (const String &value, Globalization::NumberStyles styles, std::nullptr_t, int16_t &result) |
Static Public Attributes | |
static constexpr int16_t | MinValue = (std::numeric_limits<int16_t>::min)() |
Smallest possible value. More... | |
static constexpr int16_t | MaxValue = (std::numeric_limits<int16_t>::max)() |
Largest possible value. More... | |
Contains methods to work with the 16-bit integer.
|
static |
Converts the specified string containing the string representation of a number to the equivalent 16-bit signed 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 signed 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 signed 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 signed 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 signed 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 signed integer.
value | The string to convert. |
result | The reference to a 16-bit signed integer variable where the result of the conversion is put. |
|
staticconstexpr |
Largest possible value.
|
staticconstexpr |
Smallest possible value.