1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __java_nio_IntViewBufferImpl__ 5 #define __java_nio_IntViewBufferImpl__ 6 7 #pragma interface 8 9 #include <java/nio/IntBuffer.h> 10 extern "Java" 11 { 12 namespace java 13 { 14 namespace nio 15 { 16 class ByteBuffer; 17 class ByteOrder; 18 class IntBuffer; 19 class IntViewBufferImpl; 20 } 21 } 22 } 23 24 class java::nio::IntViewBufferImpl : public ::java::nio::IntBuffer 25 { 26 27 public: // actually package-private 28 IntViewBufferImpl(::java::nio::ByteBuffer *, jint); 29 public: 30 IntViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *); 31 jint get(); 32 jint get(jint); 33 ::java::nio::IntBuffer * put(jint); 34 ::java::nio::IntBuffer * put(jint, jint); 35 ::java::nio::IntBuffer * compact(); 36 ::java::nio::IntBuffer * slice(); 37 public: // actually package-private 38 ::java::nio::IntBuffer * duplicate(jboolean); 39 public: 40 ::java::nio::IntBuffer * duplicate(); 41 ::java::nio::IntBuffer * asReadOnlyBuffer(); 42 jboolean isReadOnly(); 43 jboolean isDirect(); 44 ::java::nio::ByteOrder * order(); 45 private: 46 jint __attribute__((aligned(__alignof__( ::java::nio::IntBuffer)))) offset; 47 ::java::nio::ByteBuffer * bb; 48 jboolean readOnly; 49 ::java::nio::ByteOrder * endian; 50 public: 51 static ::java::lang::Class class$; 52 }; 53 54 #endif // __java_nio_IntViewBufferImpl__ 55