4#include <system/string.h>
5#include <system/iformatprovider.h>
6#include <system/globalization/number_styles.h>
14namespace Globalization {
16 class NumberFormatInfo;
22 RTTI_INFO_VALUE_TYPE(
Int32)
26 static ASPOSECPP_SHARED_API
constexpr int32_t
MinValue = (std::numeric_limits<int32_t>::min)();
28 static ASPOSECPP_SHARED_API
constexpr int32_t
MaxValue = (std::numeric_limits<int32_t>::max)();
33 static ASPOSECPP_SHARED_API int32_t
Parse(
const String& value);
65 static ASPOSECPP_SHARED_API
bool TryParse(
const String& value, int32_t& result);
Contains methods to work with the 32-bit integer.
Definition: int32.h:21
static int32_t Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::CultureInfo > &culture)
static bool TryParse(const String &value, Globalization::NumberStyles styles, const SharedPtr< IFormatProvider > &provider, int32_t &result)
Converts the specified string containing the string representation of a number to the equivalent 32-b...
static constexpr int32_t MinValue
Smallest possible value.
Definition: int32.h:26
static int32_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 32-b...
static bool TryParse(const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::NumberFormatInfo > &nfi, int32_t &result)
static constexpr int32_t MaxValue
Largest possible value.
Definition: int32.h:28
static int32_t Parse(const ReadOnlySpan< char16_t > &span)
static bool TryParse(const String &value, Globalization::NumberStyles styles, std::nullptr_t, int32_t &result)
static int32_t Parse(const String &value, const SharedPtr< Globalization::NumberFormatInfo > &nfi)
static int32_t Parse(const ReadOnlySpan< char16_t > &span, std::nullptr_t)
Definition: int32.h:58
static int32_t Parse(const String &value, std::nullptr_t)
Definition: int32.h:43
static int32_t Parse(const String &value, Globalization::NumberStyles styles, std::nullptr_t=nullptr)
static int32_t Parse(const String &value, const SharedPtr< IFormatProvider > &provider)
Converts the specified string containing the string representation of a number to the equivalent 32-b...
static bool TryParse(const String &value, int32_t &result)
Converts the specified string containing the string representation of a number to the equivalent 32-b...
static int32_t Parse(const String &value)
Converts the specified string containing the string representation of a number to the equivalent 32-b...
static int32_t Parse(const ReadOnlySpan< char16_t > &span, Globalization::NumberStyles styles, const SharedPtr< IFormatProvider > &provider)
static bool TryParse(const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::CultureInfo > &culture, int32_t &result)
static int32_t Parse(const String &value, const SharedPtr< Globalization::CultureInfo > &culture)
static int32_t Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::NumberFormatInfo > &nfi)
Forward to use within Span class.
Definition: span.h:395
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
NumberStyles
Number style allowed when parsing.
Definition: number_styles.h:12
Definition: db_command.h:9