00001
00002
00003
00004
00005
00006
00007
00008 #ifndef _SK_UTIL_INTEGER_
00009 #define _SK_UTIL_INTEGER_
00010
00011 #include <sk/util/Object.h>
00012
00013 namespace sk {
00014 namespace util {
00015 class Integer
00016 : public virtual sk::util::Object
00017 {
00018 public:
00019 Integer(int value);
00020 virtual ~Integer();
00021
00022 static const String toString(int value);
00023 static const String toString(int value, int radix);
00024 static int parseInt(const sk::util::String& value);
00025 static int parseInt(const sk::util::String& value, int radix);
00026
00027
00028 const sk::util::Class getClass() const;
00029
00030 private:
00031 Integer(const Integer& other);
00032 Integer& operator = (const Integer& other);
00033
00034 int _value;
00035 };
00036 }
00037 }
00038
00039 #endif