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

java_lang_CharSequence.h

00001 #ifndef xmogInc_javalangCharSequence
00002 #define xmogInc_javalangCharSequence
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 #   if (XMOG_SUPPORTS_STD==1)
00014 #       include <string>
00015 #   endif /* (XMOG_SUPPORTS_STD==1) */
00016 
00017     namespace java
00018     {
00019         namespace lang
00020         {
00021             class CharSequence;
00022             class String;
00023         }
00024     }
00025 
00026 #   include "java_lang_Object.h"
00027 
00028     // work around MFC definitions of 'new' and 'delete' that cause compilation errors
00029 #   if (XMOG_UNDEFINE_MEM_OPERATORS==1)
00030 #       if defined(new)
00031 #           undef new
00032 #       endif /* defined(new) */
00033 #       if defined(delete)
00034 #           undef delete
00035 #       endif /* defined(delete) */
00036 #   endif /* (XMOG_UNDEFINE_MEM_OPERATORS==1) */
00037 
00058     class JMS_DECLSPEC java::lang::CharSequence : 
00059         public virtual ::java::lang::Object
00060     {
00061     public:
00062         enum 
00063         {
00064             xmogDefaultFlags = xmog_base::GLOBAL,
00065             xmogMajorVersion = 3,
00066             xmogMinorVersion = 2,
00067             xmogPatchVersion = 9,
00068             xmogBuildNumber = 2047
00069         };
00070 
00071     public:
00072 
00073         typedef ::xmog_java_array_template< ::java::lang::CharSequence > array1D;
00074 
00075         typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::lang::CharSequence > > array2D;
00076 
00078 
00095         CharSequence( );
00096 
00109         CharSequence( const ::java::lang::CharSequence & _rhs );
00110 
00123         CharSequence( jobject _local, xmog_flags f_xflags );
00124 
00137         CharSequence( const ::xmog_null & _null_instance );
00138 
00149         CharSequence( ::xmog_java_array * _arr, jint _index );
00150 
00162         XMOG_EXPLICIT CharSequence( ::xmog_base * _delegate, bool _owns_delegate = true );
00163 
00177         CharSequence( const ::java::lang::CharSequence & _rhs, ::xmog_localenv * p_lxenv );
00178 
00179 #       if (XMOG_SUPPORTS_WCHAR_T==1)
00194             CharSequence( const XMOG_WCHAR _str[], jint _len = -1, ::xmog_localenv * _env = NULL );
00195 #       endif /* (XMOG_SUPPORTS_WCHAR_T==1) */
00196 
00197 #       if (XMOG_REQUIRES_UNSIGNED_SHORT_OVERLOAD==1)
00212             CharSequence( const unsigned short _str[], jint _len = -1, ::xmog_localenv * _env = NULL );
00213 #       endif /* (XMOG_REQUIRES_UNSIGNED_SHORT_OVERLOAD==1) */
00214 
00231         CharSequence( const char * _str, jint _len = -1, ::xmog_base * _enc = NULL, ::xmog_localenv * _env = NULL );
00232 
00246         CharSequence( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00247 
00248 #       if (XMOG_SUPPORTS_MFC==1)
00265             CharSequence( const std::string & _str, jint _len = -1, ::xmog_base * _enc = NULL, ::xmog_localenv * _env = NULL );
00266 #       endif /* (XMOG_SUPPORTS_MFC==1) */
00267 
00274         ~CharSequence( );
00275 
00288         java::lang::CharSequence operator =( const java::lang::CharSequence & _rhs );
00289 
00304         void operator delete( void * _ptr );
00305 
00306 #       if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00322             void operator delete( void * ptr, void * loc );
00323 #       endif /* (XMOG_SUPPORTS_PLACEMENT_DELETE==1) */
00324 
00339         void * operator new( size_t _size );
00340 
00341 #       if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00359             void * operator new( size_t _size, void * _ptr );
00360 #       endif /* (XMOG_SUPPORTS_PLACEMENT_NEW==1) */
00361 
00363 
00380         virtual jchar charAt( jint index, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00381 
00383 
00404         static ::java::lang::CharSequence dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00405 
00419         static ::xmog_java_class * get_class( );
00420 
00429         static ::xmog_java_class * get_element_class( );
00430 
00432 
00446         virtual jint length( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00447 
00467         virtual ::java::lang::CharSequence subSequence( jint start, jint end, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00468 
00483         virtual ::java::lang::String toString( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00484 
00486 
00505         virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00507 
00508     };
00509 #endif /* xmogInc_javalangCharSequence */
00510 

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