4#include <system/string.h>
5#include <system/iformatprovider.h>
6#include <system/globalization/number_styles.h>
11namespace Globalization {
13 class NumberFormatInfo;
19 RTTI_INFO_VALUE_TYPE(
Int64)
23 static ASPOSECPP_SHARED_API
constexpr int64_t
MinValue = (std::numeric_limits<int64_t>::min)();
25 static ASPOSECPP_SHARED_API
constexpr int64_t
MaxValue = (std::numeric_limits<int64_t>::max)();
30 static ASPOSECPP_SHARED_API int64_t
Parse(
const String& value);
57 static ASPOSECPP_SHARED_API
bool TryParse(
const String& value, int64_t& result);
Contains methods to work with the 64-bit integer.
Definition: int64.h:18
static int64_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 64-b...
static int64_t Parse(const String &value, const SharedPtr< Globalization::CultureInfo > &culture)
static int64_t Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::CultureInfo > &culture)
static int64_t Parse(const String &value, std::nullptr_t)
Definition: int64.h:40
static bool TryParse(const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::CultureInfo > &culture, int64_t &result)
static bool TryParse(const String &value, Globalization::NumberStyles styles, std::nullptr_t, int64_t &result)
static constexpr int64_t MinValue
Smallest possible value.
Definition: int64.h:23
static int64_t Parse(const String &value, const SharedPtr< IFormatProvider > &provider)
Converts the specified string containing the string representation of a number to the equivalent 64-b...
static int64_t Parse(const String &value, Globalization::NumberStyles styles, std::nullptr_t=nullptr)
static bool TryParse(const String &value, int64_t &result)
Converts the specified string containing the string representation of a number to the equivalent 64-b...
static int64_t Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::NumberFormatInfo > &nfi)
static int64_t Parse(const String &value, const SharedPtr< Globalization::NumberFormatInfo > &nfi)
static constexpr int64_t MaxValue
Largest possible value.
Definition: int64.h:25
static int64_t Parse(const String &value)
Converts the specified string containing the string representation of a number to the equivalent 64-b...
static bool TryParse(const String &value, Globalization::NumberStyles styles, const SharedPtr< Globalization::NumberFormatInfo > &nfi, int64_t &result)
static bool TryParse(const String &value, Globalization::NumberStyles styles, const SharedPtr< IFormatProvider > &provider, int64_t &result)
Converts the specified string containing the string representation of a number to the equivalent 64-b...
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