OSDN Git Service

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