ByteBufferHelper.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_nio_ByteBufferHelper__
  3. #define __java_nio_ByteBufferHelper__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace nio
  11. {
  12. class ByteBuffer;
  13. class ByteBufferHelper;
  14. class ByteOrder;
  15. }
  16. }
  17. }
  18. class java::nio::ByteBufferHelper : public ::java::lang::Object
  19. {
  20. public: // actually package-private
  21. ByteBufferHelper();
  22. public:
  23. static jchar getChar(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
  24. static void putChar(::java::nio::ByteBuffer *, jchar, ::java::nio::ByteOrder *);
  25. static jchar getChar(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
  26. static void putChar(::java::nio::ByteBuffer *, jint, jchar, ::java::nio::ByteOrder *);
  27. static jshort getShort(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
  28. static void putShort(::java::nio::ByteBuffer *, jshort, ::java::nio::ByteOrder *);
  29. static jshort getShort(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
  30. static void putShort(::java::nio::ByteBuffer *, jint, jshort, ::java::nio::ByteOrder *);
  31. static jint getInt(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
  32. static void putInt(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
  33. static jint getInt(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
  34. static void putInt(::java::nio::ByteBuffer *, jint, jint, ::java::nio::ByteOrder *);
  35. static jlong getLong(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
  36. static void putLong(::java::nio::ByteBuffer *, jlong, ::java::nio::ByteOrder *);
  37. static jlong getLong(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
  38. static void putLong(::java::nio::ByteBuffer *, jint, jlong, ::java::nio::ByteOrder *);
  39. static jfloat getFloat(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
  40. static void putFloat(::java::nio::ByteBuffer *, jfloat, ::java::nio::ByteOrder *);
  41. static jfloat getFloat(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
  42. static void putFloat(::java::nio::ByteBuffer *, jint, jfloat, ::java::nio::ByteOrder *);
  43. static jdouble getDouble(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
  44. static void putDouble(::java::nio::ByteBuffer *, jdouble, ::java::nio::ByteOrder *);
  45. static jdouble getDouble(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
  46. static void putDouble(::java::nio::ByteBuffer *, jint, jdouble, ::java::nio::ByteOrder *);
  47. static ::java::lang::Class class$;
  48. };
  49. #endif // __java_nio_ByteBufferHelper__