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

java_util_AbstractSet.h

00001 #ifndef xmogInc_javautilAbstractSet
00002 #define xmogInc_javautilAbstractSet
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             class String;
00019         }
00020         namespace util
00021         {
00022             class AbstractSet;
00023             class Collection;
00024             class Iterator;
00025         }
00026     }
00027 
00028 #   include "java_util_Set.h"
00029 #   include "java_util_AbstractCollection.h"
00030 
00031     // work around MFC definitions of 'new' and 'delete' that cause compilation errors
00032 #   if (XMOG_UNDEFINE_MEM_OPERATORS==1)
00033 #       if defined(new)
00034 #           undef new
00035 #       endif /* defined(new) */
00036 #       if defined(delete)
00037 #           undef delete
00038 #       endif /* defined(delete) */
00039 #   endif /* (XMOG_UNDEFINE_MEM_OPERATORS==1) */
00040 
00068     class JMS_DECLSPEC java::util::AbstractSet : 
00069         public ::java::util::AbstractCollection,
00070         public virtual ::java::util::Set
00071     {
00072     public:
00073         enum 
00074         {
00075             xmogDefaultFlags = xmog_base::GLOBAL,
00076             xmogMajorVersion = 3,
00077             xmogMinorVersion = 2,
00078             xmogPatchVersion = 9,
00079             xmogBuildNumber = 2047
00080         };
00081 
00082     public:
00083 
00084         typedef ::xmog_java_array_template< ::java::util::AbstractSet > array1D;
00085 
00086         typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::util::AbstractSet > > array2D;
00087 
00089 
00106         AbstractSet( );
00107 
00120         AbstractSet( const ::java::util::AbstractSet & _rhs );
00121 
00134         AbstractSet( jobject _local, xmog_flags f_xflags );
00135 
00148         AbstractSet( const ::xmog_null & _null_instance );
00149 
00160         AbstractSet( ::xmog_java_array * _arr, jint _index );
00161 
00175         AbstractSet( const ::java::util::AbstractSet & _rhs, ::xmog_localenv * p_lxenv );
00176 
00188         XMOG_EXPLICIT AbstractSet( ::xmog_base * _delegate, bool _owns_delegate = true );
00189 
00203         AbstractSet( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00204 
00206 
00219         AbstractSet( ::xmog_dummy _use_java_ctor, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00220 
00222 
00229         ~AbstractSet( );
00230 
00243         java::util::AbstractSet operator =( const java::util::AbstractSet & _rhs );
00244 
00259         void operator delete( void * _ptr );
00260 
00261 #       if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00277             void operator delete( void * ptr, void * loc );
00278 #       endif /* (XMOG_SUPPORTS_PLACEMENT_DELETE==1) */
00279 
00294         void * operator new( size_t _size );
00295 
00296 #       if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00314             void * operator new( size_t _size, void * _ptr );
00315 #       endif /* (XMOG_SUPPORTS_PLACEMENT_NEW==1) */
00316 
00318 
00327         virtual bool add( const ::java::lang::Object & o, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00328 
00337         virtual bool addAll( const ::java::util::Collection & c, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00338 
00346         virtual void clear( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00347 
00356         virtual bool contains( const ::java::lang::Object & o, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00357 
00366         virtual bool containsAll( const ::java::util::Collection & c, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00367 
00369 
00390         static ::java::util::AbstractSet dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00391 
00393 
00418         virtual bool equals( const ::java::lang::Object & o, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00419 
00421 
00435         static ::xmog_java_class * get_class( );
00436 
00445         static ::xmog_java_class * get_element_class( );
00446 
00448 
00470         virtual jint hashCode( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00471 
00479         virtual bool isEmpty( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00480 
00488         virtual ::java::util::Iterator iterator( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00489 
00498         virtual bool remove( const ::java::lang::Object & o, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00499 
00530         virtual bool removeAll( const ::java::util::Collection & c, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00531 
00540         virtual bool retainAll( const ::java::util::Collection & c, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00541 
00549         virtual jint size( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00550 
00558         virtual ::xmog_java_array_template< ::java::lang::Object > toArray( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00559 
00568         virtual ::xmog_java_array_template< ::java::lang::Object > toArray( const ::xmog_java_array_template< ::java::lang::Object > & a, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00569 
00577         virtual ::java::lang::String toString( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00578 
00580 
00599         virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00601 
00602     };
00603 #endif /* xmogInc_javautilAbstractSet */
00604 

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