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

java_util_AbstractMap.h

00001 #ifndef xmogInc_javautilAbstractMap
00002 #define xmogInc_javautilAbstractMap
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 AbstractMap;
00023             class Collection;
00024             class Map;
00025             class Set;
00026         }
00027     }
00028 
00029 #   include "java_util_Map.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 
00077     class JMS_DECLSPEC java::util::AbstractMap : 
00078         public virtual ::java::util::Map
00079     {
00080     public:
00081         enum 
00082         {
00083             xmogDefaultFlags = xmog_base::GLOBAL,
00084             xmogMajorVersion = 3,
00085             xmogMinorVersion = 2,
00086             xmogPatchVersion = 9,
00087             xmogBuildNumber = 2047
00088         };
00089 
00090     public:
00091 
00092         typedef ::xmog_java_array_template< ::java::util::AbstractMap > array1D;
00093 
00094         typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::util::AbstractMap > > array2D;
00095 
00097 
00114         AbstractMap( );
00115 
00128         AbstractMap( const ::java::util::AbstractMap & _rhs );
00129 
00142         AbstractMap( jobject _local, xmog_flags f_xflags );
00143 
00156         AbstractMap( const ::xmog_null & _null_instance );
00157 
00168         AbstractMap( ::xmog_java_array * _arr, jint _index );
00169 
00183         AbstractMap( const ::java::util::AbstractMap & _rhs, ::xmog_localenv * p_lxenv );
00184 
00196         XMOG_EXPLICIT AbstractMap( ::xmog_base * _delegate, bool _owns_delegate = true );
00197 
00211         AbstractMap( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00212 
00214 
00227         AbstractMap( ::xmog_dummy _use_java_ctor, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00228 
00230 
00237         ~AbstractMap( );
00238 
00251         java::util::AbstractMap operator =( const java::util::AbstractMap & _rhs );
00252 
00267         void operator delete( void * _ptr );
00268 
00269 #       if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00285             void operator delete( void * ptr, void * loc );
00286 #       endif /* (XMOG_SUPPORTS_PLACEMENT_DELETE==1) */
00287 
00302         void * operator new( size_t _size );
00303 
00304 #       if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00322             void * operator new( size_t _size, void * _ptr );
00323 #       endif /* (XMOG_SUPPORTS_PLACEMENT_NEW==1) */
00324 
00326 
00345         virtual void clear( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00346 
00369         virtual bool containsKey( const ::java::lang::Object & key, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00370 
00395         virtual bool containsValue( const ::java::lang::Object & value, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00396 
00398 
00419         static ::java::util::AbstractMap dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00420 
00422 
00443         virtual ::java::util::Set entrySet( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00444 
00475         virtual bool equals( const ::java::lang::Object & o, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00476 
00502         virtual ::java::lang::Object get( const ::java::lang::Object & key, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00503 
00505 
00519         static ::xmog_java_class * get_class( );
00520 
00529         static ::xmog_java_class * get_element_class( );
00530 
00532 
00554         virtual jint hashCode( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00555 
00570         virtual bool isEmpty( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00571 
00602         virtual ::java::util::Set keySet( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00603 
00627         virtual ::java::lang::Object put( const ::java::lang::Object & key, const ::java::lang::Object & value, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00628 
00652         virtual void putAll( const ::java::util::Map & t, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00653 
00686         virtual ::java::lang::Object remove( const ::java::lang::Object & key, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00687 
00704         virtual jint size( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00705 
00732         virtual ::java::lang::String toString( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00733 
00765         virtual ::java::util::Collection values( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00766 
00768 
00787         virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00789 
00790     };
00791 #endif /* xmogInc_javautilAbstractMap */
00792 

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