Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

java_lang_Double.h

00001 #ifndef xmogInc_javalangDouble
00002 #define xmogInc_javalangDouble
00003 
00004 #   if !defined(JMS_DECLSPEC )
00005 #       if defined(_MSC_VER)
00006 #           pragma message( "Relying on default definition of JMS_DECLSPEC " )
00007 #       endif /* defined(_MSC_VER) */
00008         // the following default definition works for all non-Windows platforms and for
00009         // executable projects on Windows where the sources are built directly into the binary
00010 #       define JMS_DECLSPEC 
00011 #   endif /* !defined(JMS_DECLSPEC ) */
00012 
00013     namespace java
00014     {
00015         namespace lang
00016         {
00017             class Class;
00018             class Double;
00019             class Object;
00020             class String;
00021         }
00022     }
00023 
00024 #   include "java_lang_Number.h"
00025 #   include "java_lang_Comparable.h"
00026 
00027     // work around MFC definitions of 'new' and 'delete' that cause compilation errors
00028 #   if (XMOG_UNDEFINE_MEM_OPERATORS==1)
00029 #       if defined(new)
00030 #           undef new
00031 #       endif /* defined(new) */
00032 #       if defined(delete)
00033 #           undef delete
00034 #       endif /* defined(delete) */
00035 #   endif /* (XMOG_UNDEFINE_MEM_OPERATORS==1) */
00036 
00058     class JMS_DECLSPEC java::lang::Double : 
00059         public ::java::lang::Number,
00060         public ::java::lang::Comparable
00061     {
00062     public:
00063         enum 
00064         {
00065             xmogDefaultFlags = xmog_base::GLOBAL,
00066             xmogMajorVersion = 3,
00067             xmogMinorVersion = 2,
00068             xmogPatchVersion = 9,
00069             xmogBuildNumber = 2047
00070         };
00071 
00072     public:
00073 
00074         typedef ::xmog_java_array_template< ::java::lang::Double > array1D;
00075 
00076         typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::lang::Double > > array2D;
00077 
00086         static xmog_double MAX_VALUE;
00087 
00095         static xmog_double MIN_VALUE;
00096 
00104         static xmog_double NEGATIVE_INFINITY;
00105 
00113         static xmog_double NaN;
00114 
00122         static xmog_double POSITIVE_INFINITY;
00123 
00128         static ::java::lang::Class TYPE;
00129 
00130 
00132 
00149         Double( );
00150 
00163         Double( const ::java::lang::Double & _rhs );
00164 
00177         Double( jobject _local, xmog_flags f_xflags );
00178 
00191         Double( const ::xmog_null & _null_instance );
00192 
00203         Double( ::xmog_java_array * _arr, jint _index );
00204 
00218         Double( const ::java::lang::Double & _rhs, ::xmog_localenv * p_lxenv );
00219 
00231         XMOG_EXPLICIT Double( ::xmog_base * _delegate, bool _owns_delegate = true );
00232 
00234 
00244         Double( jdouble value, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00245 
00247 
00261         Double( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00262 
00264 
00278         Double( const ::java::lang::String & s, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00279 
00281 
00288         ~Double( );
00289 
00302         java::lang::Double operator =( const java::lang::Double & _rhs );
00303 
00318         void operator delete( void * _ptr );
00319 
00320 #       if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00336             void operator delete( void * ptr, void * loc );
00337 #       endif /* (XMOG_SUPPORTS_PLACEMENT_DELETE==1) */
00338 
00353         void * operator new( size_t _size );
00354 
00355 #       if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00373             void * operator new( size_t _size, void * _ptr );
00374 #       endif /* (XMOG_SUPPORTS_PLACEMENT_NEW==1) */
00375 
00377 
00390         jbyte byteValue( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00391 
00416         static jint compare( jdouble d1, jdouble d2, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00417 
00442         jint compareTo( const ::java::lang::Object & o, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00443 
00481         jint compareTo( const ::java::lang::Double & anotherDouble, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00482 
00522         static jlong doubleToLongBits( jdouble value, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00523 
00566         static jlong doubleToRawLongBits( jdouble value, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00567 
00579         jdouble doubleValue( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00580 
00582 
00603         static ::java::lang::Double dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00604 
00606 
00651         bool equals( const ::java::lang::Object & obj, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00652 
00665         jfloat floatValue( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00666 
00668 
00682         static ::xmog_java_class * get_class( );
00683 
00692         static ::xmog_java_class * get_element_class( );
00693 
00695 
00721         jint hashCode( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00722 
00735         jint intValue( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00736 
00750         bool isInfinite( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00751 
00765         static bool isInfinite( jdouble v, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00766 
00779         bool isNaN( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00780 
00794         static bool isNaN( jdouble v, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00795 
00862         static jdouble longBitsToDouble( jlong bits, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00863 
00876         jlong longValue( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00877 
00893         static jdouble parseDouble( const ::java::lang::String & s, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00894 
00907         jshort shortValue( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00908 
00924         ::java::lang::String toString( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00925 
00995         static ::java::lang::String toString( jdouble d, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00996 
01064         static ::java::lang::Double valueOf( const ::java::lang::String & s, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
01065 
01067 
01086         virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
01088 
01089     };
01090 #endif /* xmogInc_javalangDouble */
01091 

Generated on Fri Jun 16 10:18:55 2006 for JMS Courier for C++ by  doxygen 1.4.1