00001 #ifndef xmogInc_javaioFilterOutputStream
00002 #define xmogInc_javaioFilterOutputStream
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 io
00016 {
00017 class FilterOutputStream;
00018 class OutputStream;
00019 }
00020 }
00021
00022 # include "java_io_OutputStream.h"
00023
00024
00025 # if (XMOG_UNDEFINE_MEM_OPERATORS==1)
00026 # if defined(new)
00027 # undef new
00028 # endif
00029 # if defined(delete)
00030 # undef delete
00031 # endif
00032 # endif
00033
00054 class JMS_DECLSPEC java::io::FilterOutputStream :
00055 public ::java::io::OutputStream
00056 {
00057 public:
00058 enum
00059 {
00060 xmogDefaultFlags = xmog_base::GLOBAL,
00061 xmogMajorVersion = 3,
00062 xmogMinorVersion = 2,
00063 xmogPatchVersion = 9,
00064 xmogBuildNumber = 2047
00065 };
00066
00067 public:
00068
00069 typedef ::xmog_java_array_template< ::java::io::FilterOutputStream > array1D;
00070
00071 typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::io::FilterOutputStream > > array2D;
00072
00074
00091 FilterOutputStream( );
00092
00105 FilterOutputStream( jobject _local, xmog_flags f_xflags );
00106
00119 FilterOutputStream( const ::java::io::FilterOutputStream & _rhs );
00120
00133 FilterOutputStream( const ::xmog_null & _null_instance );
00134
00145 FilterOutputStream( ::xmog_java_array * _arr, jint _index );
00146
00158 XMOG_EXPLICIT FilterOutputStream( ::xmog_base * _delegate, bool _owns_delegate = true );
00159
00173 FilterOutputStream( const ::java::io::FilterOutputStream & _rhs, ::xmog_localenv * p_lxenv );
00174
00188 FilterOutputStream( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00189
00191
00204 FilterOutputStream( const ::java::io::OutputStream & out, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00205
00207
00214 ~FilterOutputStream( );
00215
00228 java::io::FilterOutputStream operator =( const java::io::FilterOutputStream & _rhs );
00229
00244 void operator delete( void * _ptr );
00245
00246 # if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00262 void operator delete( void * ptr, void * loc );
00263 # endif
00264
00279 void * operator new( size_t _size );
00280
00281 # if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00299 void * operator new( size_t _size, void * _ptr );
00300 # endif
00301
00303
00321 virtual void close( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00322
00324
00345 static ::java::io::FilterOutputStream dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00346
00348
00365 virtual void flush( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00366
00368
00382 static ::xmog_java_class * get_class( );
00383
00392 static ::xmog_java_class * get_element_class( );
00393
00395
00415 virtual void write( jint b, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00416
00439 virtual void write( const ::xmog_java_byte_array & b, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00440
00467 virtual void write( const ::xmog_java_byte_array & b, jint off, jint len, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00468
00470
00489 virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00491
00492 };
00493 #endif
00494