00001 #ifndef xmogInc_javautilRandomAccess
00002 #define xmogInc_javautilRandomAccess
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 java
00014 {
00015 namespace util
00016 {
00017 class RandomAccess;
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
00075 class JMS_DECLSPEC java::util::RandomAccess :
00076 public virtual ::java::lang::Object
00077 {
00078 public:
00079 enum
00080 {
00081 xmogDefaultFlags = xmog_base::GLOBAL,
00082 xmogMajorVersion = 3,
00083 xmogMinorVersion = 2,
00084 xmogPatchVersion = 9,
00085 xmogBuildNumber = 2047
00086 };
00087
00088 public:
00089
00090 typedef ::xmog_java_array_template< ::java::util::RandomAccess > array1D;
00091
00092 typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::util::RandomAccess > > array2D;
00093
00095
00112 RandomAccess( );
00113
00126 RandomAccess( const ::java::util::RandomAccess & _rhs );
00127
00140 RandomAccess( jobject _local, xmog_flags f_xflags );
00141
00154 RandomAccess( const ::xmog_null & _null_instance );
00155
00166 RandomAccess( ::xmog_java_array * _arr, jint _index );
00167
00181 RandomAccess( const ::java::util::RandomAccess & _rhs, ::xmog_localenv * p_lxenv );
00182
00194 XMOG_EXPLICIT RandomAccess( ::xmog_base * _delegate, bool _owns_delegate = true );
00195
00209 RandomAccess( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00210
00217 ~RandomAccess( );
00218
00231 java::util::RandomAccess operator =( const java::util::RandomAccess & _rhs );
00232
00247 void operator delete( void * _ptr );
00248
00249 # if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00265 void operator delete( void * ptr, void * loc );
00266 # endif
00267
00282 void * operator new( size_t _size );
00283
00284 # if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00302 void * operator new( size_t _size, void * _ptr );
00303 # endif
00304
00325 static ::java::util::RandomAccess dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00326
00340 static ::xmog_java_class * get_class( );
00341
00350 static ::xmog_java_class * get_element_class( );
00351
00370 virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00372
00373 };
00374 #endif
00375