LongViewBufferImpl.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_nio_LongViewBufferImpl__
  3. #define __java_nio_LongViewBufferImpl__
  4. #pragma interface
  5. #include <java/nio/LongBuffer.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace nio
  11. {
  12. class ByteBuffer;
  13. class ByteOrder;
  14. class LongBuffer;
  15. class LongViewBufferImpl;
  16. }
  17. }
  18. }
  19. class java::nio::LongViewBufferImpl : public ::java::nio::LongBuffer
  20. {
  21. public: // actually package-private
  22. LongViewBufferImpl(::java::nio::ByteBuffer *, jint);
  23. public:
  24. LongViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *);
  25. jlong get();
  26. jlong get(jint);
  27. ::java::nio::LongBuffer * put(jlong);
  28. ::java::nio::LongBuffer * put(jint, jlong);
  29. ::java::nio::LongBuffer * compact();
  30. ::java::nio::LongBuffer * slice();
  31. public: // actually package-private
  32. ::java::nio::LongBuffer * duplicate(jboolean);
  33. public:
  34. ::java::nio::LongBuffer * duplicate();
  35. ::java::nio::LongBuffer * asReadOnlyBuffer();
  36. jboolean isReadOnly();
  37. jboolean isDirect();
  38. ::java::nio::ByteOrder * order();
  39. private:
  40. jint __attribute__((aligned(__alignof__( ::java::nio::LongBuffer)))) 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_LongViewBufferImpl__