00001 #ifndef xmogInc_javaxjmsDestination
00002 #define xmogInc_javaxjmsDestination
00003
00004 # if !defined(JMS_DECLSPEC )
00005 # if defined(_MSC_VER)
00006 # pragma message( "Relying on default definition of JMS_DECLSPEC " )
00007 # endif
00008
00009
00010 # define JMS_DECLSPEC
00011 # endif
00012
00013 namespace javax
00014 {
00015 namespace jms
00016 {
00017 class Destination;
00018 }
00019 }
00020
00021 # include "java_lang_Object.h"
00022
00023
00024 # if (XMOG_UNDEFINE_MEM_OPERATORS==1)
00025 # if defined(new)
00026 # undef new
00027 # endif
00028 # if defined(delete)
00029 # undef delete
00030 # endif
00031 # endif
00032
00104 class JMS_DECLSPEC javax::jms::Destination :
00105 public virtual ::java::lang::Object
00106 {
00107 public:
00108 enum
00109 {
00110 xmogDefaultFlags = xmog_base::GLOBAL,
00111 xmogMajorVersion = 3,
00112 xmogMinorVersion = 2,
00113 xmogPatchVersion = 9,
00114 xmogBuildNumber = 2047
00115 };
00116
00117 public:
00118
00119 typedef ::xmog_java_array_template< ::javax::jms::Destination > array1D;
00120
00121 typedef ::xmog_java_array_template< ::xmog_java_array_template< ::javax::jms::Destination > > array2D;
00122
00124
00141 Destination( );
00142
00155 Destination( const ::javax::jms::Destination & _rhs );
00156
00169 Destination( jobject _local, xmog_flags f_xflags );
00170
00183 Destination( const ::xmog_null & _null_instance );
00184
00195 Destination( ::xmog_java_array * _arr, jint _index );
00196
00210 Destination( const ::javax::jms::Destination & _rhs, ::xmog_localenv * p_lxenv );
00211
00223 XMOG_EXPLICIT Destination( ::xmog_base * _delegate, bool _owns_delegate = true );
00224
00238 Destination( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00239
00246 ~Destination( );
00247
00260 javax::jms::Destination operator =( const javax::jms::Destination & _rhs );
00261
00276 void operator delete( void * _ptr );
00277
00278 # if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00294 void operator delete( void * ptr, void * loc );
00295 # endif
00296
00311 void * operator new( size_t _size );
00312
00313 # if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00331 void * operator new( size_t _size, void * _ptr );
00332 # endif
00333
00354 static ::javax::jms::Destination dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00355
00369 static ::xmog_java_class * get_class( );
00370
00379 static ::xmog_java_class * get_element_class( );
00380
00399 virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00401
00402 };
00403 #endif
00404