32-bit integer helper. More...
#include <Int32.h>
Public Member Functions | |
Int32 (const Int32 &i) | |
Int32 (const int32 i) | |
virtual int32 | HashCode () const |
virtual bool | Equals (const IComparable *a) const |
virtual int | Compare (const IComparable *a) const |
virtual bool | Equals (const IComparable &a) const |
virtual int | Compare (const IComparable &a) const |
virtual int32 | MajicNumber () const |
Class instances with the same majic number are of the same type (can be casted). Majic numbers above 0xFFFF are available for user applications. | |
virtual int | ToInt () const |
virtual double | ToDouble () const |
virtual StringPtr | ToString () const |
operator int32 () const | |
bool | operator== (const int32 i) |
bool | operator!= (const int32 i) |
bool | operator> (const int32 i) |
bool | operator< (const int32 i) |
bool | operator>= (const int32 i) |
bool | operator<= (const int32 i) |
virtual void | ValidateMem () const |
virtual void | CheckMem () const |
Static Public Member Functions | |
static int32 | Parse (const char *cp, const int cplen, int radix) |
static int32 | Parse (const char *cp, const int cplen) |
static int32 | Parse (const String &str) |
static int32 | Parse (const String *str) |
static int32 | Parse (const String &str, int radix) |
static int32 | Parse (const String *str, int radix) |
static bool | IsInt (const char *cp, const int cplen, int radix) |
static bool | IsInt (const char *cp, const int cplen) |
static bool | IsInt (const String &str) |
static bool | IsInt (const String *str) |
static bool | IsInt (const String &str, int radix) |
static bool | IsInt (const String *str, int radix) |
static StringPtr | ToString (int32 i, int radix) |
static StringPtr | ToString (int32 i) |
static int | MaxValue () |
static int | MinValue () |
32-bit integer helper.
Definition at line 39 of file Int32.h.