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

java_lang_Boolean.h

00001 #ifndef xmogInc_javalangBoolean
00002 #define xmogInc_javalangBoolean
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 Boolean;
00018             class Class;
00019             class Object;
00020             class String;
00021         }
00022     }
00023 
00024 #   include "java_io_Serializable.h"
00025 
00026     // work around MFC definitions of 'new' and 'delete' that cause compilation errors
00027 #   if (XMOG_UNDEFINE_MEM_OPERATORS==1)
00028 #       if defined(new)
00029 #           undef new
00030 #       endif /* defined(new) */
00031 #       if defined(delete)
00032 #           undef delete
00033 #       endif /* defined(delete) */
00034 #   endif /* (XMOG_UNDEFINE_MEM_OPERATORS==1) */
00035 
00055     class JMS_DECLSPEC java::lang::Boolean : 
00056         public ::java::io::Serializable
00057     {
00058     public:
00059         enum 
00060         {
00061             xmogDefaultFlags = xmog_base::GLOBAL,
00062             xmogMajorVersion = 3,
00063             xmogMinorVersion = 2,
00064             xmogPatchVersion = 9,
00065             xmogBuildNumber = 2047
00066         };
00067 
00068     public:
00069 
00070         typedef ::xmog_java_array_template< ::java::lang::Boolean > array1D;
00071 
00072         typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::lang::Boolean > > array2D;
00073 
00077         static ::java::lang::Class TYPE;
00078 
00083         static ::java::lang::Boolean _FALSE;
00084 
00089         static ::java::lang::Boolean _TRUE;
00090 
00091 
00093 
00110         Boolean( );
00111 
00124         Boolean( const ::java::lang::Boolean & _rhs );
00125 
00138         Boolean( jobject _local, xmog_flags f_xflags );
00139 
00152         Boolean( const ::xmog_null & _null_instance );
00153 
00164         Boolean( ::xmog_java_array * _arr, jint _index );
00165 
00179         Boolean( const ::java::lang::Boolean & _rhs, ::xmog_localenv * p_lxenv );
00180 
00192         XMOG_EXPLICIT Boolean( ::xmog_base * _delegate, bool _owns_delegate = true );
00193 
00195 
00212         Boolean( bool value, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00213 
00215 
00229         Boolean( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00230 
00232 
00251         Boolean( const ::java::lang::String & s, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00252 
00254 
00261         ~Boolean( );
00262 
00275         java::lang::Boolean operator =( const java::lang::Boolean & _rhs );
00276 
00291         void operator delete( void * _ptr );
00292 
00293 #       if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00309             void operator delete( void * ptr, void * loc );
00310 #       endif /* (XMOG_SUPPORTS_PLACEMENT_DELETE==1) */
00311 
00326         void * operator new( size_t _size );
00327 
00328 #       if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00346             void * operator new( size_t _size, void * _ptr );
00347 #       endif /* (XMOG_SUPPORTS_PLACEMENT_NEW==1) */
00348 
00350 
00362         bool booleanValue( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00363 
00365 
00386         static ::java::lang::Boolean dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00387 
00389 
00404         bool equals( const ::java::lang::Object & obj, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00405 
00428         static bool getBoolean( const ::java::lang::String & name, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00429 
00431 
00445         static ::xmog_java_class * get_class( );
00446 
00455         static ::xmog_java_class * get_element_class( );
00456 
00458 
00471         jint hashCode( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00472 
00488         ::java::lang::String toString( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00489 
00506         static ::java::lang::String toString( bool b, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00507 
00528         static ::java::lang::Boolean valueOf( bool b, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00529 
00548         static ::java::lang::Boolean valueOf( const ::java::lang::String & s, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00549 
00551 
00570         virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00572 
00573     };
00574 #endif /* xmogInc_javalangBoolean */
00575 

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