summaryrefslogtreecommitdiff
path: root/libjava/java/nio/ShortViewBufferImpl.h
blob: 179cc32c564f5503263c897cbe18ca4a3a404af1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_nio_ShortViewBufferImpl__
#define __java_nio_ShortViewBufferImpl__

#pragma interface

#include <java/nio/ShortBuffer.h>
extern "Java"
{
  namespace java
  {
    namespace nio
    {
        class ByteBuffer;
        class ByteOrder;
        class ShortBuffer;
        class ShortViewBufferImpl;
    }
  }
}

class java::nio::ShortViewBufferImpl : public ::java::nio::ShortBuffer
{

public: // actually package-private
  ShortViewBufferImpl(::java::nio::ByteBuffer *, jint);
public:
  ShortViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *);
  jshort get();
  jshort get(jint);
  ::java::nio::ShortBuffer * put(jshort);
  ::java::nio::ShortBuffer * put(jint, jshort);
  ::java::nio::ShortBuffer * compact();
  ::java::nio::ShortBuffer * slice();
public: // actually package-private
  ::java::nio::ShortBuffer * duplicate(jboolean);
public:
  ::java::nio::ShortBuffer * duplicate();
  ::java::nio::ShortBuffer * asReadOnlyBuffer();
  jboolean isReadOnly();
  jboolean isDirect();
  ::java::nio::ByteOrder * order();
private:
  jint __attribute__((aligned(__alignof__( ::java::nio::ShortBuffer)))) offset;
  ::java::nio::ByteBuffer * bb;
  jboolean readOnly;
  ::java::nio::ByteOrder * endian;
public:
  static ::java::lang::Class class$;
};

#endif // __java_nio_ShortViewBufferImpl__