summaryrefslogtreecommitdiff
path: root/libjava/gnu/CORBA/CDR/AbstractCdrInput.h
blob: a9c9adcf62c1d0b944e800da1276183725f46694 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_CORBA_CDR_AbstractCdrInput__
#define __gnu_CORBA_CDR_AbstractCdrInput__

#pragma interface

#include <org/omg/CORBA_2_3/portable/InputStream.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace CORBA
    {
      namespace CDR
      {
          class AbstractCdrInput;
          class AbstractDataInput;
          class BufferredCdrInput;
          class gnuRuntime;
      }
      namespace GIOP
      {
          class CodeSetServiceContext;
      }
        class Version;
    }
  }
  namespace java
  {
    namespace math
    {
        class BigDecimal;
    }
  }
  namespace org
  {
    namespace omg
    {
      namespace CORBA
      {
          class Any;
          class AnySeqHolder;
          class BooleanSeqHolder;
          class CharSeqHolder;
          class DoubleSeqHolder;
          class FloatSeqHolder;
          class LongLongSeqHolder;
          class LongSeqHolder;
          class ORB;
          class Object;
          class OctetSeqHolder;
          class ShortSeqHolder;
          class TypeCode;
          class ULongLongSeqHolder;
          class ULongSeqHolder;
          class UShortSeqHolder;
          class WCharSeqHolder;
      }
    }
  }
}

class gnu::CORBA::CDR::AbstractCdrInput : public ::org::omg::CORBA_2_3::portable::InputStream
{

public:
  AbstractCdrInput(::java::io::InputStream *);
  AbstractCdrInput();
  virtual void setBigEndian(jboolean);
  virtual jboolean isBigEndian();
  virtual void cloneSettings(::gnu::CORBA::CDR::AbstractCdrInput *);
  virtual void setInputStream(::java::io::InputStream *);
  virtual void setOffset(jint) = 0;
  virtual void setOrb(::org::omg::CORBA::ORB *);
  virtual void setVersion(::gnu::CORBA::Version *);
  virtual void align(jint) = 0;
  virtual jlong gnu_read_ulong();
  virtual jint gnu_read_ushort();
  virtual ::org::omg::CORBA::ORB * orb();
  virtual jint read();
  virtual jint read(JArray< jbyte > *, jint, jint);
  virtual jint read(JArray< jbyte > *);
  virtual ::org::omg::CORBA::Object * read_Object();
  virtual ::org::omg::CORBA::TypeCode * read_TypeCode();
  virtual ::org::omg::CORBA::Any * read_any();
  virtual jboolean read_boolean();
  virtual void read_boolean_array(JArray< jboolean > *, jint, jint);
  virtual jchar read_char();
  virtual void read_char_array(JArray< jchar > *, jint, jint);
  virtual jdouble read_double();
  virtual void read_double_array(JArray< jdouble > *, jint, jint);
  virtual ::gnu::CORBA::CDR::BufferredCdrInput * read_encapsulation();
  virtual ::java::math::BigDecimal * read_fixed();
  virtual jfloat read_float();
  virtual void read_float_array(JArray< jfloat > *, jint, jint);
  virtual jint read_long();
  virtual void read_long_array(JArray< jint > *, jint, jint);
  virtual jlong read_longlong();
  virtual void read_longlong_array(JArray< jlong > *, jint, jint);
  virtual jbyte read_octet();
  virtual void read_octet_array(JArray< jbyte > *, jint, jint);
  virtual JArray< jbyte > * read_sequence();
  virtual jshort read_short();
  virtual void read_short_array(JArray< jshort > *, jint, jint);
  virtual ::java::lang::String * read_string();
  virtual jint read_ulong();
  virtual void read_ulong_array(JArray< jint > *, jint, jint);
  virtual jlong read_ulonglong();
  virtual void read_ulonglong_array(JArray< jlong > *, jint, jint);
  virtual jshort read_ushort();
  virtual void read_ushort_array(JArray< jshort > *, jint, jint);
  virtual jchar read_wchar();
  virtual void read_wchar_array(JArray< jchar > *, jint, jint);
  virtual ::java::lang::String * read_wstring();
  virtual ::java::lang::String * read_wstring_UTF_16();
  static jchar swap(jchar);
  virtual void setCodeSet(::gnu::CORBA::GIOP::CodeSetServiceContext *);
  virtual ::gnu::CORBA::GIOP::CodeSetServiceContext * getCodeSet();
  virtual ::org::omg::CORBA::Object * read_Object(::java::lang::Class *);
  virtual ::java::io::Serializable * read_Value();
  virtual ::java::lang::Object * read_Abstract();
  virtual void read_char_array(::org::omg::CORBA::CharSeqHolder *, jint, jint);
  virtual void read_wchar_array(::org::omg::CORBA::WCharSeqHolder *, jint, jint);
private:
  JArray< jchar > * ensureArray(JArray< jchar > *, jint, jint);
public:
  virtual void read_ulong_array(::org::omg::CORBA::ULongSeqHolder *, jint, jint);
  virtual void read_long_array(::org::omg::CORBA::LongSeqHolder *, jint, jint);
private:
  JArray< jint > * ensureArray(JArray< jint > *, jint, jint);
public:
  virtual void read_float_array(::org::omg::CORBA::FloatSeqHolder *, jint, jint);
private:
  JArray< jfloat > * ensureArray(JArray< jfloat > *, jint, jint);
public:
  virtual void read_double_array(::org::omg::CORBA::DoubleSeqHolder *, jint, jint);
private:
  JArray< jdouble > * ensureArray(JArray< jdouble > *, jint, jint);
public:
  virtual void read_short_array(::org::omg::CORBA::ShortSeqHolder *, jint, jint);
  virtual void read_ushort_array(::org::omg::CORBA::UShortSeqHolder *, jint, jint);
private:
  JArray< jshort > * ensureArray(JArray< jshort > *, jint, jint);
public:
  virtual void read_octet_array(::org::omg::CORBA::OctetSeqHolder *, jint, jint);
private:
  JArray< jbyte > * ensureArray(JArray< jbyte > *, jint, jint);
public:
  virtual void read_longlong_array(::org::omg::CORBA::LongLongSeqHolder *, jint, jint);
  virtual void read_ulonglong_array(::org::omg::CORBA::ULongLongSeqHolder *, jint, jint);
private:
  JArray< jlong > * ensureArray(JArray< jlong > *, jint, jint);
public:
  virtual void read_boolean_array(::org::omg::CORBA::BooleanSeqHolder *, jint, jint);
private:
  JArray< jboolean > * ensureArray(JArray< jboolean > *, jint, jint);
public:
  virtual void read_any_array(::org::omg::CORBA::AnySeqHolder *, jint, jint);
private:
  JArray< ::org::omg::CORBA::Any * > * ensureArray(JArray< ::org::omg::CORBA::Any * > *, jint, jint);
public:
  virtual JArray< ::java::lang::String * > * _truncatable_ids();
  ::gnu::CORBA::CDR::gnuRuntime * __attribute__((aligned(__alignof__( ::org::omg::CORBA_2_3::portable::InputStream)))) runtime;
public: // actually protected
  static ::java::lang::String * UNEXP_EOF;
  ::gnu::CORBA::CDR::AbstractDataInput * b;
  ::java::io::InputStream * actual_stream;
  ::org::omg::CORBA::ORB * orb__;
  ::gnu::CORBA::Version * giop;
  ::gnu::CORBA::GIOP::CodeSetServiceContext * codeset;
private:
  ::java::lang::String * narrow_charset;
  ::java::lang::String * wide_charset;
  jboolean narrow_native;
  jboolean wide_native;
  jboolean little_endian;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_CORBA_CDR_AbstractCdrInput__