-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRandomInterface.h
More file actions
352 lines (269 loc) · 6.95 KB
/
Copy pathRandomInterface.h
File metadata and controls
352 lines (269 loc) · 6.95 KB
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
// **********************************************************************
//
// Generated by the ORBacus IDL-to-C++ Translator
//
// Copyright (c) 2005
// IONA Technologies, Inc.
// Waltham, MA, USA
//
// All Rights Reserved
//
// **********************************************************************
// Version: 4.3.3
#ifndef ___RandomInterface_h__
#define ___RandomInterface_h__
#ifndef OB_INTEGER_VERSION
# error No ORBacus version defined! Is <OB/CORBA.h> included?
#endif
#ifndef OB_NO_VERSION_CHECK
# if (OB_INTEGER_VERSION != 4030300L)
# error ORBacus version mismatch!
# endif
#endif
namespace Genetic
{
class RandomProvider;
typedef RandomProvider* RandomProvider_ptr;
typedef RandomProvider* RandomProviderRef;
extern OB::TypeCodeConst _tc_RandomProvider;
} // End of namespace Genetic
void OBDuplicate(Genetic::RandomProvider_ptr);
void OBRelease(Genetic::RandomProvider_ptr);
void OBMarshal(Genetic::RandomProvider_ptr, OB::OutputStreamImpl*);
void OBUnmarshal(Genetic::RandomProvider_ptr&, OB::InputStreamImpl*);
namespace Genetic
{
typedef OB::ObjVar< RandomProvider > RandomProvider_var;
typedef OB::ObjOut< RandomProvider > RandomProvider_out;
} // End of namespace Genetic
namespace OBStubImpl_Genetic
{
class RandomProvider;
typedef RandomProvider* RandomProvider_ptr;
} // End of namespace OBStubImpl_Genetic
void OBDuplicate(OBStubImpl_Genetic::RandomProvider_ptr);
void OBRelease(OBStubImpl_Genetic::RandomProvider_ptr);
namespace OBStubImpl_Genetic
{
typedef OB::ObjVar< RandomProvider > RandomProvider_var;
} // End of namespace OBStubImpl_Genetic
//
// IDL:Genetic:1.0
//
namespace Genetic
{
//
// IDL:Genetic/RandomSeq:1.0
//
class OBUnique_RandomSeq { };
typedef OB::FixSeq< ::CORBA::Long, OBUnique_RandomSeq > RandomSeq;
typedef OB::SeqVar< OB::FixSeq< ::CORBA::Long, OBUnique_RandomSeq > > RandomSeq_var;
typedef OB::SeqOut< OB::FixSeq< ::CORBA::Long, OBUnique_RandomSeq > > RandomSeq_out;
extern OB::TypeCodeConst _tc_RandomSeq;
struct OBInfo_RandomSeq : public OB::ConstructedInfo
{
OBInfo_RandomSeq() { }
virtual void free(void* p) const
{
delete (RandomSeq*)p;
}
virtual void* dup(const void* p) const
{
return new RandomSeq(*(const RandomSeq*)p);
}
virtual void marshal(const void*, OB::OutputStreamImpl*) const;
virtual void unmarshal(void*, OB::InputStreamImpl*) const;
};
//
// IDL:Genetic/RandomProvider:1.0
//
class RandomProvider : virtual public ::CORBA::Object
{
RandomProvider(const RandomProvider&);
void operator=(const RandomProvider&);
protected:
static const char* ids_[];
public:
RandomProvider() { }
virtual ~RandomProvider() { }
typedef RandomProvider_ptr _ptr_type;
typedef RandomProvider_var _var_type;
static inline RandomProvider_ptr
_duplicate(RandomProvider_ptr p)
{
if(p)
p -> _add_ref();
return p;
}
static inline RandomProvider_ptr
_nil()
{
return 0;
}
static RandomProvider_ptr _narrow(::CORBA::Object_ptr);
static RandomProvider_ptr _unchecked_narrow(::CORBA::Object_ptr);
static RandomProvider_ptr _narrow(::CORBA::AbstractBase_ptr);
static RandomProvider_ptr _unchecked_narrow(::CORBA::AbstractBase_ptr);
static const char** _OB_staticIds();
//
// IDL:Genetic/RandomProvider/getRandomLong:1.0
//
virtual RandomSeq* getRandomLong(::CORBA::Long num) = 0;
};
} // End of namespace Genetic
//
// IDL:Genetic:1.0
//
namespace OBProxy_Genetic
{
//
// IDL:Genetic/RandomProvider:1.0
//
class RandomProvider : virtual public ::Genetic::RandomProvider,
virtual public OBCORBA::Object
{
RandomProvider(const RandomProvider&);
void operator=(const RandomProvider&);
protected:
virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
public:
RandomProvider() { }
virtual ~RandomProvider() { }
virtual const char** _OB_ids() const;
//
// IDL:Genetic/RandomProvider/getRandomLong:1.0
//
::Genetic::RandomSeq* getRandomLong(::CORBA::Long num);
};
} // End of namespace OBProxy_Genetic
//
// IDL:Genetic:1.0
//
namespace OBStubImpl_Genetic
{
//
// IDL:Genetic/RandomProvider:1.0
//
class RandomProvider : virtual public OB::StubImplBase
{
RandomProvider(const RandomProvider&);
void operator=(const RandomProvider&);
protected:
RandomProvider() { }
public:
static inline RandomProvider_ptr
_duplicate(RandomProvider_ptr p)
{
if(p)
p -> _OB_incRef();
return p;
}
static inline RandomProvider_ptr
_nil()
{
return 0;
}
//
// IDL:Genetic/RandomProvider/getRandomLong:1.0
//
virtual ::Genetic::RandomSeq* getRandomLong(::CORBA::Long num) = 0;
};
} // End of namespace OBStubImpl_Genetic
//
// IDL:Genetic:1.0
//
namespace OBMarshalStubImpl_Genetic
{
//
// IDL:Genetic/RandomProvider:1.0
//
class RandomProvider :
virtual public OBStubImpl_Genetic::RandomProvider,
virtual public OB::MarshalStubImpl
{
RandomProvider(const RandomProvider&);
void operator=(const RandomProvider&);
protected:
RandomProvider() { }
friend class OBProxy_Genetic::RandomProvider;
public:
//
// IDL:Genetic/RandomProvider/getRandomLong:1.0
//
virtual ::Genetic::RandomSeq* getRandomLong(::CORBA::Long num);
};
} // End of namespace OBMarshalStubImpl_Genetic
//
// IDL:Genetic:1.0
//
namespace OBV_Genetic
{
} // End of namespace OBV_Genetic
//
// IDL:Genetic/RandomSeq:1.0
//
void operator<<=(::CORBA::Any&, Genetic::RandomSeq*);
void operator<<=(::CORBA::Any&, const Genetic::RandomSeq&);
CORBA::Boolean operator>>=(const ::CORBA::Any&, const Genetic::RandomSeq*&);
inline void
operator<<=(::CORBA::Any_var& any, Genetic::RandomSeq* val)
{
any.inout() <<= val;
}
inline void
operator<<=(::CORBA::Any_var& any, const Genetic::RandomSeq& val)
{
any.inout() <<= val;
}
inline ::CORBA::Boolean
operator>>=(const ::CORBA::Any_var& any, const Genetic::RandomSeq*& val)
{
return any.in() >>= val;
}
//
// IDL:Genetic/RandomProvider:1.0
//
namespace CORBA
{
inline void
release(::Genetic::RandomProvider_ptr p)
{
if(p)
p -> _remove_ref();
}
inline Boolean
is_nil(::Genetic::RandomProvider_ptr p)
{
return p == 0;
}
inline void
release(OBStubImpl_Genetic::RandomProvider_ptr p)
{
if(p)
p -> _OB_decRef();
}
inline Boolean
is_nil(OBStubImpl_Genetic::RandomProvider_ptr p)
{
return p == 0;
}
} // End of namespace CORBA
void operator<<=(::CORBA::Any&, Genetic::RandomProvider_ptr*);
void operator<<=(::CORBA::Any&, Genetic::RandomProvider_ptr);
CORBA::Boolean operator>>=(const ::CORBA::Any&, Genetic::RandomProvider_ptr&);
inline void
operator<<=(::CORBA::Any_var& any, Genetic::RandomProvider_ptr* val)
{
any.inout() <<= val;
}
inline void
operator<<=(::CORBA::Any_var& any, Genetic::RandomProvider_ptr val)
{
any.inout() <<= val;
}
inline CORBA::Boolean
operator>>=(const ::CORBA::Any_var& any, Genetic::RandomProvider_ptr& val)
{
return any.in() >>= val;
}
#endif