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

javax_jms_Queue.h

00001 #ifndef xmogInc_javaxjmsQueue
00002 #define xmogInc_javaxjmsQueue
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 String;
00018         }
00019     }
00020     namespace javax
00021     {
00022         namespace jms
00023         {
00024             class Queue;
00025         }
00026     }
00027 
00028 #   include "javax_jms_Destination.h"
00029 
00030     // work around MFC definitions of 'new' and 'delete' that cause compilation errors
00031 #   if (XMOG_UNDEFINE_MEM_OPERATORS==1)
00032 #       if defined(new)
00033 #           undef new
00034 #       endif /* defined(new) */
00035 #       if defined(delete)
00036 #           undef delete
00037 #       endif /* defined(delete) */
00038 #   endif /* (XMOG_UNDEFINE_MEM_OPERATORS==1) */
00039 
00068     class JMS_DECLSPEC javax::jms::Queue : 
00069         public virtual ::javax::jms::Destination
00070     {
00071     public:
00072         enum 
00073         {
00074             xmogDefaultFlags = xmog_base::GLOBAL,
00075             xmogMajorVersion = 3,
00076             xmogMinorVersion = 2,
00077             xmogPatchVersion = 9,
00078             xmogBuildNumber = 2047
00079         };
00080 
00081     public:
00082 
00083         typedef ::xmog_java_array_template< ::javax::jms::Queue > array1D;
00084 
00085         typedef ::xmog_java_array_template< ::xmog_java_array_template< ::javax::jms::Queue > > array2D;
00086 
00088 
00105         Queue( );
00106 
00119         Queue( const ::javax::jms::Queue & _rhs );
00120 
00133         Queue( jobject _local, xmog_flags f_xflags );
00134 
00147         Queue( const ::xmog_null & _null_instance );
00148 
00159         Queue( ::xmog_java_array * _arr, jint _index );
00160 
00174         Queue( const ::javax::jms::Queue & _rhs, ::xmog_localenv * p_lxenv );
00175 
00187         XMOG_EXPLICIT Queue( ::xmog_base * _delegate, bool _owns_delegate = true );
00188 
00202         Queue( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00203 
00210         ~Queue( );
00211 
00224         javax::jms::Queue operator =( const javax::jms::Queue & _rhs );
00225 
00240         void operator delete( void * _ptr );
00241 
00242 #       if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00258             void operator delete( void * ptr, void * loc );
00259 #       endif /* (XMOG_SUPPORTS_PLACEMENT_DELETE==1) */
00260 
00275         void * operator new( size_t _size );
00276 
00277 #       if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00295             void * operator new( size_t _size, void * _ptr );
00296 #       endif /* (XMOG_SUPPORTS_PLACEMENT_NEW==1) */
00297 
00318         static ::javax::jms::Queue dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00319 
00321 
00336         virtual ::java::lang::String getQueueName( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00337 
00339 
00353         static ::xmog_java_class * get_class( );
00354 
00363         static ::xmog_java_class * get_element_class( );
00364 
00366 
00377         virtual ::java::lang::String toString( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00378 
00380 
00399         virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00401 
00402     };
00403 #endif /* xmogInc_javaxjmsQueue */
00404 

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