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

java_lang_reflect_Constructor.h

00001 #ifndef xmogInc_javalangreflectConstructor
00002 #define xmogInc_javalangreflectConstructor
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 Class;
00018             class Object;
00019             class String;
00020             namespace reflect
00021             {
00022                 class Constructor;
00023             }
00024         }
00025     }
00026 
00027 #   include "java_lang_reflect_Member.h"
00028 #   include "java_lang_reflect_AccessibleObject.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 
00058     class JMS_DECLSPEC java::lang::reflect::Constructor : 
00059         public ::java::lang::reflect::AccessibleObject,
00060         public ::java::lang::reflect::Member
00061     {
00062     public:
00063         enum 
00064         {
00065             xmogDefaultFlags = xmog_base::GLOBAL,
00066             xmogMajorVersion = 3,
00067             xmogMinorVersion = 2,
00068             xmogPatchVersion = 9,
00069             xmogBuildNumber = 2047
00070         };
00071 
00072     public:
00073 
00074         typedef ::xmog_java_array_template< ::java::lang::reflect::Constructor > array1D;
00075 
00076         typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::lang::reflect::Constructor > > array2D;
00077 
00079 
00096         Constructor( );
00097 
00110         Constructor( const ::java::lang::reflect::Constructor & _rhs );
00111 
00124         Constructor( jobject _local, xmog_flags f_xflags );
00125 
00138         Constructor( const ::xmog_null & _null_instance );
00139 
00150         Constructor( ::xmog_java_array * _arr, jint _index );
00151 
00165         Constructor( const ::java::lang::reflect::Constructor & _rhs, ::xmog_localenv * p_lxenv );
00166 
00178         XMOG_EXPLICIT Constructor( ::xmog_base * _delegate, bool _owns_delegate = true );
00179 
00193         Constructor( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00194 
00196 
00211         Constructor( const ::java::lang::Class & declaringClass, const ::xmog_java_array_template< ::java::lang::Class > & parameterTypes, const ::xmog_java_array_template< ::java::lang::Class > & checkedExceptions, jint modifiers, jint slot, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00212 
00214 
00221         ~Constructor( );
00222 
00235         java::lang::reflect::Constructor operator =( const java::lang::reflect::Constructor & _rhs );
00236 
00251         void operator delete( void * _ptr );
00252 
00253 #       if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00269             void operator delete( void * ptr, void * loc );
00270 #       endif /* (XMOG_SUPPORTS_PLACEMENT_DELETE==1) */
00271 
00286         void * operator new( size_t _size );
00287 
00288 #       if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00306             void * operator new( size_t _size, void * _ptr );
00307 #       endif /* (XMOG_SUPPORTS_PLACEMENT_NEW==1) */
00308 
00329         static ::java::lang::reflect::Constructor dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00330 
00332 
00350         bool equals( const ::java::lang::Object & obj, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00351 
00363         ::java::lang::Class getDeclaringClass( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00364 
00381         ::xmog_java_array_template< ::java::lang::Class > getExceptionTypes( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00382 
00397         jint getModifiers( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00398 
00413         ::java::lang::String getName( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00414 
00431         ::xmog_java_array_template< ::java::lang::Class > getParameterTypes( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00432 
00434 
00448         static ::xmog_java_class * get_class( );
00449 
00458         static ::xmog_java_class * get_element_class( );
00459 
00461 
00476         jint hashCode( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00477 
00510         ::java::lang::Object newInstance( const ::xmog_java_array_template< ::java::lang::Object > & initargs, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00511 
00536         ::java::lang::String toString( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00537 
00539 
00558         virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00560 
00561     };
00562 #endif /* xmogInc_javalangreflectConstructor */
00563 

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