IntViewBufferImpl.h 1.3 KB

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