Number.h

Go to the documentation of this file.
00001 #ifndef JAVA_LANG_NUMBER_H
00002 #define JAVA_LANG_NUMBER_H 1
00003 
00004 #ifndef JAVA_LANG_OBJECT_H
00005 #include <java_lang/Object.h>
00006 #endif /* JAVA_LANG_OBJECT_H */
00007 
00008 namespace java {
00009   namespace lang {
00010 
00024     class JAVA_LANG_SPEC Number: virtual public Object {
00025 
00026     public:
00027 
00035       virtual jint intValue() const = 0;
00036     
00044       virtual jlong longValue() const = 0;
00045 
00053       virtual jfloat floatValue() const = 0;
00054 
00062       virtual jdouble doubleValue() const = 0;
00063 
00072       virtual jbyte byteValue() const;
00073 
00082       virtual jshort shortValue() const;
00083 
00084     protected:
00085 
00086     private:
00087 
00088       REGISTER_MEMBERS;
00089 
00090     };
00091 
00092   } // namespace lang
00093 } // namespace java
00094 
00095 #endif /* JAVA_LANG_NUMBER_H */

Generated on Fri May 16 11:54:43 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3