RLib  5.7
RLib - an opensource, lightweight and multi-platform framework for cpp programming
System::Int32 Class Reference

表示 32 位有符号整数 More...

Inheritance diagram for System::Int32:
System::Generic::Integral< signed int > System::Generic::Arithmetic< signed int >

Public Member Functions

 Int32 (signed int i=0)
 
 Int32 (const Int32 &c)
 
String ToString () const
 将 32 位有符号数字转换为字符串形式 More...
 
String ToString (int _radix) const
 将 32 位有符号数字转换为指定进制字符串形式 More...
 
- Public Member Functions inherited from System::Generic::Integral< signed int >
 Integral (const signed int &t=0)
 
 Integral (const Integral &c)
 
 operator signed int & ()
 
 operator const signed int () const
 
Integraloperator%= (const signed int &t)
 
Integraloperator^= (const signed int &t)
 
Integraloperator&= (const signed int &t)
 
Integraloperator|= (const signed int &t)
 
Integraloperator>>= (const signed int &t)
 
Integraloperator<<= (const signed int &t)
 
Integral operator% (const signed int &t) const
 
Integral operator^ (const signed int &t) const
 
Integral operator& (const signed int &t) const
 
Integral operator| (const signed int &t) const
 
Integral operator>> (const signed int &t) const
 
Integral operator<< (const signed int &t) const
 
- Public Member Functions inherited from System::Generic::Arithmetic< signed int >
 Arithmetic (const signed int &t=0)
 
 Arithmetic (const Arithmetic &c)
 
 operator signed int & ()
 
 operator const signed int () const
 
Arithmeticoperator= (const signed int &t)
 
Arithmeticoperator+= (const signed int &t)
 
Arithmeticoperator-= (const signed int &t)
 
Arithmeticoperator*= (const signed int &t)
 
Arithmeticoperator/= (const signed int &t)
 
const Arithmetic operator+ (const signed int &t) const
 
const Arithmetic operator- (const signed int &t) const
 
const Arithmetic operator* (const signed int &t) const
 
const Arithmetic operator/ (const signed int &t) const
 
Arithmeticoperator++ ()
 
Arithmetic operator++ (int)
 
Arithmeticoperator-- ()
 
Arithmetic operator-- (int)
 

Static Public Member Functions

static signed int TryParse (const wchar_t *s)
 将数字的字符串表示形式转换为它的等效 32 位有符号整数 More...
 
static signed int TryParse (const wchar_t *s, int r, wchar_t **_end=nullptr)
 将数字的指定进制字符串表示形式转换为它的等效 32 位有符号整数 More...
 
static signed int TryParse (const char *s)
 将数字的字符串表示形式转换为它的等效 32 位有符号整数 More...
 
static signed int TryParse (const char *s, int r, char **_end=nullptr)
 将数字的指定进制字符串表示形式转换为它的等效 32 位有符号整数 More...
 

Public Attributes

 RLIB_DECLARE_DYNCREATE
 
- Public Attributes inherited from System::Generic::Arithmetic< signed int >
signed int m_var
 

Detailed Description

表示 32 位有符号整数

Member Function Documentation

String System::Int32::ToString ( ) const
inline

将 32 位有符号数字转换为字符串形式

String System::Int32::ToString ( int  _radix) const
inline

将 32 位有符号数字转换为指定进制字符串形式

static signed int System::Int32::TryParse ( const wchar_t *  s)
inlinestatic

将数字的字符串表示形式转换为它的等效 32 位有符号整数

static signed int System::Int32::TryParse ( const wchar_t *  s,
int  r,
wchar_t **  _end = nullptr 
)
inlinestatic

将数字的指定进制字符串表示形式转换为它的等效 32 位有符号整数

static signed int System::Int32::TryParse ( const char *  s)
inlinestatic

将数字的字符串表示形式转换为它的等效 32 位有符号整数

static signed int System::Int32::TryParse ( const char *  s,
int  r,
char **  _end = nullptr 
)
inlinestatic

将数字的指定进制字符串表示形式转换为它的等效 32 位有符号整数


The documentation for this class was generated from the following file: