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

java_util_Enumeration.h

00001 #ifndef xmogInc_javautilEnumeration
00002 #define xmogInc_javautilEnumeration
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 Object;
00018         }
00019         namespace util
00020         {
00021             class Enumeration;
00022         }
00023     }
00024 
00025 #   include "java_lang_Object.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 
00067     class JMS_DECLSPEC java::util::Enumeration : 
00068         public virtual ::java::lang::Object
00069     {
00070     public:
00071         enum 
00072         {
00073             xmogDefaultFlags = xmog_base::GLOBAL,
00074             xmogMajorVersion = 3,
00075             xmogMinorVersion = 2,
00076             xmogPatchVersion = 9,
00077             xmogBuildNumber = 2047
00078         };
00079 
00080     public:
00081 
00082         typedef ::xmog_java_array_template< ::java::util::Enumeration > array1D;
00083 
00084         typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::util::Enumeration > > array2D;
00085 
00087 
00104         Enumeration( );
00105 
00118         Enumeration( const ::java::util::Enumeration & _rhs );
00119 
00132         Enumeration( jobject _local, xmog_flags f_xflags );
00133 
00146         Enumeration( const ::xmog_null & _null_instance );
00147 
00158         Enumeration( ::xmog_java_array * _arr, jint _index );
00159 
00173         Enumeration( const ::java::util::Enumeration & _rhs, ::xmog_localenv * p_lxenv );
00174 
00186         XMOG_EXPLICIT Enumeration( ::xmog_base * _delegate, bool _owns_delegate = true );
00187 
00201         Enumeration( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00202 
00209         ~Enumeration( );
00210 
00223         java::util::Enumeration operator =( const java::util::Enumeration & _rhs );
00224 
00239         void operator delete( void * _ptr );
00240 
00241 #       if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00257             void operator delete( void * ptr, void * loc );
00258 #       endif /* (XMOG_SUPPORTS_PLACEMENT_DELETE==1) */
00259 
00274         void * operator new( size_t _size );
00275 
00276 #       if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00294             void * operator new( size_t _size, void * _ptr );
00295 #       endif /* (XMOG_SUPPORTS_PLACEMENT_NEW==1) */
00296 
00317         static ::java::util::Enumeration dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00318 
00332         static ::xmog_java_class * get_class( );
00333 
00342         static ::xmog_java_class * get_element_class( );
00343 
00345 
00358         virtual bool hasMoreElements( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00359 
00371         virtual ::java::lang::Object nextElement( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00372 
00374 
00393         virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00395 
00396     };
00397 #endif /* xmogInc_javautilEnumeration */
00398 

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