1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_CORBA_CDR_AbstractCdrInput__
|
5 |
|
|
#define __gnu_CORBA_CDR_AbstractCdrInput__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <org/omg/CORBA_2_3/portable/InputStream.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace CORBA
|
17 |
|
|
{
|
18 |
|
|
namespace CDR
|
19 |
|
|
{
|
20 |
|
|
class AbstractCdrInput;
|
21 |
|
|
class AbstractDataInput;
|
22 |
|
|
class BufferredCdrInput;
|
23 |
|
|
class gnuRuntime;
|
24 |
|
|
}
|
25 |
|
|
namespace GIOP
|
26 |
|
|
{
|
27 |
|
|
class CodeSetServiceContext;
|
28 |
|
|
}
|
29 |
|
|
class Version;
|
30 |
|
|
}
|
31 |
|
|
}
|
32 |
|
|
namespace java
|
33 |
|
|
{
|
34 |
|
|
namespace math
|
35 |
|
|
{
|
36 |
|
|
class BigDecimal;
|
37 |
|
|
}
|
38 |
|
|
}
|
39 |
|
|
namespace org
|
40 |
|
|
{
|
41 |
|
|
namespace omg
|
42 |
|
|
{
|
43 |
|
|
namespace CORBA
|
44 |
|
|
{
|
45 |
|
|
class Any;
|
46 |
|
|
class AnySeqHolder;
|
47 |
|
|
class BooleanSeqHolder;
|
48 |
|
|
class CharSeqHolder;
|
49 |
|
|
class DoubleSeqHolder;
|
50 |
|
|
class FloatSeqHolder;
|
51 |
|
|
class LongLongSeqHolder;
|
52 |
|
|
class LongSeqHolder;
|
53 |
|
|
class ORB;
|
54 |
|
|
class Object;
|
55 |
|
|
class OctetSeqHolder;
|
56 |
|
|
class ShortSeqHolder;
|
57 |
|
|
class TypeCode;
|
58 |
|
|
class ULongLongSeqHolder;
|
59 |
|
|
class ULongSeqHolder;
|
60 |
|
|
class UShortSeqHolder;
|
61 |
|
|
class WCharSeqHolder;
|
62 |
|
|
}
|
63 |
|
|
}
|
64 |
|
|
}
|
65 |
|
|
}
|
66 |
|
|
|
67 |
|
|
class gnu::CORBA::CDR::AbstractCdrInput : public ::org::omg::CORBA_2_3::portable::InputStream
|
68 |
|
|
{
|
69 |
|
|
|
70 |
|
|
public:
|
71 |
|
|
AbstractCdrInput(::java::io::InputStream *);
|
72 |
|
|
AbstractCdrInput();
|
73 |
|
|
virtual void setBigEndian(jboolean);
|
74 |
|
|
virtual jboolean isBigEndian();
|
75 |
|
|
virtual void cloneSettings(::gnu::CORBA::CDR::AbstractCdrInput *);
|
76 |
|
|
virtual void setInputStream(::java::io::InputStream *);
|
77 |
|
|
virtual void setOffset(jint) = 0;
|
78 |
|
|
virtual void setOrb(::org::omg::CORBA::ORB *);
|
79 |
|
|
virtual void setVersion(::gnu::CORBA::Version *);
|
80 |
|
|
virtual void align(jint) = 0;
|
81 |
|
|
virtual jlong gnu_read_ulong();
|
82 |
|
|
virtual jint gnu_read_ushort();
|
83 |
|
|
virtual ::org::omg::CORBA::ORB * orb();
|
84 |
|
|
virtual jint read();
|
85 |
|
|
virtual jint read(JArray< jbyte > *, jint, jint);
|
86 |
|
|
virtual jint read(JArray< jbyte > *);
|
87 |
|
|
virtual ::org::omg::CORBA::Object * read_Object();
|
88 |
|
|
virtual ::org::omg::CORBA::TypeCode * read_TypeCode();
|
89 |
|
|
virtual ::org::omg::CORBA::Any * read_any();
|
90 |
|
|
virtual jboolean read_boolean();
|
91 |
|
|
virtual void read_boolean_array(JArray< jboolean > *, jint, jint);
|
92 |
|
|
virtual jchar read_char();
|
93 |
|
|
virtual void read_char_array(JArray< jchar > *, jint, jint);
|
94 |
|
|
virtual jdouble read_double();
|
95 |
|
|
virtual void read_double_array(JArray< jdouble > *, jint, jint);
|
96 |
|
|
virtual ::gnu::CORBA::CDR::BufferredCdrInput * read_encapsulation();
|
97 |
|
|
virtual ::java::math::BigDecimal * read_fixed();
|
98 |
|
|
virtual jfloat read_float();
|
99 |
|
|
virtual void read_float_array(JArray< jfloat > *, jint, jint);
|
100 |
|
|
virtual jint read_long();
|
101 |
|
|
virtual void read_long_array(JArray< jint > *, jint, jint);
|
102 |
|
|
virtual jlong read_longlong();
|
103 |
|
|
virtual void read_longlong_array(JArray< jlong > *, jint, jint);
|
104 |
|
|
virtual jbyte read_octet();
|
105 |
|
|
virtual void read_octet_array(JArray< jbyte > *, jint, jint);
|
106 |
|
|
virtual JArray< jbyte > * read_sequence();
|
107 |
|
|
virtual jshort read_short();
|
108 |
|
|
virtual void read_short_array(JArray< jshort > *, jint, jint);
|
109 |
|
|
virtual ::java::lang::String * read_string();
|
110 |
|
|
virtual jint read_ulong();
|
111 |
|
|
virtual void read_ulong_array(JArray< jint > *, jint, jint);
|
112 |
|
|
virtual jlong read_ulonglong();
|
113 |
|
|
virtual void read_ulonglong_array(JArray< jlong > *, jint, jint);
|
114 |
|
|
virtual jshort read_ushort();
|
115 |
|
|
virtual void read_ushort_array(JArray< jshort > *, jint, jint);
|
116 |
|
|
virtual jchar read_wchar();
|
117 |
|
|
virtual void read_wchar_array(JArray< jchar > *, jint, jint);
|
118 |
|
|
virtual ::java::lang::String * read_wstring();
|
119 |
|
|
virtual ::java::lang::String * read_wstring_UTF_16();
|
120 |
|
|
static jchar swap(jchar);
|
121 |
|
|
virtual void setCodeSet(::gnu::CORBA::GIOP::CodeSetServiceContext *);
|
122 |
|
|
virtual ::gnu::CORBA::GIOP::CodeSetServiceContext * getCodeSet();
|
123 |
|
|
virtual ::org::omg::CORBA::Object * read_Object(::java::lang::Class *);
|
124 |
|
|
virtual ::java::io::Serializable * read_Value();
|
125 |
|
|
virtual ::java::lang::Object * read_Abstract();
|
126 |
|
|
virtual void read_char_array(::org::omg::CORBA::CharSeqHolder *, jint, jint);
|
127 |
|
|
virtual void read_wchar_array(::org::omg::CORBA::WCharSeqHolder *, jint, jint);
|
128 |
|
|
private:
|
129 |
|
|
JArray< jchar > * ensureArray(JArray< jchar > *, jint, jint);
|
130 |
|
|
public:
|
131 |
|
|
virtual void read_ulong_array(::org::omg::CORBA::ULongSeqHolder *, jint, jint);
|
132 |
|
|
virtual void read_long_array(::org::omg::CORBA::LongSeqHolder *, jint, jint);
|
133 |
|
|
private:
|
134 |
|
|
JArray< jint > * ensureArray(JArray< jint > *, jint, jint);
|
135 |
|
|
public:
|
136 |
|
|
virtual void read_float_array(::org::omg::CORBA::FloatSeqHolder *, jint, jint);
|
137 |
|
|
private:
|
138 |
|
|
JArray< jfloat > * ensureArray(JArray< jfloat > *, jint, jint);
|
139 |
|
|
public:
|
140 |
|
|
virtual void read_double_array(::org::omg::CORBA::DoubleSeqHolder *, jint, jint);
|
141 |
|
|
private:
|
142 |
|
|
JArray< jdouble > * ensureArray(JArray< jdouble > *, jint, jint);
|
143 |
|
|
public:
|
144 |
|
|
virtual void read_short_array(::org::omg::CORBA::ShortSeqHolder *, jint, jint);
|
145 |
|
|
virtual void read_ushort_array(::org::omg::CORBA::UShortSeqHolder *, jint, jint);
|
146 |
|
|
private:
|
147 |
|
|
JArray< jshort > * ensureArray(JArray< jshort > *, jint, jint);
|
148 |
|
|
public:
|
149 |
|
|
virtual void read_octet_array(::org::omg::CORBA::OctetSeqHolder *, jint, jint);
|
150 |
|
|
private:
|
151 |
|
|
JArray< jbyte > * ensureArray(JArray< jbyte > *, jint, jint);
|
152 |
|
|
public:
|
153 |
|
|
virtual void read_longlong_array(::org::omg::CORBA::LongLongSeqHolder *, jint, jint);
|
154 |
|
|
virtual void read_ulonglong_array(::org::omg::CORBA::ULongLongSeqHolder *, jint, jint);
|
155 |
|
|
private:
|
156 |
|
|
JArray< jlong > * ensureArray(JArray< jlong > *, jint, jint);
|
157 |
|
|
public:
|
158 |
|
|
virtual void read_boolean_array(::org::omg::CORBA::BooleanSeqHolder *, jint, jint);
|
159 |
|
|
private:
|
160 |
|
|
JArray< jboolean > * ensureArray(JArray< jboolean > *, jint, jint);
|
161 |
|
|
public:
|
162 |
|
|
virtual void read_any_array(::org::omg::CORBA::AnySeqHolder *, jint, jint);
|
163 |
|
|
private:
|
164 |
|
|
JArray< ::org::omg::CORBA::Any * > * ensureArray(JArray< ::org::omg::CORBA::Any * > *, jint, jint);
|
165 |
|
|
public:
|
166 |
|
|
virtual JArray< ::java::lang::String * > * _truncatable_ids();
|
167 |
|
|
::gnu::CORBA::CDR::gnuRuntime * __attribute__((aligned(__alignof__( ::org::omg::CORBA_2_3::portable::InputStream)))) runtime;
|
168 |
|
|
public: // actually protected
|
169 |
|
|
static ::java::lang::String * UNEXP_EOF;
|
170 |
|
|
::gnu::CORBA::CDR::AbstractDataInput * b;
|
171 |
|
|
::java::io::InputStream * actual_stream;
|
172 |
|
|
::org::omg::CORBA::ORB * orb__;
|
173 |
|
|
::gnu::CORBA::Version * giop;
|
174 |
|
|
::gnu::CORBA::GIOP::CodeSetServiceContext * codeset;
|
175 |
|
|
private:
|
176 |
|
|
::java::lang::String * narrow_charset;
|
177 |
|
|
::java::lang::String * wide_charset;
|
178 |
|
|
jboolean narrow_native;
|
179 |
|
|
jboolean wide_native;
|
180 |
|
|
jboolean little_endian;
|
181 |
|
|
public:
|
182 |
|
|
static ::java::lang::Class class$;
|
183 |
|
|
};
|
184 |
|
|
|
185 |
|
|
#endif // __gnu_CORBA_CDR_AbstractCdrInput__
|