summaryrefslogtreecommitdiff
path: root/libjava/gnu/CORBA/CDR/AligningOutput.h
blob: 2b889783e8028b4d2dc579df1a1acb63975aaa7c (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_CORBA_CDR_AligningOutput__
#define __gnu_CORBA_CDR_AligningOutput__

#pragma interface

#include <java/io/ByteArrayOutputStream.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace CORBA
    {
      namespace CDR
      {
          class AligningOutput;
      }
    }
  }
}

class gnu::CORBA::CDR::AligningOutput : public ::java::io::ByteArrayOutputStream
{

public:
  AligningOutput();
  AligningOutput(jint);
  virtual void setOffset(jint);
  virtual void align(jint);
  virtual void skip(jint);
  virtual jint getPosition();
  virtual void seek(jint);
  virtual JArray< jbyte > * getBuffer();
private:
  jint __attribute__((aligned(__alignof__( ::java::io::ByteArrayOutputStream)))) offset;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_CORBA_CDR_AligningOutput__