Line |
Branch |
Exec |
Source |
1 |
|
|
// This file is generated by omniidl (C++ backend)- omniORB_4_3. Do not edit. |
2 |
|
|
#ifndef pp_manipulation_corba_idl__gcommon_hh__ |
3 |
|
|
#define pp_manipulation_corba_idl__gcommon_hh__ |
4 |
|
|
|
5 |
|
|
#ifndef __CORBA_H_EXTERNAL_GUARD__ |
6 |
|
|
#include <omniORB4/CORBA.h> |
7 |
|
|
#endif |
8 |
|
|
|
9 |
|
|
#ifndef USE_stub_in_nt_dll |
10 |
|
|
# define USE_stub_in_nt_dll_NOT_DEFINED_gcommon |
11 |
|
|
#endif |
12 |
|
|
#ifndef USE_core_stub_in_nt_dll |
13 |
|
|
# define USE_core_stub_in_nt_dll_NOT_DEFINED_gcommon |
14 |
|
|
#endif |
15 |
|
|
#ifndef USE_dyn_stub_in_nt_dll |
16 |
|
|
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_gcommon |
17 |
|
|
#endif |
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
#ifdef USE_stub_in_nt_dll |
25 |
|
|
# ifndef USE_core_stub_in_nt_dll |
26 |
|
|
# define USE_core_stub_in_nt_dll |
27 |
|
|
# endif |
28 |
|
|
# ifndef USE_dyn_stub_in_nt_dll |
29 |
|
|
# define USE_dyn_stub_in_nt_dll |
30 |
|
|
# endif |
31 |
|
|
#endif |
32 |
|
|
|
33 |
|
|
#ifdef _core_attr |
34 |
|
|
# error "A local CPP macro _core_attr has already been defined." |
35 |
|
|
#else |
36 |
|
|
# ifdef USE_core_stub_in_nt_dll |
37 |
|
|
# define _core_attr _OMNIORB_NTDLL_IMPORT |
38 |
|
|
# else |
39 |
|
|
# define _core_attr |
40 |
|
|
# endif |
41 |
|
|
#endif |
42 |
|
|
|
43 |
|
|
#ifdef _dyn_attr |
44 |
|
|
# error "A local CPP macro _dyn_attr has already been defined." |
45 |
|
|
#else |
46 |
|
|
# ifdef USE_dyn_stub_in_nt_dll |
47 |
|
|
# define _dyn_attr _OMNIORB_NTDLL_IMPORT |
48 |
|
|
# else |
49 |
|
|
# define _dyn_attr |
50 |
|
|
# endif |
51 |
|
|
#endif |
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
_CORBA_MODULE hpp |
56 |
|
|
|
57 |
|
|
_CORBA_MODULE_BEG |
58 |
|
|
|
59 |
|
|
typedef ::CORBA::Long ID; |
60 |
|
|
typedef ::CORBA::Long_out ID_out; |
61 |
|
|
|
62 |
|
|
class IDseq_var; |
63 |
|
|
|
64 |
|
|
class IDseq : public _CORBA_Unbounded_Sequence_w_FixSizeElement< ID, 4, 4 > { |
65 |
|
|
public: |
66 |
|
|
typedef IDseq_var _var_type; |
67 |
|
✗ |
inline IDseq() {} |
68 |
|
|
inline IDseq(const IDseq& _s) |
69 |
|
|
: _CORBA_Unbounded_Sequence_w_FixSizeElement< ID, 4, 4 > (_s) {} |
70 |
|
|
|
71 |
|
|
inline IDseq(_CORBA_ULong _max) |
72 |
|
|
: _CORBA_Unbounded_Sequence_w_FixSizeElement< ID, 4, 4 > (_max) {} |
73 |
|
|
inline IDseq(_CORBA_ULong _max, _CORBA_ULong _len, ID* _val, _CORBA_Boolean _rel=0) |
74 |
|
|
: _CORBA_Unbounded_Sequence_w_FixSizeElement< ID, 4, 4 > (_max, _len, _val, _rel) {} |
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
✗ |
inline IDseq& operator = (const IDseq& _s) { |
79 |
|
✗ |
_CORBA_Unbounded_Sequence_w_FixSizeElement< ID, 4, 4 > ::operator=(_s); |
80 |
|
✗ |
return *this; |
81 |
|
|
} |
82 |
|
|
}; |
83 |
|
|
|
84 |
|
|
class IDseq_out; |
85 |
|
|
|
86 |
|
|
class IDseq_var { |
87 |
|
|
public: |
88 |
|
✗ |
inline IDseq_var() : _pd_seq(0) {} |
89 |
|
|
inline IDseq_var(IDseq* _s) : _pd_seq(_s) {} |
90 |
|
|
inline IDseq_var(const IDseq_var& _s) { |
91 |
|
|
if (_s._pd_seq) _pd_seq = new IDseq(*_s._pd_seq); |
92 |
|
|
else _pd_seq = 0; |
93 |
|
|
} |
94 |
|
✗ |
inline ~IDseq_var() { if (_pd_seq) delete _pd_seq; } |
95 |
|
|
|
96 |
|
✗ |
inline IDseq_var& operator = (IDseq* _s) { |
97 |
|
✗ |
if (_pd_seq) delete _pd_seq; |
98 |
|
✗ |
_pd_seq = _s; |
99 |
|
✗ |
return *this; |
100 |
|
|
} |
101 |
|
|
inline IDseq_var& operator = (const IDseq_var& _s) { |
102 |
|
|
if (&_s != this) { |
103 |
|
|
if (_s._pd_seq) { |
104 |
|
|
if (!_pd_seq) _pd_seq = new IDseq; |
105 |
|
|
*_pd_seq = *_s._pd_seq; |
106 |
|
|
} |
107 |
|
|
else if (_pd_seq) { |
108 |
|
|
delete _pd_seq; |
109 |
|
|
_pd_seq = 0; |
110 |
|
|
} |
111 |
|
|
} |
112 |
|
|
return *this; |
113 |
|
|
} |
114 |
|
|
inline ID& operator [] (_CORBA_ULong _s) { |
115 |
|
|
return (*_pd_seq)[_s]; |
116 |
|
|
} |
117 |
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
|
|
inline IDseq* operator -> () { return _pd_seq; } |
121 |
|
|
inline const IDseq* operator -> () const { return _pd_seq; } |
122 |
|
|
#if defined(__GNUG__) |
123 |
|
✗ |
inline operator IDseq& () const { return *_pd_seq; } |
124 |
|
|
#else |
125 |
|
|
inline operator const IDseq& () const { return *_pd_seq; } |
126 |
|
|
inline operator IDseq& () { return *_pd_seq; } |
127 |
|
|
#endif |
128 |
|
|
|
129 |
|
✗ |
inline const IDseq& in() const { return *_pd_seq; } |
130 |
|
|
inline IDseq& inout() { return *_pd_seq; } |
131 |
|
|
inline IDseq*& out() { |
132 |
|
|
if (_pd_seq) { delete _pd_seq; _pd_seq = 0; } |
133 |
|
|
return _pd_seq; |
134 |
|
|
} |
135 |
|
|
inline IDseq* _retn() { IDseq* tmp = _pd_seq; _pd_seq = 0; return tmp; } |
136 |
|
|
|
137 |
|
|
friend class IDseq_out; |
138 |
|
|
|
139 |
|
|
private: |
140 |
|
|
IDseq* _pd_seq; |
141 |
|
|
}; |
142 |
|
|
|
143 |
|
|
class IDseq_out { |
144 |
|
|
public: |
145 |
|
|
inline IDseq_out(IDseq*& _s) : _data(_s) { _data = 0; } |
146 |
|
|
inline IDseq_out(IDseq_var& _s) |
147 |
|
|
: _data(_s._pd_seq) { _s = (IDseq*) 0; } |
148 |
|
|
inline IDseq_out(const IDseq_out& _s) : _data(_s._data) {} |
149 |
|
|
inline IDseq_out& operator = (const IDseq_out& _s) { |
150 |
|
|
_data = _s._data; |
151 |
|
|
return *this; |
152 |
|
|
} |
153 |
|
|
inline IDseq_out& operator = (IDseq* _s) { |
154 |
|
|
_data = _s; |
155 |
|
|
return *this; |
156 |
|
|
} |
157 |
|
|
inline operator IDseq*&() { return _data; } |
158 |
|
|
inline IDseq*& ptr() { return _data; } |
159 |
|
|
inline IDseq* operator->() { return _data; } |
160 |
|
|
|
161 |
|
|
inline ID& operator [] (_CORBA_ULong _i) { |
162 |
|
|
return (*_data)[_i]; |
163 |
|
|
} |
164 |
|
|
|
165 |
|
|
|
166 |
|
|
|
167 |
|
|
IDseq*& _data; |
168 |
|
|
|
169 |
|
|
private: |
170 |
|
|
IDseq_out(); |
171 |
|
|
IDseq_out& operator=(const IDseq_var&); |
172 |
|
|
}; |
173 |
|
|
|
174 |
|
|
struct ConfigProjStat { |
175 |
|
|
typedef _CORBA_ConstrType_Fix_Var<ConfigProjStat> _var_type; |
176 |
|
|
|
177 |
|
|
|
178 |
|
|
::CORBA::Long success; |
179 |
|
|
|
180 |
|
|
::CORBA::Long error; |
181 |
|
|
|
182 |
|
|
::CORBA::Long nbObs; |
183 |
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
|
|
void operator>>= (cdrStream &) const; |
187 |
|
|
void operator<<= (cdrStream &); |
188 |
|
|
}; |
189 |
|
|
|
190 |
|
|
typedef ConfigProjStat::_var_type ConfigProjStat_var; |
191 |
|
|
|
192 |
|
|
typedef ConfigProjStat& ConfigProjStat_out; |
193 |
|
|
|
194 |
|
|
struct GraphComp { |
195 |
|
|
typedef _CORBA_ConstrType_Variable_Var<GraphComp> _var_type; |
196 |
|
|
|
197 |
|
|
|
198 |
|
|
::CORBA::String_member name; |
199 |
|
|
|
200 |
|
|
::CORBA::Long id; |
201 |
|
|
|
202 |
|
|
::CORBA::Long start; |
203 |
|
|
|
204 |
|
|
::CORBA::Long end; |
205 |
|
|
|
206 |
|
|
IDseq waypoints; |
207 |
|
|
|
208 |
|
|
|
209 |
|
|
|
210 |
|
|
void operator>>= (cdrStream &) const; |
211 |
|
|
void operator<<= (cdrStream &); |
212 |
|
|
}; |
213 |
|
|
|
214 |
|
|
typedef GraphComp::_var_type GraphComp_var; |
215 |
|
|
|
216 |
|
|
typedef _CORBA_ConstrType_Variable_OUT_arg< GraphComp,GraphComp_var > GraphComp_out; |
217 |
|
|
|
218 |
|
|
class GraphComps_t_var; |
219 |
|
|
|
220 |
|
|
class GraphComps_t : public _CORBA_Unbounded_Sequence< GraphComp > { |
221 |
|
|
public: |
222 |
|
|
typedef GraphComps_t_var _var_type; |
223 |
|
✗ |
inline GraphComps_t() {} |
224 |
|
|
inline GraphComps_t(const GraphComps_t& _s) |
225 |
|
|
: _CORBA_Unbounded_Sequence< GraphComp > (_s) {} |
226 |
|
|
|
227 |
|
|
inline GraphComps_t(_CORBA_ULong _max) |
228 |
|
|
: _CORBA_Unbounded_Sequence< GraphComp > (_max) {} |
229 |
|
|
inline GraphComps_t(_CORBA_ULong _max, _CORBA_ULong _len, GraphComp* _val, _CORBA_Boolean _rel=0) |
230 |
|
|
: _CORBA_Unbounded_Sequence< GraphComp > (_max, _len, _val, _rel) {} |
231 |
|
|
|
232 |
|
|
|
233 |
|
|
|
234 |
|
✗ |
inline GraphComps_t& operator = (const GraphComps_t& _s) { |
235 |
|
✗ |
_CORBA_Unbounded_Sequence< GraphComp > ::operator=(_s); |
236 |
|
✗ |
return *this; |
237 |
|
|
} |
238 |
|
|
}; |
239 |
|
|
|
240 |
|
|
class GraphComps_t_out; |
241 |
|
|
|
242 |
|
|
class GraphComps_t_var { |
243 |
|
|
public: |
244 |
|
|
inline GraphComps_t_var() : _pd_seq(0) {} |
245 |
|
|
inline GraphComps_t_var(GraphComps_t* _s) : _pd_seq(_s) {} |
246 |
|
|
inline GraphComps_t_var(const GraphComps_t_var& _s) { |
247 |
|
|
if (_s._pd_seq) _pd_seq = new GraphComps_t(*_s._pd_seq); |
248 |
|
|
else _pd_seq = 0; |
249 |
|
|
} |
250 |
|
|
inline ~GraphComps_t_var() { if (_pd_seq) delete _pd_seq; } |
251 |
|
|
|
252 |
|
|
inline GraphComps_t_var& operator = (GraphComps_t* _s) { |
253 |
|
|
if (_pd_seq) delete _pd_seq; |
254 |
|
|
_pd_seq = _s; |
255 |
|
|
return *this; |
256 |
|
|
} |
257 |
|
|
inline GraphComps_t_var& operator = (const GraphComps_t_var& _s) { |
258 |
|
|
if (&_s != this) { |
259 |
|
|
if (_s._pd_seq) { |
260 |
|
|
if (!_pd_seq) _pd_seq = new GraphComps_t; |
261 |
|
|
*_pd_seq = *_s._pd_seq; |
262 |
|
|
} |
263 |
|
|
else if (_pd_seq) { |
264 |
|
|
delete _pd_seq; |
265 |
|
|
_pd_seq = 0; |
266 |
|
|
} |
267 |
|
|
} |
268 |
|
|
return *this; |
269 |
|
|
} |
270 |
|
|
inline GraphComp& operator [] (_CORBA_ULong _s) { |
271 |
|
|
return (*_pd_seq)[_s]; |
272 |
|
|
} |
273 |
|
|
|
274 |
|
|
|
275 |
|
|
|
276 |
|
|
inline GraphComps_t* operator -> () { return _pd_seq; } |
277 |
|
|
inline const GraphComps_t* operator -> () const { return _pd_seq; } |
278 |
|
|
#if defined(__GNUG__) |
279 |
|
|
inline operator GraphComps_t& () const { return *_pd_seq; } |
280 |
|
|
#else |
281 |
|
|
inline operator const GraphComps_t& () const { return *_pd_seq; } |
282 |
|
|
inline operator GraphComps_t& () { return *_pd_seq; } |
283 |
|
|
#endif |
284 |
|
|
|
285 |
|
|
inline const GraphComps_t& in() const { return *_pd_seq; } |
286 |
|
|
inline GraphComps_t& inout() { return *_pd_seq; } |
287 |
|
|
inline GraphComps_t*& out() { |
288 |
|
|
if (_pd_seq) { delete _pd_seq; _pd_seq = 0; } |
289 |
|
|
return _pd_seq; |
290 |
|
|
} |
291 |
|
|
inline GraphComps_t* _retn() { GraphComps_t* tmp = _pd_seq; _pd_seq = 0; return tmp; } |
292 |
|
|
|
293 |
|
|
friend class GraphComps_t_out; |
294 |
|
|
|
295 |
|
|
private: |
296 |
|
|
GraphComps_t* _pd_seq; |
297 |
|
|
}; |
298 |
|
|
|
299 |
|
|
class GraphComps_t_out { |
300 |
|
|
public: |
301 |
|
|
inline GraphComps_t_out(GraphComps_t*& _s) : _data(_s) { _data = 0; } |
302 |
|
|
inline GraphComps_t_out(GraphComps_t_var& _s) |
303 |
|
|
: _data(_s._pd_seq) { _s = (GraphComps_t*) 0; } |
304 |
|
|
inline GraphComps_t_out(const GraphComps_t_out& _s) : _data(_s._data) {} |
305 |
|
|
inline GraphComps_t_out& operator = (const GraphComps_t_out& _s) { |
306 |
|
|
_data = _s._data; |
307 |
|
|
return *this; |
308 |
|
|
} |
309 |
|
|
inline GraphComps_t_out& operator = (GraphComps_t* _s) { |
310 |
|
|
_data = _s; |
311 |
|
|
return *this; |
312 |
|
|
} |
313 |
|
|
inline operator GraphComps_t*&() { return _data; } |
314 |
|
|
inline GraphComps_t*& ptr() { return _data; } |
315 |
|
|
inline GraphComps_t* operator->() { return _data; } |
316 |
|
|
|
317 |
|
|
inline GraphComp& operator [] (_CORBA_ULong _i) { |
318 |
|
|
return (*_data)[_i]; |
319 |
|
|
} |
320 |
|
|
|
321 |
|
|
|
322 |
|
|
|
323 |
|
|
GraphComps_t*& _data; |
324 |
|
|
|
325 |
|
|
private: |
326 |
|
|
GraphComps_t_out(); |
327 |
|
|
GraphComps_t_out& operator=(const GraphComps_t_var&); |
328 |
|
|
}; |
329 |
|
|
|
330 |
|
|
struct GraphElements { |
331 |
|
|
typedef _CORBA_ConstrType_Variable_Var<GraphElements> _var_type; |
332 |
|
|
|
333 |
|
|
|
334 |
|
|
GraphComps_t nodes; |
335 |
|
|
|
336 |
|
|
GraphComps_t edges; |
337 |
|
|
|
338 |
|
|
|
339 |
|
|
|
340 |
|
|
void operator>>= (cdrStream &) const; |
341 |
|
|
void operator<<= (cdrStream &); |
342 |
|
|
}; |
343 |
|
|
|
344 |
|
|
typedef GraphElements::_var_type GraphElements_var; |
345 |
|
|
|
346 |
|
|
typedef _CORBA_ConstrType_Variable_OUT_arg< GraphElements,GraphElements_var > GraphElements_out; |
347 |
|
|
|
348 |
|
|
_CORBA_MODULE_END |
349 |
|
|
|
350 |
|
|
|
351 |
|
|
|
352 |
|
|
_CORBA_MODULE POA_hpp |
353 |
|
|
_CORBA_MODULE_BEG |
354 |
|
|
|
355 |
|
|
_CORBA_MODULE_END |
356 |
|
|
|
357 |
|
|
|
358 |
|
|
|
359 |
|
|
_CORBA_MODULE OBV_hpp |
360 |
|
|
_CORBA_MODULE_BEG |
361 |
|
|
|
362 |
|
|
_CORBA_MODULE_END |
363 |
|
|
|
364 |
|
|
|
365 |
|
|
|
366 |
|
|
|
367 |
|
|
|
368 |
|
|
#undef _core_attr |
369 |
|
|
#undef _dyn_attr |
370 |
|
|
|
371 |
|
|
|
372 |
|
|
|
373 |
|
|
|
374 |
|
|
|
375 |
|
|
#ifdef USE_stub_in_nt_dll_NOT_DEFINED_gcommon |
376 |
|
|
# undef USE_stub_in_nt_dll |
377 |
|
|
# undef USE_stub_in_nt_dll_NOT_DEFINED_gcommon |
378 |
|
|
#endif |
379 |
|
|
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_gcommon |
380 |
|
|
# undef USE_core_stub_in_nt_dll |
381 |
|
|
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_gcommon |
382 |
|
|
#endif |
383 |
|
|
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_gcommon |
384 |
|
|
# undef USE_dyn_stub_in_nt_dll |
385 |
|
|
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_gcommon |
386 |
|
|
#endif |
387 |
|
|
|
388 |
|
|
#endif // __gcommon_hh__ |
389 |
|
|
|
390 |
|
|
|