1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_CORBA_CDR_AbstractCdrOutput__
|
5 |
|
|
#define __gnu_CORBA_CDR_AbstractCdrOutput__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <org/omg/CORBA_2_3/portable/OutputStream.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 AbstractCdrOutput;
|
21 |
|
|
class AbstractDataOutput;
|
22 |
|
|
class BufferedCdrOutput;
|
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 Context;
|
47 |
|
|
class ContextList;
|
48 |
|
|
class ORB;
|
49 |
|
|
class Object;
|
50 |
|
|
class TypeCode;
|
51 |
|
|
}
|
52 |
|
|
}
|
53 |
|
|
}
|
54 |
|
|
}
|
55 |
|
|
|
56 |
|
|
class gnu::CORBA::CDR::AbstractCdrOutput : public ::org::omg::CORBA_2_3::portable::OutputStream
|
57 |
|
|
{
|
58 |
|
|
|
59 |
|
|
public:
|
60 |
|
|
AbstractCdrOutput(::java::io::OutputStream *);
|
61 |
|
|
AbstractCdrOutput();
|
62 |
|
|
virtual void setOffset(jint) = 0;
|
63 |
|
|
virtual void cloneSettings(::gnu::CORBA::CDR::AbstractCdrOutput *);
|
64 |
|
|
virtual void setCodeSet(::gnu::CORBA::GIOP::CodeSetServiceContext *);
|
65 |
|
|
virtual ::gnu::CORBA::GIOP::CodeSetServiceContext * getCodeSet();
|
66 |
|
|
virtual void setOrb(::org::omg::CORBA::ORB *);
|
67 |
|
|
virtual void setOutputStream(::java::io::OutputStream *);
|
68 |
|
|
virtual void setVersion(::gnu::CORBA::Version *);
|
69 |
|
|
virtual void setBigEndian(jboolean);
|
70 |
|
|
virtual void align(jint) = 0;
|
71 |
|
|
virtual ::gnu::CORBA::CDR::AbstractCdrOutput * createEncapsulation();
|
72 |
|
|
virtual ::org::omg::CORBA::ORB * orb();
|
73 |
|
|
virtual void write(jint);
|
74 |
|
|
virtual void write(JArray< jbyte > *);
|
75 |
|
|
virtual void write(JArray< jbyte > *, jint, jint);
|
76 |
|
|
virtual void write_Context(::org::omg::CORBA::Context *, ::org::omg::CORBA::ContextList *);
|
77 |
|
|
virtual void write_Object(::org::omg::CORBA::Object *);
|
78 |
|
|
virtual void write_TypeCode(::org::omg::CORBA::TypeCode *);
|
79 |
|
|
virtual void write_any(::org::omg::CORBA::Any *);
|
80 |
|
|
virtual void write_boolean(jboolean);
|
81 |
|
|
virtual void write_boolean_array(JArray< jboolean > *, jint, jint);
|
82 |
|
|
virtual void write_char(jchar);
|
83 |
|
|
virtual void write_char_array(JArray< jchar > *, jint, jint);
|
84 |
|
|
virtual void write_double(jdouble);
|
85 |
|
|
virtual void write_double_array(JArray< jdouble > *, jint, jint);
|
86 |
|
|
virtual void write_fixed(::java::math::BigDecimal *);
|
87 |
|
|
virtual void write_float(jfloat);
|
88 |
|
|
virtual void write_float_array(JArray< jfloat > *, jint, jint);
|
89 |
|
|
virtual void write_long(jint);
|
90 |
|
|
virtual void write_long_array(JArray< jint > *, jint, jint);
|
91 |
|
|
virtual void write_longlong(jlong);
|
92 |
|
|
virtual void write_longlong_array(JArray< jlong > *, jint, jint);
|
93 |
|
|
virtual void write_octet(jbyte);
|
94 |
|
|
virtual void write_octet_array(JArray< jbyte > *, jint, jint);
|
95 |
|
|
virtual void write_sequence(JArray< jbyte > *);
|
96 |
|
|
virtual void write_sequence(::gnu::CORBA::CDR::BufferedCdrOutput *);
|
97 |
|
|
virtual void write_short(jshort);
|
98 |
|
|
virtual void write_short_array(JArray< jshort > *, jint, jint);
|
99 |
|
|
virtual void write_string(::java::lang::String *);
|
100 |
|
|
virtual void write_ulong(jint);
|
101 |
|
|
virtual void write_ulong_array(JArray< jint > *, jint, jint);
|
102 |
|
|
virtual void write_ulonglong(jlong);
|
103 |
|
|
virtual void write_ulonglong_array(JArray< jlong > *, jint, jint);
|
104 |
|
|
virtual void write_ushort(jshort);
|
105 |
|
|
virtual void write_ushort_array(JArray< jshort > *, jint, jint);
|
106 |
|
|
virtual void write_wchar(jchar);
|
107 |
|
|
virtual void write_wchar_array(JArray< jchar > *, jint, jint);
|
108 |
|
|
virtual void write_wstring(::java::lang::String *);
|
109 |
|
|
virtual void write_any_array(JArray< ::org::omg::CORBA::Any * > *, jint, jint);
|
110 |
|
|
virtual JArray< ::java::lang::String * > * _truncatable_ids();
|
111 |
|
|
virtual void write_Abstract(::java::lang::Object *);
|
112 |
|
|
virtual void write_Value(::java::io::Serializable *);
|
113 |
|
|
::gnu::CORBA::CDR::gnuRuntime * __attribute__((aligned(__alignof__( ::org::omg::CORBA_2_3::portable::OutputStream)))) runtime;
|
114 |
|
|
public: // actually protected
|
115 |
|
|
::gnu::CORBA::CDR::AbstractDataOutput * b;
|
116 |
|
|
::org::omg::CORBA::ORB * orb__;
|
117 |
|
|
::gnu::CORBA::Version * giop;
|
118 |
|
|
::gnu::CORBA::GIOP::CodeSetServiceContext * codeset;
|
119 |
|
|
private:
|
120 |
|
|
::java::lang::String * narrow_charset;
|
121 |
|
|
::java::lang::String * wide_charset;
|
122 |
|
|
jboolean narrow_native;
|
123 |
|
|
jboolean wide_native;
|
124 |
|
|
jboolean little_endian;
|
125 |
|
|
::java::io::OutputStream * actual_stream;
|
126 |
|
|
public:
|
127 |
|
|
static ::java::lang::Class class$;
|
128 |
|
|
};
|
129 |
|
|
|
130 |
|
|
#endif // __gnu_CORBA_CDR_AbstractCdrOutput__
|