GCC Code Coverage Report


Directory: ./
File: src/hpp/core_idl/pathsSK.cc
Date: 2024-09-11 11:37:19
Exec Total Coverage
Lines: 108 792 13.6%
Branches: 57 692 8.2%

Line Branch Exec Source
1 // This file is generated by omniidl (C++ backend) - omniORB_4_3. Do not edit.
2
3 #include "paths-idl.hh"
4 #include <omniORB4/IOP_S.h>
5 #include <omniORB4/IOP_C.h>
6 #include <omniORB4/callDescriptor.h>
7 #include <omniORB4/callHandle.h>
8 #include <omniORB4/objTracker.h>
9
10
11 OMNI_USING_NAMESPACE(omni)
12
13 OMNI_MAYBE_UNUSED static const char* _0RL_library_version = omniORB_4_3;
14
15
16
17 11 hpp::core_idl::Path_ptr hpp::core_idl::Path_Helper::_nil() {
18 11 return ::hpp::core_idl::Path::_nil();
19 }
20
21 ::CORBA::Boolean hpp::core_idl::Path_Helper::is_nil(::hpp::core_idl::Path_ptr p) {
22 return ::CORBA::is_nil(p);
23
24 }
25
26 20 void hpp::core_idl::Path_Helper::release(::hpp::core_idl::Path_ptr p) {
27
1/2
✓ Branch 0 taken 20 times.
✗ Branch 1 not taken.
20 ::CORBA::release(p);
28 20 }
29
30 void hpp::core_idl::Path_Helper::marshalObjRef(::hpp::core_idl::Path_ptr obj, cdrStream& s) {
31 ::hpp::core_idl::Path::_marshalObjRef(obj, s);
32 }
33
34 hpp::core_idl::Path_ptr hpp::core_idl::Path_Helper::unmarshalObjRef(cdrStream& s) {
35 return ::hpp::core_idl::Path::_unmarshalObjRef(s);
36 }
37
38 6 void hpp::core_idl::Path_Helper::duplicate(::hpp::core_idl::Path_ptr obj) {
39
6/8
✓ Branch 0 taken 6 times.
✗ Branch 1 not taken.
✓ Branch 3 taken 4 times.
✓ Branch 4 taken 2 times.
✓ Branch 5 taken 4 times.
✓ Branch 6 taken 2 times.
✓ Branch 7 taken 4 times.
✗ Branch 8 not taken.
6 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
40 6 }
41
42 hpp::core_idl::Path_ptr
43 hpp::core_idl::Path::_duplicate(::hpp::core_idl::Path_ptr obj)
44 {
45 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
46 return obj;
47 }
48
49 hpp::core_idl::Path_ptr
50 hpp::core_idl::Path::_narrow(::CORBA::Object_ptr obj)
51 {
52 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
53 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId);
54 return e ? e : _nil();
55 }
56
57
58 hpp::core_idl::Path_ptr
59 hpp::core_idl::Path::_unchecked_narrow(::CORBA::Object_ptr obj)
60 {
61 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
62 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId);
63 return e ? e : _nil();
64 }
65
66 hpp::core_idl::Path_ptr
67 11 hpp::core_idl::Path::_nil()
68 {
69 #ifdef OMNI_UNLOADABLE_STUBS
70 static _objref_Path _the_nil_obj;
71 return &_the_nil_obj;
72 #else
73 static _objref_Path* _the_nil_ptr = 0;
74
2/2
✓ Branch 0 taken 2 times.
✓ Branch 1 taken 9 times.
11 if (!_the_nil_ptr) {
75 2 omni::nilRefLock().lock();
76
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (!_the_nil_ptr) {
77
1/2
✓ Branch 2 taken 2 times.
✗ Branch 3 not taken.
2 _the_nil_ptr = new _objref_Path;
78
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 registerNilCorbaObject(_the_nil_ptr);
79 }
80 2 omni::nilRefLock().unlock();
81 }
82 11 return _the_nil_ptr;
83 #endif
84 }
85
86 const char* hpp::core_idl::Path::_PD_repoId = "IDL:hpp/core_idl/Path:1.0";
87
88
89 6 hpp::core_idl::_objref_Path::~_objref_Path() {
90
91 }
92
93
94 6 hpp::core_idl::_objref_Path::_objref_Path(omniIOR* ior, omniIdentity* id) :
95
0/2
✗ Branch 2 not taken.
✗ Branch 3 not taken.
6 omniObjRef(::hpp::core_idl::Path::_PD_repoId, ior, id, 1)
96
97
98 {
99 6 _PR_setobj(this);
100 }
101
102 void*
103 hpp::core_idl::_objref_Path::_ptrToObjRef(const char* id)
104 {
105 if (id == ::hpp::core_idl::Path::_PD_repoId)
106 return (::hpp::core_idl::Path_ptr) this;
107
108 if (id == ::CORBA::Object::_PD_repoId)
109 return (::CORBA::Object_ptr) this;
110
111 if (omni::strMatch(id, ::hpp::core_idl::Path::_PD_repoId))
112 return (::hpp::core_idl::Path_ptr) this;
113
114 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
115 return (::CORBA::Object_ptr) this;
116
117 return 0;
118 }
119
120
121 //
122 // Code for hpp::core_idl::Path::deleteThis
123
124 // Proxy call descriptor class. Mangled signature:
125 // void_e_chpp_mError
126 class _0RL_cd_ae4c3c2f7e6dc235_00000000
127 : public omniCallDescriptor
128 {
129 public:
130 inline _0RL_cd_ae4c3c2f7e6dc235_00000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
131 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
132 {
133
134 }
135
136
137
138 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
139 static const char* const _user_exns[];
140
141
142 };
143
144 const char* const _0RL_cd_ae4c3c2f7e6dc235_00000000::_user_exns[] = {
145 hpp::Error::_PD_repoId
146 };
147
148 void _0RL_cd_ae4c3c2f7e6dc235_00000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
149 {
150 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
151 hpp::Error _ex;
152 _ex <<= s;
153 if (iop_client) iop_client->RequestCompleted();
154 throw _ex;
155 }
156
157
158 else {
159 if (iop_client) iop_client->RequestCompleted(1);
160 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
161 (::CORBA::CompletionStatus)s.completion());
162 }
163 }
164
165 // Local call call-back function.
166 static void
167 _0RL_lcfn_ae4c3c2f7e6dc235_10000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt)
168 {
169
170 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
171 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
172 impl->deleteThis();
173 #else
174 if (!cd->is_upcall())
175 impl->deleteThis();
176 else {
177 try {
178 impl->deleteThis();
179 }
180 catch(hpp::Error& ex) {
181 throw omniORB::StubUserException(ex._NP_duplicate());
182 }
183
184
185 }
186 #endif
187
188
189 }
190
191 void hpp::core_idl::_objref_Path::deleteThis()
192 {
193 _0RL_cd_ae4c3c2f7e6dc235_00000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_10000000, "deleteThis", 11);
194
195
196 _invoke(_call_desc);
197
198
199
200 }
201
202
203 //
204 // Code for hpp::core_idl::Path::deleteIfExpired
205
206 // Proxy call descriptor class. Mangled signature:
207 // _cboolean_e_chpp_mError
208 class _0RL_cd_ae4c3c2f7e6dc235_20000000
209 : public omniCallDescriptor
210 {
211 public:
212 inline _0RL_cd_ae4c3c2f7e6dc235_20000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
213 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
214 {
215
216 }
217
218
219 void unmarshalReturnedValues(cdrStream&);
220 void marshalReturnedValues(cdrStream&);
221
222 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
223 static const char* const _user_exns[];
224
225 ::CORBA::Boolean result;
226 };
227
228 void _0RL_cd_ae4c3c2f7e6dc235_20000000::marshalReturnedValues(cdrStream& _n)
229 {
230 _n.marshalBoolean(result);
231
232 }
233
234 void _0RL_cd_ae4c3c2f7e6dc235_20000000::unmarshalReturnedValues(cdrStream& _n)
235 {
236 result = _n.unmarshalBoolean();
237
238 }
239
240 const char* const _0RL_cd_ae4c3c2f7e6dc235_20000000::_user_exns[] = {
241 hpp::Error::_PD_repoId
242 };
243
244 void _0RL_cd_ae4c3c2f7e6dc235_20000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
245 {
246 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
247 hpp::Error _ex;
248 _ex <<= s;
249 if (iop_client) iop_client->RequestCompleted();
250 throw _ex;
251 }
252
253
254 else {
255 if (iop_client) iop_client->RequestCompleted(1);
256 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
257 (::CORBA::CompletionStatus)s.completion());
258 }
259 }
260
261 // Local call call-back function.
262 static void
263 _0RL_lcfn_ae4c3c2f7e6dc235_30000000(omniCallDescriptor* cd, omniServant* svnt)
264 {
265 _0RL_cd_ae4c3c2f7e6dc235_20000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_20000000*)cd;
266 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
267 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
268 tcd->result = impl->deleteIfExpired();
269 #else
270 if (!cd->is_upcall())
271 tcd->result = impl->deleteIfExpired();
272 else {
273 try {
274 tcd->result = impl->deleteIfExpired();
275 }
276 catch(hpp::Error& ex) {
277 throw omniORB::StubUserException(ex._NP_duplicate());
278 }
279
280
281 }
282 #endif
283
284
285 }
286
287 ::CORBA::Boolean hpp::core_idl::_objref_Path::deleteIfExpired()
288 {
289 _0RL_cd_ae4c3c2f7e6dc235_20000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_30000000, "deleteIfExpired", 16);
290
291
292 _invoke(_call_desc);
293 return _call_desc.result;
294
295
296 }
297
298
299 //
300 // Code for hpp::core_idl::Path::persistantStorage
301
302 // Proxy call descriptor class. Mangled signature:
303 // void_i_cboolean_e_chpp_mError
304 class _0RL_cd_ae4c3c2f7e6dc235_40000000
305 : public omniCallDescriptor
306 {
307 public:
308 inline _0RL_cd_ae4c3c2f7e6dc235_40000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
309 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
310 {
311
312 }
313
314 void marshalArguments(cdrStream&);
315 void unmarshalArguments(cdrStream&);
316
317
318 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
319 static const char* const _user_exns[];
320
321 ::CORBA::Boolean arg_0;
322 };
323
324 void _0RL_cd_ae4c3c2f7e6dc235_40000000::marshalArguments(cdrStream& _n)
325 {
326 _n.marshalBoolean(arg_0);
327
328 }
329
330 void _0RL_cd_ae4c3c2f7e6dc235_40000000::unmarshalArguments(cdrStream& _n)
331 {
332 arg_0 = _n.unmarshalBoolean();
333
334 }
335
336 const char* const _0RL_cd_ae4c3c2f7e6dc235_40000000::_user_exns[] = {
337 hpp::Error::_PD_repoId
338 };
339
340 void _0RL_cd_ae4c3c2f7e6dc235_40000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
341 {
342 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
343 hpp::Error _ex;
344 _ex <<= s;
345 if (iop_client) iop_client->RequestCompleted();
346 throw _ex;
347 }
348
349
350 else {
351 if (iop_client) iop_client->RequestCompleted(1);
352 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
353 (::CORBA::CompletionStatus)s.completion());
354 }
355 }
356
357 // Local call call-back function.
358 static void
359 _0RL_lcfn_ae4c3c2f7e6dc235_50000000(omniCallDescriptor* cd, omniServant* svnt)
360 {
361 _0RL_cd_ae4c3c2f7e6dc235_40000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_40000000*)cd;
362 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
363 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
364 impl->persistantStorage(tcd->arg_0);
365 #else
366 if (!cd->is_upcall())
367 impl->persistantStorage(tcd->arg_0);
368 else {
369 try {
370 impl->persistantStorage(tcd->arg_0);
371 }
372 catch(hpp::Error& ex) {
373 throw omniORB::StubUserException(ex._NP_duplicate());
374 }
375
376
377 }
378 #endif
379
380
381 }
382
383 void hpp::core_idl::_objref_Path::persistantStorage(::CORBA::Boolean persistant)
384 {
385 _0RL_cd_ae4c3c2f7e6dc235_40000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_50000000, "persistantStorage", 18);
386 _call_desc.arg_0 = persistant;
387
388 _invoke(_call_desc);
389
390
391
392 }
393
394
395 //
396 // Code for hpp::core_idl::Path::outputSize
397
398 // Proxy call descriptor class. Mangled signature:
399 // _clonglong_e_chpp_mError
400 class _0RL_cd_ae4c3c2f7e6dc235_60000000
401 : public omniCallDescriptor
402 {
403 public:
404 inline _0RL_cd_ae4c3c2f7e6dc235_60000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
405 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
406 {
407
408 }
409
410
411 void unmarshalReturnedValues(cdrStream&);
412 void marshalReturnedValues(cdrStream&);
413
414 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
415 static const char* const _user_exns[];
416
417 hpp::size_type result;
418 };
419
420 void _0RL_cd_ae4c3c2f7e6dc235_60000000::marshalReturnedValues(cdrStream& _n)
421 {
422 result >>= _n;
423
424 }
425
426 void _0RL_cd_ae4c3c2f7e6dc235_60000000::unmarshalReturnedValues(cdrStream& _n)
427 {
428 (hpp::size_type&)result <<= _n;
429
430 }
431
432 const char* const _0RL_cd_ae4c3c2f7e6dc235_60000000::_user_exns[] = {
433 hpp::Error::_PD_repoId
434 };
435
436 void _0RL_cd_ae4c3c2f7e6dc235_60000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
437 {
438 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
439 hpp::Error _ex;
440 _ex <<= s;
441 if (iop_client) iop_client->RequestCompleted();
442 throw _ex;
443 }
444
445
446 else {
447 if (iop_client) iop_client->RequestCompleted(1);
448 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
449 (::CORBA::CompletionStatus)s.completion());
450 }
451 }
452
453 // Local call call-back function.
454 static void
455 _0RL_lcfn_ae4c3c2f7e6dc235_70000000(omniCallDescriptor* cd, omniServant* svnt)
456 {
457 _0RL_cd_ae4c3c2f7e6dc235_60000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_60000000*)cd;
458 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
459 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
460 tcd->result = impl->outputSize();
461 #else
462 if (!cd->is_upcall())
463 tcd->result = impl->outputSize();
464 else {
465 try {
466 tcd->result = impl->outputSize();
467 }
468 catch(hpp::Error& ex) {
469 throw omniORB::StubUserException(ex._NP_duplicate());
470 }
471
472
473 }
474 #endif
475
476
477 }
478
479 hpp::size_type hpp::core_idl::_objref_Path::outputSize()
480 {
481 _0RL_cd_ae4c3c2f7e6dc235_60000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_70000000, "outputSize", 11);
482
483
484 _invoke(_call_desc);
485 return _call_desc.result;
486
487
488 }
489
490
491 //
492 // Code for hpp::core_idl::Path::outputDerivativeSize
493
494 // Local call call-back function.
495 static void
496 _0RL_lcfn_ae4c3c2f7e6dc235_80000000(omniCallDescriptor* cd, omniServant* svnt)
497 {
498 _0RL_cd_ae4c3c2f7e6dc235_60000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_60000000*)cd;
499 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
500 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
501 tcd->result = impl->outputDerivativeSize();
502 #else
503 if (!cd->is_upcall())
504 tcd->result = impl->outputDerivativeSize();
505 else {
506 try {
507 tcd->result = impl->outputDerivativeSize();
508 }
509 catch(hpp::Error& ex) {
510 throw omniORB::StubUserException(ex._NP_duplicate());
511 }
512
513
514 }
515 #endif
516
517
518 }
519
520 hpp::size_type hpp::core_idl::_objref_Path::outputDerivativeSize()
521 {
522 _0RL_cd_ae4c3c2f7e6dc235_60000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_80000000, "outputDerivativeSize", 21);
523
524
525 _invoke(_call_desc);
526 return _call_desc.result;
527
528
529 }
530
531
532 //
533 // Code for hpp::core_idl::Path::length
534
535 // Proxy call descriptor class. Mangled signature:
536 // _cdouble_e_chpp_mError
537 class _0RL_cd_ae4c3c2f7e6dc235_90000000
538 : public omniCallDescriptor
539 {
540 public:
541 inline _0RL_cd_ae4c3c2f7e6dc235_90000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
542 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
543 {
544
545 }
546
547
548 void unmarshalReturnedValues(cdrStream&);
549 void marshalReturnedValues(cdrStream&);
550
551 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
552 static const char* const _user_exns[];
553
554 hpp::value_type result;
555 };
556
557 void _0RL_cd_ae4c3c2f7e6dc235_90000000::marshalReturnedValues(cdrStream& _n)
558 {
559 result >>= _n;
560
561 }
562
563 void _0RL_cd_ae4c3c2f7e6dc235_90000000::unmarshalReturnedValues(cdrStream& _n)
564 {
565 (hpp::value_type&)result <<= _n;
566
567 }
568
569 const char* const _0RL_cd_ae4c3c2f7e6dc235_90000000::_user_exns[] = {
570 hpp::Error::_PD_repoId
571 };
572
573 void _0RL_cd_ae4c3c2f7e6dc235_90000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
574 {
575 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
576 hpp::Error _ex;
577 _ex <<= s;
578 if (iop_client) iop_client->RequestCompleted();
579 throw _ex;
580 }
581
582
583 else {
584 if (iop_client) iop_client->RequestCompleted(1);
585 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
586 (::CORBA::CompletionStatus)s.completion());
587 }
588 }
589
590 // Local call call-back function.
591 static void
592 _0RL_lcfn_ae4c3c2f7e6dc235_a0000000(omniCallDescriptor* cd, omniServant* svnt)
593 {
594 _0RL_cd_ae4c3c2f7e6dc235_90000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_90000000*)cd;
595 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
596 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
597 tcd->result = impl->length();
598 #else
599 if (!cd->is_upcall())
600 tcd->result = impl->length();
601 else {
602 try {
603 tcd->result = impl->length();
604 }
605 catch(hpp::Error& ex) {
606 throw omniORB::StubUserException(ex._NP_duplicate());
607 }
608
609
610 }
611 #endif
612
613
614 }
615
616 hpp::value_type hpp::core_idl::_objref_Path::length()
617 {
618 _0RL_cd_ae4c3c2f7e6dc235_90000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_a0000000, "length", 7);
619
620
621 _invoke(_call_desc);
622 return _call_desc.result;
623
624
625 }
626
627
628 //
629 // Code for hpp::core_idl::Path::initial
630
631 // Proxy call descriptor class. Mangled signature:
632 // _chpp_mfloatSeq_e_chpp_mError
633 class _0RL_cd_ae4c3c2f7e6dc235_b0000000
634 : public omniCallDescriptor
635 {
636 public:
637 2 inline _0RL_cd_ae4c3c2f7e6dc235_b0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
638 2 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
639 {
640
641 2 }
642
643
644 void unmarshalReturnedValues(cdrStream&);
645 void marshalReturnedValues(cdrStream&);
646
647 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
648 static const char* const _user_exns[];
649
650 hpp::floatSeq_var result;
651 };
652
653 2 void _0RL_cd_ae4c3c2f7e6dc235_b0000000::marshalReturnedValues(cdrStream& _n)
654 {
655 2 (const hpp::floatSeq&) result >>= _n;
656
657 2 }
658
659 void _0RL_cd_ae4c3c2f7e6dc235_b0000000::unmarshalReturnedValues(cdrStream& _n)
660 {
661 result = new hpp::floatSeq;
662 (hpp::floatSeq&)result <<= _n;
663
664 }
665
666 const char* const _0RL_cd_ae4c3c2f7e6dc235_b0000000::_user_exns[] = {
667 hpp::Error::_PD_repoId
668 };
669
670 void _0RL_cd_ae4c3c2f7e6dc235_b0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
671 {
672 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
673 hpp::Error _ex;
674 _ex <<= s;
675 if (iop_client) iop_client->RequestCompleted();
676 throw _ex;
677 }
678
679
680 else {
681 if (iop_client) iop_client->RequestCompleted(1);
682 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
683 (::CORBA::CompletionStatus)s.completion());
684 }
685 }
686
687 // Local call call-back function.
688 static void
689 1 _0RL_lcfn_ae4c3c2f7e6dc235_c0000000(omniCallDescriptor* cd, omniServant* svnt)
690 {
691 1 _0RL_cd_ae4c3c2f7e6dc235_b0000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_b0000000*)cd;
692 1 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
693 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
694 1 tcd->result = impl->initial();
695 #else
696 if (!cd->is_upcall())
697 tcd->result = impl->initial();
698 else {
699 try {
700 tcd->result = impl->initial();
701 }
702 catch(hpp::Error& ex) {
703 throw omniORB::StubUserException(ex._NP_duplicate());
704 }
705
706
707 }
708 #endif
709
710
711 1 }
712
713 hpp::floatSeq* hpp::core_idl::_objref_Path::initial()
714 {
715 _0RL_cd_ae4c3c2f7e6dc235_b0000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_c0000000, "initial", 8);
716
717
718 _invoke(_call_desc);
719 return _call_desc.result._retn();
720
721
722 }
723
724
725 //
726 // Code for hpp::core_idl::Path::end
727
728 // Local call call-back function.
729 static void
730 1 _0RL_lcfn_ae4c3c2f7e6dc235_d0000000(omniCallDescriptor* cd, omniServant* svnt)
731 {
732 1 _0RL_cd_ae4c3c2f7e6dc235_b0000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_b0000000*)cd;
733 1 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
734 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
735 1 tcd->result = impl->end();
736 #else
737 if (!cd->is_upcall())
738 tcd->result = impl->end();
739 else {
740 try {
741 tcd->result = impl->end();
742 }
743 catch(hpp::Error& ex) {
744 throw omniORB::StubUserException(ex._NP_duplicate());
745 }
746
747
748 }
749 #endif
750
751
752 1 }
753
754 hpp::floatSeq* hpp::core_idl::_objref_Path::end()
755 {
756 _0RL_cd_ae4c3c2f7e6dc235_b0000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_d0000000, "end", 4);
757
758
759 _invoke(_call_desc);
760 return _call_desc.result._retn();
761
762
763 }
764
765
766 //
767 // Code for hpp::core_idl::Path::constraints
768
769 // Proxy call descriptor class. Mangled signature:
770 // _chpp_mcore__idl_mConstraintSet_e_chpp_mError
771 class _0RL_cd_ae4c3c2f7e6dc235_e0000000
772 : public omniCallDescriptor
773 {
774 public:
775 inline _0RL_cd_ae4c3c2f7e6dc235_e0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
776 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
777 {
778
779 }
780
781
782 void unmarshalReturnedValues(cdrStream&);
783 void marshalReturnedValues(cdrStream&);
784
785 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
786 static const char* const _user_exns[];
787
788 hpp::core_idl::ConstraintSet_var result;
789 };
790
791 void _0RL_cd_ae4c3c2f7e6dc235_e0000000::marshalReturnedValues(cdrStream& _n)
792 {
793 hpp::core_idl::ConstraintSet_Helper::marshalObjRef(result,_n);
794
795 }
796
797 void _0RL_cd_ae4c3c2f7e6dc235_e0000000::unmarshalReturnedValues(cdrStream& _n)
798 {
799 result = hpp::core_idl::ConstraintSet_Helper::unmarshalObjRef(_n);
800
801 }
802
803 const char* const _0RL_cd_ae4c3c2f7e6dc235_e0000000::_user_exns[] = {
804 hpp::Error::_PD_repoId
805 };
806
807 void _0RL_cd_ae4c3c2f7e6dc235_e0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
808 {
809 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
810 hpp::Error _ex;
811 _ex <<= s;
812 if (iop_client) iop_client->RequestCompleted();
813 throw _ex;
814 }
815
816
817 else {
818 if (iop_client) iop_client->RequestCompleted(1);
819 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
820 (::CORBA::CompletionStatus)s.completion());
821 }
822 }
823
824 // Local call call-back function.
825 static void
826 _0RL_lcfn_ae4c3c2f7e6dc235_f0000000(omniCallDescriptor* cd, omniServant* svnt)
827 {
828 _0RL_cd_ae4c3c2f7e6dc235_e0000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_e0000000*)cd;
829 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
830 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
831 tcd->result = impl->constraints();
832 #else
833 if (!cd->is_upcall())
834 tcd->result = impl->constraints();
835 else {
836 try {
837 tcd->result = impl->constraints();
838 }
839 catch(hpp::Error& ex) {
840 throw omniORB::StubUserException(ex._NP_duplicate());
841 }
842
843
844 }
845 #endif
846
847
848 }
849
850 hpp::core_idl::ConstraintSet_ptr hpp::core_idl::_objref_Path::constraints()
851 {
852 _0RL_cd_ae4c3c2f7e6dc235_e0000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_f0000000, "constraints", 12);
853
854
855 _invoke(_call_desc);
856 return _call_desc.result._retn();
857
858
859 }
860
861
862 //
863 // Code for hpp::core_idl::Path::str
864
865 // Proxy call descriptor class. Mangled signature:
866 // _cstring_e_chpp_mError
867 class _0RL_cd_ae4c3c2f7e6dc235_01000000
868 : public omniCallDescriptor
869 {
870 public:
871 inline _0RL_cd_ae4c3c2f7e6dc235_01000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
872 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
873 {
874
875 }
876
877
878 void unmarshalReturnedValues(cdrStream&);
879 void marshalReturnedValues(cdrStream&);
880
881 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
882 static const char* const _user_exns[];
883
884 ::CORBA::String_var result;
885 };
886
887 void _0RL_cd_ae4c3c2f7e6dc235_01000000::marshalReturnedValues(cdrStream& _n)
888 {
889 _n.marshalString(result,0);
890
891 }
892
893 void _0RL_cd_ae4c3c2f7e6dc235_01000000::unmarshalReturnedValues(cdrStream& _n)
894 {
895 result = _n.unmarshalString(0);
896
897 }
898
899 const char* const _0RL_cd_ae4c3c2f7e6dc235_01000000::_user_exns[] = {
900 hpp::Error::_PD_repoId
901 };
902
903 void _0RL_cd_ae4c3c2f7e6dc235_01000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
904 {
905 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
906 hpp::Error _ex;
907 _ex <<= s;
908 if (iop_client) iop_client->RequestCompleted();
909 throw _ex;
910 }
911
912
913 else {
914 if (iop_client) iop_client->RequestCompleted(1);
915 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
916 (::CORBA::CompletionStatus)s.completion());
917 }
918 }
919
920 // Local call call-back function.
921 static void
922 _0RL_lcfn_ae4c3c2f7e6dc235_11000000(omniCallDescriptor* cd, omniServant* svnt)
923 {
924 _0RL_cd_ae4c3c2f7e6dc235_01000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_01000000*)cd;
925 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
926 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
927 tcd->result = impl->str();
928 #else
929 if (!cd->is_upcall())
930 tcd->result = impl->str();
931 else {
932 try {
933 tcd->result = impl->str();
934 }
935 catch(hpp::Error& ex) {
936 throw omniORB::StubUserException(ex._NP_duplicate());
937 }
938
939
940 }
941 #endif
942
943
944 }
945
946 char* hpp::core_idl::_objref_Path::str()
947 {
948 _0RL_cd_ae4c3c2f7e6dc235_01000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_11000000, "str", 4);
949
950
951 _invoke(_call_desc);
952 return _call_desc.result._retn();
953
954
955 }
956
957
958 //
959 // Code for hpp::core_idl::Path::call
960
961 // Proxy call descriptor class. Mangled signature:
962 // _chpp_mfloatSeq_i_cdouble_o_cboolean_e_chpp_mError
963 class _0RL_cd_ae4c3c2f7e6dc235_21000000
964 : public omniCallDescriptor
965 {
966 public:
967 inline _0RL_cd_ae4c3c2f7e6dc235_21000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
968 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
969 {
970
971 }
972
973 void marshalArguments(cdrStream&);
974 void unmarshalArguments(cdrStream&);
975
976 void unmarshalReturnedValues(cdrStream&);
977 void marshalReturnedValues(cdrStream&);
978
979 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
980 static const char* const _user_exns[];
981
982 hpp::value_type arg_0;
983 ::CORBA::Boolean arg_1;
984 hpp::floatSeq_var result;
985 };
986
987 void _0RL_cd_ae4c3c2f7e6dc235_21000000::marshalArguments(cdrStream& _n)
988 {
989 arg_0 >>= _n;
990
991 }
992
993 void _0RL_cd_ae4c3c2f7e6dc235_21000000::unmarshalArguments(cdrStream& _n)
994 {
995 (hpp::value_type&)arg_0 <<= _n;
996
997 }
998
999 void _0RL_cd_ae4c3c2f7e6dc235_21000000::marshalReturnedValues(cdrStream& _n)
1000 {
1001 (const hpp::floatSeq&) result >>= _n;
1002 _n.marshalBoolean(arg_1);
1003
1004 }
1005
1006 void _0RL_cd_ae4c3c2f7e6dc235_21000000::unmarshalReturnedValues(cdrStream& _n)
1007 {
1008 result = new hpp::floatSeq;
1009 (hpp::floatSeq&)result <<= _n;
1010 arg_1 = _n.unmarshalBoolean();
1011
1012 }
1013
1014 const char* const _0RL_cd_ae4c3c2f7e6dc235_21000000::_user_exns[] = {
1015 hpp::Error::_PD_repoId
1016 };
1017
1018 void _0RL_cd_ae4c3c2f7e6dc235_21000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1019 {
1020 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1021 hpp::Error _ex;
1022 _ex <<= s;
1023 if (iop_client) iop_client->RequestCompleted();
1024 throw _ex;
1025 }
1026
1027
1028 else {
1029 if (iop_client) iop_client->RequestCompleted(1);
1030 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1031 (::CORBA::CompletionStatus)s.completion());
1032 }
1033 }
1034
1035 // Local call call-back function.
1036 static void
1037 _0RL_lcfn_ae4c3c2f7e6dc235_31000000(omniCallDescriptor* cd, omniServant* svnt)
1038 {
1039 _0RL_cd_ae4c3c2f7e6dc235_21000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_21000000*)cd;
1040 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
1041 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1042 tcd->result = impl->call(tcd->arg_0, tcd->arg_1);
1043 #else
1044 if (!cd->is_upcall())
1045 tcd->result = impl->call(tcd->arg_0, tcd->arg_1);
1046 else {
1047 try {
1048 tcd->result = impl->call(tcd->arg_0, tcd->arg_1);
1049 }
1050 catch(hpp::Error& ex) {
1051 throw omniORB::StubUserException(ex._NP_duplicate());
1052 }
1053
1054
1055 }
1056 #endif
1057
1058
1059 }
1060
1061 hpp::floatSeq* hpp::core_idl::_objref_Path::call(::hpp::value_type t, ::CORBA::Boolean& success)
1062 {
1063 _0RL_cd_ae4c3c2f7e6dc235_21000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_31000000, "call", 5);
1064 _call_desc.arg_0 = t;
1065
1066 _invoke(_call_desc);
1067 success = _call_desc.arg_1;
1068 return _call_desc.result._retn();
1069
1070
1071 }
1072
1073
1074 //
1075 // Code for hpp::core_idl::Path::at
1076
1077 // Local call call-back function.
1078 static void
1079 _0RL_lcfn_ae4c3c2f7e6dc235_41000000(omniCallDescriptor* cd, omniServant* svnt)
1080 {
1081 _0RL_cd_ae4c3c2f7e6dc235_21000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_21000000*)cd;
1082 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
1083 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1084 tcd->result = impl->at(tcd->arg_0, tcd->arg_1);
1085 #else
1086 if (!cd->is_upcall())
1087 tcd->result = impl->at(tcd->arg_0, tcd->arg_1);
1088 else {
1089 try {
1090 tcd->result = impl->at(tcd->arg_0, tcd->arg_1);
1091 }
1092 catch(hpp::Error& ex) {
1093 throw omniORB::StubUserException(ex._NP_duplicate());
1094 }
1095
1096
1097 }
1098 #endif
1099
1100
1101 }
1102
1103 hpp::floatSeq* hpp::core_idl::_objref_Path::at(::hpp::value_type t, ::CORBA::Boolean& success)
1104 {
1105 _0RL_cd_ae4c3c2f7e6dc235_21000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_41000000, "at", 3);
1106 _call_desc.arg_0 = t;
1107
1108 _invoke(_call_desc);
1109 success = _call_desc.arg_1;
1110 return _call_desc.result._retn();
1111
1112
1113 }
1114
1115
1116 //
1117 // Code for hpp::core_idl::Path::derivative
1118
1119 // Proxy call descriptor class. Mangled signature:
1120 // _chpp_mfloatSeq_i_cdouble_i_cshort_e_chpp_mError
1121 class _0RL_cd_ae4c3c2f7e6dc235_51000000
1122 : public omniCallDescriptor
1123 {
1124 public:
1125 inline _0RL_cd_ae4c3c2f7e6dc235_51000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1126 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1127 {
1128
1129 }
1130
1131 void marshalArguments(cdrStream&);
1132 void unmarshalArguments(cdrStream&);
1133
1134 void unmarshalReturnedValues(cdrStream&);
1135 void marshalReturnedValues(cdrStream&);
1136
1137 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1138 static const char* const _user_exns[];
1139
1140 hpp::value_type arg_0;
1141 ::CORBA::Short arg_1;
1142 hpp::floatSeq_var result;
1143 };
1144
1145 void _0RL_cd_ae4c3c2f7e6dc235_51000000::marshalArguments(cdrStream& _n)
1146 {
1147 arg_0 >>= _n;
1148 arg_1 >>= _n;
1149
1150 }
1151
1152 void _0RL_cd_ae4c3c2f7e6dc235_51000000::unmarshalArguments(cdrStream& _n)
1153 {
1154 (hpp::value_type&)arg_0 <<= _n;
1155 (::CORBA::Short&)arg_1 <<= _n;
1156
1157 }
1158
1159 void _0RL_cd_ae4c3c2f7e6dc235_51000000::marshalReturnedValues(cdrStream& _n)
1160 {
1161 (const hpp::floatSeq&) result >>= _n;
1162
1163 }
1164
1165 void _0RL_cd_ae4c3c2f7e6dc235_51000000::unmarshalReturnedValues(cdrStream& _n)
1166 {
1167 result = new hpp::floatSeq;
1168 (hpp::floatSeq&)result <<= _n;
1169
1170 }
1171
1172 const char* const _0RL_cd_ae4c3c2f7e6dc235_51000000::_user_exns[] = {
1173 hpp::Error::_PD_repoId
1174 };
1175
1176 void _0RL_cd_ae4c3c2f7e6dc235_51000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1177 {
1178 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1179 hpp::Error _ex;
1180 _ex <<= s;
1181 if (iop_client) iop_client->RequestCompleted();
1182 throw _ex;
1183 }
1184
1185
1186 else {
1187 if (iop_client) iop_client->RequestCompleted(1);
1188 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1189 (::CORBA::CompletionStatus)s.completion());
1190 }
1191 }
1192
1193 // Local call call-back function.
1194 static void
1195 _0RL_lcfn_ae4c3c2f7e6dc235_61000000(omniCallDescriptor* cd, omniServant* svnt)
1196 {
1197 _0RL_cd_ae4c3c2f7e6dc235_51000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_51000000*)cd;
1198 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
1199 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1200 tcd->result = impl->derivative(tcd->arg_0, tcd->arg_1);
1201 #else
1202 if (!cd->is_upcall())
1203 tcd->result = impl->derivative(tcd->arg_0, tcd->arg_1);
1204 else {
1205 try {
1206 tcd->result = impl->derivative(tcd->arg_0, tcd->arg_1);
1207 }
1208 catch(hpp::Error& ex) {
1209 throw omniORB::StubUserException(ex._NP_duplicate());
1210 }
1211
1212
1213 }
1214 #endif
1215
1216
1217 }
1218
1219 hpp::floatSeq* hpp::core_idl::_objref_Path::derivative(::hpp::value_type t, ::CORBA::Short order)
1220 {
1221 _0RL_cd_ae4c3c2f7e6dc235_51000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_61000000, "derivative", 11);
1222 _call_desc.arg_0 = t;
1223 _call_desc.arg_1 = order;
1224
1225 _invoke(_call_desc);
1226 return _call_desc.result._retn();
1227
1228
1229 }
1230
1231
1232 //
1233 // Code for hpp::core_idl::Path::extract
1234
1235 // Proxy call descriptor class. Mangled signature:
1236 // _chpp_mcore__idl_mPath_i_cdouble_i_cdouble_e_chpp_mError
1237 class _0RL_cd_ae4c3c2f7e6dc235_71000000
1238 : public omniCallDescriptor
1239 {
1240 public:
1241 inline _0RL_cd_ae4c3c2f7e6dc235_71000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1242 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1243 {
1244
1245 }
1246
1247 void marshalArguments(cdrStream&);
1248 void unmarshalArguments(cdrStream&);
1249
1250 void unmarshalReturnedValues(cdrStream&);
1251 void marshalReturnedValues(cdrStream&);
1252
1253 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1254 static const char* const _user_exns[];
1255
1256 hpp::value_type arg_0;
1257 hpp::value_type arg_1;
1258 hpp::core_idl::Path_var result;
1259 };
1260
1261 void _0RL_cd_ae4c3c2f7e6dc235_71000000::marshalArguments(cdrStream& _n)
1262 {
1263 arg_0 >>= _n;
1264 arg_1 >>= _n;
1265
1266 }
1267
1268 void _0RL_cd_ae4c3c2f7e6dc235_71000000::unmarshalArguments(cdrStream& _n)
1269 {
1270 (hpp::value_type&)arg_0 <<= _n;
1271 (hpp::value_type&)arg_1 <<= _n;
1272
1273 }
1274
1275 void _0RL_cd_ae4c3c2f7e6dc235_71000000::marshalReturnedValues(cdrStream& _n)
1276 {
1277 hpp::core_idl::Path::_marshalObjRef(result,_n);
1278
1279 }
1280
1281 void _0RL_cd_ae4c3c2f7e6dc235_71000000::unmarshalReturnedValues(cdrStream& _n)
1282 {
1283 result = hpp::core_idl::Path::_unmarshalObjRef(_n);
1284
1285 }
1286
1287 const char* const _0RL_cd_ae4c3c2f7e6dc235_71000000::_user_exns[] = {
1288 hpp::Error::_PD_repoId
1289 };
1290
1291 void _0RL_cd_ae4c3c2f7e6dc235_71000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1292 {
1293 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1294 hpp::Error _ex;
1295 _ex <<= s;
1296 if (iop_client) iop_client->RequestCompleted();
1297 throw _ex;
1298 }
1299
1300
1301 else {
1302 if (iop_client) iop_client->RequestCompleted(1);
1303 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1304 (::CORBA::CompletionStatus)s.completion());
1305 }
1306 }
1307
1308 // Local call call-back function.
1309 static void
1310 _0RL_lcfn_ae4c3c2f7e6dc235_81000000(omniCallDescriptor* cd, omniServant* svnt)
1311 {
1312 _0RL_cd_ae4c3c2f7e6dc235_71000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_71000000*)cd;
1313 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
1314 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1315 tcd->result = impl->extract(tcd->arg_0, tcd->arg_1);
1316 #else
1317 if (!cd->is_upcall())
1318 tcd->result = impl->extract(tcd->arg_0, tcd->arg_1);
1319 else {
1320 try {
1321 tcd->result = impl->extract(tcd->arg_0, tcd->arg_1);
1322 }
1323 catch(hpp::Error& ex) {
1324 throw omniORB::StubUserException(ex._NP_duplicate());
1325 }
1326
1327
1328 }
1329 #endif
1330
1331
1332 }
1333
1334 hpp::core_idl::Path_ptr hpp::core_idl::_objref_Path::extract(::hpp::value_type tmin, ::hpp::value_type tmax)
1335 {
1336 _0RL_cd_ae4c3c2f7e6dc235_71000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_81000000, "extract", 8);
1337 _call_desc.arg_0 = tmin;
1338 _call_desc.arg_1 = tmax;
1339
1340 _invoke(_call_desc);
1341 return _call_desc.result._retn();
1342
1343
1344 }
1345
1346
1347 //
1348 // Code for hpp::core_idl::Path::asVector
1349
1350 // Proxy call descriptor class. Mangled signature:
1351 // _chpp_mcore__idl_mPathVector_e_chpp_mError
1352 class _0RL_cd_ae4c3c2f7e6dc235_91000000
1353 : public omniCallDescriptor
1354 {
1355 public:
1356 inline _0RL_cd_ae4c3c2f7e6dc235_91000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1357 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1358 {
1359
1360 }
1361
1362
1363 void unmarshalReturnedValues(cdrStream&);
1364 void marshalReturnedValues(cdrStream&);
1365
1366 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1367 static const char* const _user_exns[];
1368
1369 hpp::core_idl::PathVector_var result;
1370 };
1371
1372 void _0RL_cd_ae4c3c2f7e6dc235_91000000::marshalReturnedValues(cdrStream& _n)
1373 {
1374 hpp::core_idl::PathVector_Helper::marshalObjRef(result,_n);
1375
1376 }
1377
1378 void _0RL_cd_ae4c3c2f7e6dc235_91000000::unmarshalReturnedValues(cdrStream& _n)
1379 {
1380 result = hpp::core_idl::PathVector_Helper::unmarshalObjRef(_n);
1381
1382 }
1383
1384 const char* const _0RL_cd_ae4c3c2f7e6dc235_91000000::_user_exns[] = {
1385 hpp::Error::_PD_repoId
1386 };
1387
1388 void _0RL_cd_ae4c3c2f7e6dc235_91000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1389 {
1390 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1391 hpp::Error _ex;
1392 _ex <<= s;
1393 if (iop_client) iop_client->RequestCompleted();
1394 throw _ex;
1395 }
1396
1397
1398 else {
1399 if (iop_client) iop_client->RequestCompleted(1);
1400 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1401 (::CORBA::CompletionStatus)s.completion());
1402 }
1403 }
1404
1405 // Local call call-back function.
1406 static void
1407 _0RL_lcfn_ae4c3c2f7e6dc235_a1000000(omniCallDescriptor* cd, omniServant* svnt)
1408 {
1409 _0RL_cd_ae4c3c2f7e6dc235_91000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_91000000*)cd;
1410 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
1411 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1412 tcd->result = impl->asVector();
1413 #else
1414 if (!cd->is_upcall())
1415 tcd->result = impl->asVector();
1416 else {
1417 try {
1418 tcd->result = impl->asVector();
1419 }
1420 catch(hpp::Error& ex) {
1421 throw omniORB::StubUserException(ex._NP_duplicate());
1422 }
1423
1424
1425 }
1426 #endif
1427
1428
1429 }
1430
1431 hpp::core_idl::PathVector_ptr hpp::core_idl::_objref_Path::asVector()
1432 {
1433 _0RL_cd_ae4c3c2f7e6dc235_91000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_a1000000, "asVector", 9);
1434
1435
1436 _invoke(_call_desc);
1437 return _call_desc.result._retn();
1438
1439
1440 }
1441
1442
1443 //
1444 // Code for hpp::core_idl::Path::reverse
1445
1446 // Proxy call descriptor class. Mangled signature:
1447 // _chpp_mcore__idl_mPath_e_chpp_mError
1448 class _0RL_cd_ae4c3c2f7e6dc235_b1000000
1449 : public omniCallDescriptor
1450 {
1451 public:
1452 inline _0RL_cd_ae4c3c2f7e6dc235_b1000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1453 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1454 {
1455
1456 }
1457
1458
1459 void unmarshalReturnedValues(cdrStream&);
1460 void marshalReturnedValues(cdrStream&);
1461
1462 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1463 static const char* const _user_exns[];
1464
1465 hpp::core_idl::Path_var result;
1466 };
1467
1468 void _0RL_cd_ae4c3c2f7e6dc235_b1000000::marshalReturnedValues(cdrStream& _n)
1469 {
1470 hpp::core_idl::Path::_marshalObjRef(result,_n);
1471
1472 }
1473
1474 void _0RL_cd_ae4c3c2f7e6dc235_b1000000::unmarshalReturnedValues(cdrStream& _n)
1475 {
1476 result = hpp::core_idl::Path::_unmarshalObjRef(_n);
1477
1478 }
1479
1480 const char* const _0RL_cd_ae4c3c2f7e6dc235_b1000000::_user_exns[] = {
1481 hpp::Error::_PD_repoId
1482 };
1483
1484 void _0RL_cd_ae4c3c2f7e6dc235_b1000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1485 {
1486 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1487 hpp::Error _ex;
1488 _ex <<= s;
1489 if (iop_client) iop_client->RequestCompleted();
1490 throw _ex;
1491 }
1492
1493
1494 else {
1495 if (iop_client) iop_client->RequestCompleted(1);
1496 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1497 (::CORBA::CompletionStatus)s.completion());
1498 }
1499 }
1500
1501 // Local call call-back function.
1502 static void
1503 _0RL_lcfn_ae4c3c2f7e6dc235_c1000000(omniCallDescriptor* cd, omniServant* svnt)
1504 {
1505 _0RL_cd_ae4c3c2f7e6dc235_b1000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_b1000000*)cd;
1506 hpp::core_idl::_impl_Path* impl = (hpp::core_idl::_impl_Path*) svnt->_ptrToInterface(hpp::core_idl::Path::_PD_repoId);
1507 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1508 tcd->result = impl->reverse();
1509 #else
1510 if (!cd->is_upcall())
1511 tcd->result = impl->reverse();
1512 else {
1513 try {
1514 tcd->result = impl->reverse();
1515 }
1516 catch(hpp::Error& ex) {
1517 throw omniORB::StubUserException(ex._NP_duplicate());
1518 }
1519
1520
1521 }
1522 #endif
1523
1524
1525 }
1526
1527 hpp::core_idl::Path_ptr hpp::core_idl::_objref_Path::reverse()
1528 {
1529 _0RL_cd_ae4c3c2f7e6dc235_b1000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_c1000000, "reverse", 8);
1530
1531
1532 _invoke(_call_desc);
1533 return _call_desc.result._retn();
1534
1535
1536 }
1537
1538 16 hpp::core_idl::_pof_Path::~_pof_Path() {}
1539
1540
1541 omniObjRef*
1542 hpp::core_idl::_pof_Path::newObjRef(omniIOR* ior, omniIdentity* id)
1543 {
1544 return new ::hpp::core_idl::_objref_Path(ior, id);
1545 }
1546
1547
1548 ::CORBA::Boolean
1549 hpp::core_idl::_pof_Path::is_a(const char* id) const
1550 {
1551 if (omni::ptrStrMatch(id, ::hpp::core_idl::Path::_PD_repoId))
1552 return 1;
1553
1554 return 0;
1555 }
1556
1557 const hpp::core_idl::_pof_Path _the_pof_hpp_mcore__idl_mPath;
1558
1559 4 hpp::core_idl::_impl_Path::~_impl_Path() {}
1560
1561
1562 ::CORBA::Boolean
1563 3 hpp::core_idl::_impl_Path::_dispatch(omniCallHandle& _handle)
1564 {
1565 3 const char* op = _handle.operation_name();
1566
1567
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
3 if (omni::strMatch(op, "deleteThis")) {
1568
1569 _0RL_cd_ae4c3c2f7e6dc235_00000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_10000000, "deleteThis", 11, 1);
1570
1571 _handle.upcall(this,_call_desc);
1572 return 1;
1573 }
1574
1575
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
3 if (omni::strMatch(op, "deleteIfExpired")) {
1576
1577 _0RL_cd_ae4c3c2f7e6dc235_20000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_30000000, "deleteIfExpired", 16, 1);
1578
1579 _handle.upcall(this,_call_desc);
1580 return 1;
1581 }
1582
1583
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
3 if (omni::strMatch(op, "persistantStorage")) {
1584
1585 _0RL_cd_ae4c3c2f7e6dc235_40000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_50000000, "persistantStorage", 18, 1);
1586
1587 _handle.upcall(this,_call_desc);
1588 return 1;
1589 }
1590
1591
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
3 if (omni::strMatch(op, "outputSize")) {
1592
1593 _0RL_cd_ae4c3c2f7e6dc235_60000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_70000000, "outputSize", 11, 1);
1594
1595 _handle.upcall(this,_call_desc);
1596 return 1;
1597 }
1598
1599
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
3 if (omni::strMatch(op, "outputDerivativeSize")) {
1600
1601 _0RL_cd_ae4c3c2f7e6dc235_60000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_80000000, "outputDerivativeSize", 21, 1);
1602
1603 _handle.upcall(this,_call_desc);
1604 return 1;
1605 }
1606
1607
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
3 if (omni::strMatch(op, "length")) {
1608
1609 _0RL_cd_ae4c3c2f7e6dc235_90000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_a0000000, "length", 7, 1);
1610
1611 _handle.upcall(this,_call_desc);
1612 return 1;
1613 }
1614
1615
2/2
✓ Branch 1 taken 1 times.
✓ Branch 2 taken 2 times.
3 if (omni::strMatch(op, "initial")) {
1616
1617 1 _0RL_cd_ae4c3c2f7e6dc235_b0000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_c0000000, "initial", 8, 1);
1618
1619
1/2
✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
1 _handle.upcall(this,_call_desc);
1620 1 return 1;
1621 1 }
1622
1623
2/2
✓ Branch 1 taken 1 times.
✓ Branch 2 taken 1 times.
2 if (omni::strMatch(op, "end")) {
1624
1625 1 _0RL_cd_ae4c3c2f7e6dc235_b0000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_d0000000, "end", 4, 1);
1626
1627
1/2
✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
1 _handle.upcall(this,_call_desc);
1628 1 return 1;
1629 1 }
1630
1631
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
1 if (omni::strMatch(op, "constraints")) {
1632
1633 _0RL_cd_ae4c3c2f7e6dc235_e0000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_f0000000, "constraints", 12, 1);
1634
1635 _handle.upcall(this,_call_desc);
1636 return 1;
1637 }
1638
1639
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
1 if (omni::strMatch(op, "str")) {
1640
1641 _0RL_cd_ae4c3c2f7e6dc235_01000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_11000000, "str", 4, 1);
1642
1643 _handle.upcall(this,_call_desc);
1644 return 1;
1645 }
1646
1647
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
1 if (omni::strMatch(op, "call")) {
1648
1649 _0RL_cd_ae4c3c2f7e6dc235_21000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_31000000, "call", 5, 1);
1650
1651 _handle.upcall(this,_call_desc);
1652 return 1;
1653 }
1654
1655
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
1 if (omni::strMatch(op, "at")) {
1656
1657 _0RL_cd_ae4c3c2f7e6dc235_21000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_41000000, "at", 3, 1);
1658
1659 _handle.upcall(this,_call_desc);
1660 return 1;
1661 }
1662
1663
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
1 if (omni::strMatch(op, "derivative")) {
1664
1665 _0RL_cd_ae4c3c2f7e6dc235_51000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_61000000, "derivative", 11, 1);
1666
1667 _handle.upcall(this,_call_desc);
1668 return 1;
1669 }
1670
1671
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
1 if (omni::strMatch(op, "extract")) {
1672
1673 _0RL_cd_ae4c3c2f7e6dc235_71000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_81000000, "extract", 8, 1);
1674
1675 _handle.upcall(this,_call_desc);
1676 return 1;
1677 }
1678
1679
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
1 if (omni::strMatch(op, "asVector")) {
1680
1681 _0RL_cd_ae4c3c2f7e6dc235_91000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_a1000000, "asVector", 9, 1);
1682
1683 _handle.upcall(this,_call_desc);
1684 return 1;
1685 }
1686
1687
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
1 if (omni::strMatch(op, "reverse")) {
1688
1689 _0RL_cd_ae4c3c2f7e6dc235_b1000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_c1000000, "reverse", 8, 1);
1690
1691 _handle.upcall(this,_call_desc);
1692 return 1;
1693 }
1694
1695
1696 1 return 0;
1697 }
1698
1699 void*
1700 hpp::core_idl::_impl_Path::_ptrToInterface(const char* id)
1701 {
1702 if (id == ::hpp::core_idl::Path::_PD_repoId)
1703 return (::hpp::core_idl::_impl_Path*) this;
1704
1705 if (id == ::CORBA::Object::_PD_repoId)
1706 return (void*) 1;
1707
1708 if (omni::strMatch(id, ::hpp::core_idl::Path::_PD_repoId))
1709 return (::hpp::core_idl::_impl_Path*) this;
1710
1711 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
1712 return (void*) 1;
1713 return 0;
1714 }
1715
1716 const char*
1717 hpp::core_idl::_impl_Path::_mostDerivedRepoId()
1718 {
1719 return ::hpp::core_idl::Path::_PD_repoId;
1720 }
1721
1722 hpp::core_idl::PathVector_ptr hpp::core_idl::PathVector_Helper::_nil() {
1723 return ::hpp::core_idl::PathVector::_nil();
1724 }
1725
1726 ::CORBA::Boolean hpp::core_idl::PathVector_Helper::is_nil(::hpp::core_idl::PathVector_ptr p) {
1727 return ::CORBA::is_nil(p);
1728
1729 }
1730
1731 void hpp::core_idl::PathVector_Helper::release(::hpp::core_idl::PathVector_ptr p) {
1732 ::CORBA::release(p);
1733 }
1734
1735 void hpp::core_idl::PathVector_Helper::marshalObjRef(::hpp::core_idl::PathVector_ptr obj, cdrStream& s) {
1736 ::hpp::core_idl::PathVector::_marshalObjRef(obj, s);
1737 }
1738
1739 hpp::core_idl::PathVector_ptr hpp::core_idl::PathVector_Helper::unmarshalObjRef(cdrStream& s) {
1740 return ::hpp::core_idl::PathVector::_unmarshalObjRef(s);
1741 }
1742
1743 void hpp::core_idl::PathVector_Helper::duplicate(::hpp::core_idl::PathVector_ptr obj) {
1744 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
1745 }
1746
1747 hpp::core_idl::PathVector_ptr
1748 hpp::core_idl::PathVector::_duplicate(::hpp::core_idl::PathVector_ptr obj)
1749 {
1750 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
1751 return obj;
1752 }
1753
1754 hpp::core_idl::PathVector_ptr
1755 hpp::core_idl::PathVector::_narrow(::CORBA::Object_ptr obj)
1756 {
1757 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
1758 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId);
1759 return e ? e : _nil();
1760 }
1761
1762
1763 hpp::core_idl::PathVector_ptr
1764 hpp::core_idl::PathVector::_unchecked_narrow(::CORBA::Object_ptr obj)
1765 {
1766 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
1767 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId);
1768 return e ? e : _nil();
1769 }
1770
1771 hpp::core_idl::PathVector_ptr
1772 hpp::core_idl::PathVector::_nil()
1773 {
1774 #ifdef OMNI_UNLOADABLE_STUBS
1775 static _objref_PathVector _the_nil_obj;
1776 return &_the_nil_obj;
1777 #else
1778 static _objref_PathVector* _the_nil_ptr = 0;
1779 if (!_the_nil_ptr) {
1780 omni::nilRefLock().lock();
1781 if (!_the_nil_ptr) {
1782 _the_nil_ptr = new _objref_PathVector;
1783 registerNilCorbaObject(_the_nil_ptr);
1784 }
1785 omni::nilRefLock().unlock();
1786 }
1787 return _the_nil_ptr;
1788 #endif
1789 }
1790
1791 const char* hpp::core_idl::PathVector::_PD_repoId = "IDL:hpp/core_idl/PathVector:1.0";
1792
1793
1794 12 hpp::core_idl::_objref_PathVector::~_objref_PathVector() {
1795
1796 }
1797
1798
1799 6 hpp::core_idl::_objref_PathVector::_objref_PathVector(omniIOR* ior, omniIdentity* id) :
1800 omniObjRef(::hpp::core_idl::PathVector::_PD_repoId, ior, id, 1),
1801
2/4
✓ Branch 2 taken 3 times.
✗ Branch 3 not taken.
✓ Branch 5 taken 3 times.
✗ Branch 6 not taken.
6 _objref_Path(ior, id)
1802
1803 {
1804 6 _PR_setobj(this);
1805 }
1806
1807 void*
1808 3 hpp::core_idl::_objref_PathVector::_ptrToObjRef(const char* id)
1809 {
1810
2/2
✓ Branch 0 taken 2 times.
✓ Branch 1 taken 1 times.
3 if (id == ::hpp::core_idl::PathVector::_PD_repoId)
1811 2 return (::hpp::core_idl::PathVector_ptr) this;
1812
1/2
✓ Branch 0 taken 1 times.
✗ Branch 1 not taken.
1 if (id == ::hpp::core_idl::Path::_PD_repoId)
1813 1 return (::hpp::core_idl::Path_ptr) this;
1814
1815
1816 if (id == ::CORBA::Object::_PD_repoId)
1817 return (::CORBA::Object_ptr) this;
1818
1819 if (omni::strMatch(id, ::hpp::core_idl::PathVector::_PD_repoId))
1820 return (::hpp::core_idl::PathVector_ptr) this;
1821 if (omni::strMatch(id, ::hpp::core_idl::Path::_PD_repoId))
1822 return (::hpp::core_idl::Path_ptr) this;
1823
1824
1825 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
1826 return (::CORBA::Object_ptr) this;
1827
1828 return 0;
1829 }
1830
1831
1832 //
1833 // Code for hpp::core_idl::PathVector::numberPaths
1834
1835 // Proxy call descriptor class. Mangled signature:
1836 // _cunsigned_plonglong_e_chpp_mError
1837 class _0RL_cd_ae4c3c2f7e6dc235_d1000000
1838 : public omniCallDescriptor
1839 {
1840 public:
1841 inline _0RL_cd_ae4c3c2f7e6dc235_d1000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1842 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1843 {
1844
1845 }
1846
1847
1848 void unmarshalReturnedValues(cdrStream&);
1849 void marshalReturnedValues(cdrStream&);
1850
1851 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1852 static const char* const _user_exns[];
1853
1854 hpp::core_idl::size_t result;
1855 };
1856
1857 void _0RL_cd_ae4c3c2f7e6dc235_d1000000::marshalReturnedValues(cdrStream& _n)
1858 {
1859 result >>= _n;
1860
1861 }
1862
1863 void _0RL_cd_ae4c3c2f7e6dc235_d1000000::unmarshalReturnedValues(cdrStream& _n)
1864 {
1865 (hpp::core_idl::size_t&)result <<= _n;
1866
1867 }
1868
1869 const char* const _0RL_cd_ae4c3c2f7e6dc235_d1000000::_user_exns[] = {
1870 hpp::Error::_PD_repoId
1871 };
1872
1873 void _0RL_cd_ae4c3c2f7e6dc235_d1000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1874 {
1875 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1876 hpp::Error _ex;
1877 _ex <<= s;
1878 if (iop_client) iop_client->RequestCompleted();
1879 throw _ex;
1880 }
1881
1882
1883 else {
1884 if (iop_client) iop_client->RequestCompleted(1);
1885 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1886 (::CORBA::CompletionStatus)s.completion());
1887 }
1888 }
1889
1890 // Local call call-back function.
1891 static void
1892 _0RL_lcfn_ae4c3c2f7e6dc235_e1000000(omniCallDescriptor* cd, omniServant* svnt)
1893 {
1894 _0RL_cd_ae4c3c2f7e6dc235_d1000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_d1000000*)cd;
1895 hpp::core_idl::_impl_PathVector* impl = (hpp::core_idl::_impl_PathVector*) svnt->_ptrToInterface(hpp::core_idl::PathVector::_PD_repoId);
1896 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1897 tcd->result = impl->numberPaths();
1898 #else
1899 if (!cd->is_upcall())
1900 tcd->result = impl->numberPaths();
1901 else {
1902 try {
1903 tcd->result = impl->numberPaths();
1904 }
1905 catch(hpp::Error& ex) {
1906 throw omniORB::StubUserException(ex._NP_duplicate());
1907 }
1908
1909
1910 }
1911 #endif
1912
1913
1914 }
1915
1916 hpp::core_idl::size_t hpp::core_idl::_objref_PathVector::numberPaths()
1917 {
1918 _0RL_cd_ae4c3c2f7e6dc235_d1000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_e1000000, "numberPaths", 12);
1919
1920
1921 _invoke(_call_desc);
1922 return _call_desc.result;
1923
1924
1925 }
1926
1927
1928 //
1929 // Code for hpp::core_idl::PathVector::rankAtParam
1930
1931 // Proxy call descriptor class. Mangled signature:
1932 // _cunsigned_plonglong_i_cdouble_o_cdouble_e_chpp_mError
1933 class _0RL_cd_ae4c3c2f7e6dc235_f1000000
1934 : public omniCallDescriptor
1935 {
1936 public:
1937 inline _0RL_cd_ae4c3c2f7e6dc235_f1000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1938 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1939 {
1940
1941 }
1942
1943 void marshalArguments(cdrStream&);
1944 void unmarshalArguments(cdrStream&);
1945
1946 void unmarshalReturnedValues(cdrStream&);
1947 void marshalReturnedValues(cdrStream&);
1948
1949 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1950 static const char* const _user_exns[];
1951
1952 hpp::value_type arg_0;
1953 hpp::value_type arg_1;
1954 hpp::core_idl::size_t result;
1955 };
1956
1957 void _0RL_cd_ae4c3c2f7e6dc235_f1000000::marshalArguments(cdrStream& _n)
1958 {
1959 arg_0 >>= _n;
1960
1961 }
1962
1963 void _0RL_cd_ae4c3c2f7e6dc235_f1000000::unmarshalArguments(cdrStream& _n)
1964 {
1965 (hpp::value_type&)arg_0 <<= _n;
1966
1967 }
1968
1969 void _0RL_cd_ae4c3c2f7e6dc235_f1000000::marshalReturnedValues(cdrStream& _n)
1970 {
1971 result >>= _n;
1972 arg_1 >>= _n;
1973
1974 }
1975
1976 void _0RL_cd_ae4c3c2f7e6dc235_f1000000::unmarshalReturnedValues(cdrStream& _n)
1977 {
1978 (hpp::core_idl::size_t&)result <<= _n;
1979 (hpp::value_type&)arg_1 <<= _n;
1980
1981 }
1982
1983 const char* const _0RL_cd_ae4c3c2f7e6dc235_f1000000::_user_exns[] = {
1984 hpp::Error::_PD_repoId
1985 };
1986
1987 void _0RL_cd_ae4c3c2f7e6dc235_f1000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1988 {
1989 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1990 hpp::Error _ex;
1991 _ex <<= s;
1992 if (iop_client) iop_client->RequestCompleted();
1993 throw _ex;
1994 }
1995
1996
1997 else {
1998 if (iop_client) iop_client->RequestCompleted(1);
1999 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2000 (::CORBA::CompletionStatus)s.completion());
2001 }
2002 }
2003
2004 // Local call call-back function.
2005 static void
2006 _0RL_lcfn_ae4c3c2f7e6dc235_02000000(omniCallDescriptor* cd, omniServant* svnt)
2007 {
2008 _0RL_cd_ae4c3c2f7e6dc235_f1000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_f1000000*)cd;
2009 hpp::core_idl::_impl_PathVector* impl = (hpp::core_idl::_impl_PathVector*) svnt->_ptrToInterface(hpp::core_idl::PathVector::_PD_repoId);
2010 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2011 tcd->result = impl->rankAtParam(tcd->arg_0, tcd->arg_1);
2012 #else
2013 if (!cd->is_upcall())
2014 tcd->result = impl->rankAtParam(tcd->arg_0, tcd->arg_1);
2015 else {
2016 try {
2017 tcd->result = impl->rankAtParam(tcd->arg_0, tcd->arg_1);
2018 }
2019 catch(hpp::Error& ex) {
2020 throw omniORB::StubUserException(ex._NP_duplicate());
2021 }
2022
2023
2024 }
2025 #endif
2026
2027
2028 }
2029
2030 hpp::core_idl::size_t hpp::core_idl::_objref_PathVector::rankAtParam(::hpp::value_type param, ::hpp::value_type& localParam)
2031 {
2032 _0RL_cd_ae4c3c2f7e6dc235_f1000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_02000000, "rankAtParam", 12);
2033 _call_desc.arg_0 = param;
2034
2035 _invoke(_call_desc);
2036 localParam = _call_desc.arg_1;
2037 return _call_desc.result;
2038
2039
2040 }
2041
2042
2043 //
2044 // Code for hpp::core_idl::PathVector::pathAtRank
2045
2046 // Proxy call descriptor class. Mangled signature:
2047 // _chpp_mcore__idl_mPath_i_cunsigned_plonglong_e_chpp_mError
2048 class _0RL_cd_ae4c3c2f7e6dc235_12000000
2049 : public omniCallDescriptor
2050 {
2051 public:
2052 inline _0RL_cd_ae4c3c2f7e6dc235_12000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2053 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2054 {
2055
2056 }
2057
2058 void marshalArguments(cdrStream&);
2059 void unmarshalArguments(cdrStream&);
2060
2061 void unmarshalReturnedValues(cdrStream&);
2062 void marshalReturnedValues(cdrStream&);
2063
2064 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2065 static const char* const _user_exns[];
2066
2067 hpp::core_idl::size_t arg_0;
2068 hpp::core_idl::Path_var result;
2069 };
2070
2071 void _0RL_cd_ae4c3c2f7e6dc235_12000000::marshalArguments(cdrStream& _n)
2072 {
2073 arg_0 >>= _n;
2074
2075 }
2076
2077 void _0RL_cd_ae4c3c2f7e6dc235_12000000::unmarshalArguments(cdrStream& _n)
2078 {
2079 (hpp::core_idl::size_t&)arg_0 <<= _n;
2080
2081 }
2082
2083 void _0RL_cd_ae4c3c2f7e6dc235_12000000::marshalReturnedValues(cdrStream& _n)
2084 {
2085 hpp::core_idl::Path::_marshalObjRef(result,_n);
2086
2087 }
2088
2089 void _0RL_cd_ae4c3c2f7e6dc235_12000000::unmarshalReturnedValues(cdrStream& _n)
2090 {
2091 result = hpp::core_idl::Path::_unmarshalObjRef(_n);
2092
2093 }
2094
2095 const char* const _0RL_cd_ae4c3c2f7e6dc235_12000000::_user_exns[] = {
2096 hpp::Error::_PD_repoId
2097 };
2098
2099 void _0RL_cd_ae4c3c2f7e6dc235_12000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2100 {
2101 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
2102 hpp::Error _ex;
2103 _ex <<= s;
2104 if (iop_client) iop_client->RequestCompleted();
2105 throw _ex;
2106 }
2107
2108
2109 else {
2110 if (iop_client) iop_client->RequestCompleted(1);
2111 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2112 (::CORBA::CompletionStatus)s.completion());
2113 }
2114 }
2115
2116 // Local call call-back function.
2117 static void
2118 _0RL_lcfn_ae4c3c2f7e6dc235_22000000(omniCallDescriptor* cd, omniServant* svnt)
2119 {
2120 _0RL_cd_ae4c3c2f7e6dc235_12000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_12000000*)cd;
2121 hpp::core_idl::_impl_PathVector* impl = (hpp::core_idl::_impl_PathVector*) svnt->_ptrToInterface(hpp::core_idl::PathVector::_PD_repoId);
2122 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2123 tcd->result = impl->pathAtRank(tcd->arg_0);
2124 #else
2125 if (!cd->is_upcall())
2126 tcd->result = impl->pathAtRank(tcd->arg_0);
2127 else {
2128 try {
2129 tcd->result = impl->pathAtRank(tcd->arg_0);
2130 }
2131 catch(hpp::Error& ex) {
2132 throw omniORB::StubUserException(ex._NP_duplicate());
2133 }
2134
2135
2136 }
2137 #endif
2138
2139
2140 }
2141
2142 hpp::core_idl::Path_ptr hpp::core_idl::_objref_PathVector::pathAtRank(::hpp::core_idl::size_t rank)
2143 {
2144 _0RL_cd_ae4c3c2f7e6dc235_12000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_22000000, "pathAtRank", 11);
2145 _call_desc.arg_0 = rank;
2146
2147 _invoke(_call_desc);
2148 return _call_desc.result._retn();
2149
2150
2151 }
2152
2153
2154 //
2155 // Code for hpp::core_idl::PathVector::appendPath
2156
2157 // Proxy call descriptor class. Mangled signature:
2158 // void_i_chpp_mcore__idl_mPath_e_chpp_mError
2159 class _0RL_cd_ae4c3c2f7e6dc235_32000000
2160 : public omniCallDescriptor
2161 {
2162 public:
2163 inline _0RL_cd_ae4c3c2f7e6dc235_32000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2164 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2165 {
2166
2167 }
2168
2169 void marshalArguments(cdrStream&);
2170 void unmarshalArguments(cdrStream&);
2171
2172
2173 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2174 static const char* const _user_exns[];
2175
2176 hpp::core_idl::Path_var arg_0_;
2177 hpp::core_idl::Path_ptr arg_0;
2178 };
2179
2180 void _0RL_cd_ae4c3c2f7e6dc235_32000000::marshalArguments(cdrStream& _n)
2181 {
2182 hpp::core_idl::Path::_marshalObjRef(arg_0,_n);
2183
2184 }
2185
2186 void _0RL_cd_ae4c3c2f7e6dc235_32000000::unmarshalArguments(cdrStream& _n)
2187 {
2188 arg_0_ = hpp::core_idl::Path::_unmarshalObjRef(_n);
2189 arg_0 = arg_0_.in();
2190
2191 }
2192
2193 const char* const _0RL_cd_ae4c3c2f7e6dc235_32000000::_user_exns[] = {
2194 hpp::Error::_PD_repoId
2195 };
2196
2197 void _0RL_cd_ae4c3c2f7e6dc235_32000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2198 {
2199 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
2200 hpp::Error _ex;
2201 _ex <<= s;
2202 if (iop_client) iop_client->RequestCompleted();
2203 throw _ex;
2204 }
2205
2206
2207 else {
2208 if (iop_client) iop_client->RequestCompleted(1);
2209 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2210 (::CORBA::CompletionStatus)s.completion());
2211 }
2212 }
2213
2214 // Local call call-back function.
2215 static void
2216 _0RL_lcfn_ae4c3c2f7e6dc235_42000000(omniCallDescriptor* cd, omniServant* svnt)
2217 {
2218 _0RL_cd_ae4c3c2f7e6dc235_32000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_32000000*)cd;
2219 hpp::core_idl::_impl_PathVector* impl = (hpp::core_idl::_impl_PathVector*) svnt->_ptrToInterface(hpp::core_idl::PathVector::_PD_repoId);
2220 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2221 impl->appendPath(tcd->arg_0);
2222 #else
2223 if (!cd->is_upcall())
2224 impl->appendPath(tcd->arg_0);
2225 else {
2226 try {
2227 impl->appendPath(tcd->arg_0);
2228 }
2229 catch(hpp::Error& ex) {
2230 throw omniORB::StubUserException(ex._NP_duplicate());
2231 }
2232
2233
2234 }
2235 #endif
2236
2237
2238 }
2239
2240 void hpp::core_idl::_objref_PathVector::appendPath(::hpp::core_idl::Path_ptr p)
2241 {
2242 _0RL_cd_ae4c3c2f7e6dc235_32000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_42000000, "appendPath", 11);
2243 _call_desc.arg_0 = p;
2244
2245 _invoke(_call_desc);
2246
2247
2248
2249 }
2250
2251
2252 //
2253 // Code for hpp::core_idl::PathVector::concatenate
2254
2255 // Proxy call descriptor class. Mangled signature:
2256 // void_i_chpp_mcore__idl_mPathVector_e_chpp_mError
2257 class _0RL_cd_ae4c3c2f7e6dc235_52000000
2258 : public omniCallDescriptor
2259 {
2260 public:
2261 inline _0RL_cd_ae4c3c2f7e6dc235_52000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2262 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2263 {
2264
2265 }
2266
2267 void marshalArguments(cdrStream&);
2268 void unmarshalArguments(cdrStream&);
2269
2270
2271 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2272 static const char* const _user_exns[];
2273
2274 hpp::core_idl::PathVector_var arg_0_;
2275 hpp::core_idl::PathVector_ptr arg_0;
2276 };
2277
2278 void _0RL_cd_ae4c3c2f7e6dc235_52000000::marshalArguments(cdrStream& _n)
2279 {
2280 hpp::core_idl::PathVector_Helper::marshalObjRef(arg_0,_n);
2281
2282 }
2283
2284 void _0RL_cd_ae4c3c2f7e6dc235_52000000::unmarshalArguments(cdrStream& _n)
2285 {
2286 arg_0_ = hpp::core_idl::PathVector_Helper::unmarshalObjRef(_n);
2287 arg_0 = arg_0_.in();
2288
2289 }
2290
2291 const char* const _0RL_cd_ae4c3c2f7e6dc235_52000000::_user_exns[] = {
2292 hpp::Error::_PD_repoId
2293 };
2294
2295 void _0RL_cd_ae4c3c2f7e6dc235_52000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2296 {
2297 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
2298 hpp::Error _ex;
2299 _ex <<= s;
2300 if (iop_client) iop_client->RequestCompleted();
2301 throw _ex;
2302 }
2303
2304
2305 else {
2306 if (iop_client) iop_client->RequestCompleted(1);
2307 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2308 (::CORBA::CompletionStatus)s.completion());
2309 }
2310 }
2311
2312 // Local call call-back function.
2313 static void
2314 _0RL_lcfn_ae4c3c2f7e6dc235_62000000(omniCallDescriptor* cd, omniServant* svnt)
2315 {
2316 _0RL_cd_ae4c3c2f7e6dc235_52000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_52000000*)cd;
2317 hpp::core_idl::_impl_PathVector* impl = (hpp::core_idl::_impl_PathVector*) svnt->_ptrToInterface(hpp::core_idl::PathVector::_PD_repoId);
2318 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2319 impl->concatenate(tcd->arg_0);
2320 #else
2321 if (!cd->is_upcall())
2322 impl->concatenate(tcd->arg_0);
2323 else {
2324 try {
2325 impl->concatenate(tcd->arg_0);
2326 }
2327 catch(hpp::Error& ex) {
2328 throw omniORB::StubUserException(ex._NP_duplicate());
2329 }
2330
2331
2332 }
2333 #endif
2334
2335
2336 }
2337
2338 void hpp::core_idl::_objref_PathVector::concatenate(::hpp::core_idl::PathVector_ptr p)
2339 {
2340 _0RL_cd_ae4c3c2f7e6dc235_52000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_62000000, "concatenate", 12);
2341 _call_desc.arg_0 = p;
2342
2343 _invoke(_call_desc);
2344
2345
2346
2347 }
2348
2349
2350 //
2351 // Code for hpp::core_idl::PathVector::flatten
2352
2353 // Local call call-back function.
2354 static void
2355 _0RL_lcfn_ae4c3c2f7e6dc235_72000000(omniCallDescriptor* cd, omniServant* svnt)
2356 {
2357 _0RL_cd_ae4c3c2f7e6dc235_91000000* tcd = (_0RL_cd_ae4c3c2f7e6dc235_91000000*)cd;
2358 hpp::core_idl::_impl_PathVector* impl = (hpp::core_idl::_impl_PathVector*) svnt->_ptrToInterface(hpp::core_idl::PathVector::_PD_repoId);
2359 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2360 tcd->result = impl->flatten();
2361 #else
2362 if (!cd->is_upcall())
2363 tcd->result = impl->flatten();
2364 else {
2365 try {
2366 tcd->result = impl->flatten();
2367 }
2368 catch(hpp::Error& ex) {
2369 throw omniORB::StubUserException(ex._NP_duplicate());
2370 }
2371
2372
2373 }
2374 #endif
2375
2376
2377 }
2378
2379 hpp::core_idl::PathVector_ptr hpp::core_idl::_objref_PathVector::flatten()
2380 {
2381 _0RL_cd_ae4c3c2f7e6dc235_91000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_72000000, "flatten", 8);
2382
2383
2384 _invoke(_call_desc);
2385 return _call_desc.result._retn();
2386
2387
2388 }
2389
2390 16 hpp::core_idl::_pof_PathVector::~_pof_PathVector() {}
2391
2392
2393 omniObjRef*
2394 3 hpp::core_idl::_pof_PathVector::newObjRef(omniIOR* ior, omniIdentity* id)
2395 {
2396
2/4
✓ Branch 2 taken 3 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 3 times.
✗ Branch 5 not taken.
3 return new ::hpp::core_idl::_objref_PathVector(ior, id);
2397 }
2398
2399
2400 ::CORBA::Boolean
2401 3 hpp::core_idl::_pof_PathVector::is_a(const char* id) const
2402 {
2403
2/2
✓ Branch 1 taken 2 times.
✓ Branch 2 taken 1 times.
3 if (omni::ptrStrMatch(id, ::hpp::core_idl::PathVector::_PD_repoId))
2404 2 return 1;
2405
1/2
✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
1 if (omni::ptrStrMatch(id, hpp::core_idl::Path::_PD_repoId))
2406 1 return 1;
2407
2408
2409 return 0;
2410 }
2411
2412 const hpp::core_idl::_pof_PathVector _the_pof_hpp_mcore__idl_mPathVector;
2413
2414 4 hpp::core_idl::_impl_PathVector::~_impl_PathVector() {}
2415
2416
2417 ::CORBA::Boolean
2418 3 hpp::core_idl::_impl_PathVector::_dispatch(omniCallHandle& _handle)
2419 {
2420 3 const char* op = _handle.operation_name();
2421
2422
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
3 if (omni::strMatch(op, "numberPaths")) {
2423
2424 _0RL_cd_ae4c3c2f7e6dc235_d1000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_e1000000, "numberPaths", 12, 1);
2425
2426 _handle.upcall(this,_call_desc);
2427 return 1;
2428 }
2429
2430
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
3 if (omni::strMatch(op, "rankAtParam")) {
2431
2432 _0RL_cd_ae4c3c2f7e6dc235_f1000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_02000000, "rankAtParam", 12, 1);
2433
2434 _handle.upcall(this,_call_desc);
2435 return 1;
2436 }
2437
2438
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
3 if (omni::strMatch(op, "pathAtRank")) {
2439
2440 _0RL_cd_ae4c3c2f7e6dc235_12000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_22000000, "pathAtRank", 11, 1);
2441
2442 _handle.upcall(this,_call_desc);
2443 return 1;
2444 }
2445
2446
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
3 if (omni::strMatch(op, "appendPath")) {
2447
2448 _0RL_cd_ae4c3c2f7e6dc235_32000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_42000000, "appendPath", 11, 1);
2449
2450 _handle.upcall(this,_call_desc);
2451 return 1;
2452 }
2453
2454
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
3 if (omni::strMatch(op, "concatenate")) {
2455
2456 _0RL_cd_ae4c3c2f7e6dc235_52000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_62000000, "concatenate", 12, 1);
2457
2458 _handle.upcall(this,_call_desc);
2459 return 1;
2460 }
2461
2462
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
3 if (omni::strMatch(op, "flatten")) {
2463
2464 _0RL_cd_ae4c3c2f7e6dc235_91000000 _call_desc(_0RL_lcfn_ae4c3c2f7e6dc235_72000000, "flatten", 8, 1);
2465
2466 _handle.upcall(this,_call_desc);
2467 return 1;
2468 }
2469
2470
2471 #ifndef _MSC_VER
2472
2/2
✓ Branch 1 taken 2 times.
✓ Branch 2 taken 1 times.
3 if (_impl_Path::_dispatch(_handle)) {
2473 2 return 1;
2474 }
2475 #else
2476 // Work-around for incorrect MSVC code generation.
2477 if (((_impl_Path*)this)->
2478 _impl_Path::_dispatch(_handle)) {
2479 return 1;
2480 }
2481 #endif
2482
2483
2484 1 return 0;
2485 }
2486
2487 void*
2488 6 hpp::core_idl::_impl_PathVector::_ptrToInterface(const char* id)
2489 {
2490
2/2
✓ Branch 0 taken 2 times.
✓ Branch 1 taken 4 times.
6 if (id == ::hpp::core_idl::PathVector::_PD_repoId)
2491 2 return (::hpp::core_idl::_impl_PathVector*) this;
2492
2/2
✓ Branch 0 taken 3 times.
✓ Branch 1 taken 1 times.
4 if (id == ::hpp::core_idl::Path::_PD_repoId)
2493 3 return (::hpp::core_idl::_impl_Path*) this;
2494
2495
2496
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 times.
1 if (id == ::CORBA::Object::_PD_repoId)
2497 return (void*) 1;
2498
2499
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
1 if (omni::strMatch(id, ::hpp::core_idl::PathVector::_PD_repoId))
2500 return (::hpp::core_idl::_impl_PathVector*) this;
2501
1/2
✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
1 if (omni::strMatch(id, ::hpp::core_idl::Path::_PD_repoId))
2502 1 return (::hpp::core_idl::_impl_Path*) this;
2503
2504
2505 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
2506 return (void*) 1;
2507 return 0;
2508 }
2509
2510 const char*
2511 2 hpp::core_idl::_impl_PathVector::_mostDerivedRepoId()
2512 {
2513 2 return ::hpp::core_idl::PathVector::_PD_repoId;
2514 }
2515
2516 hpp::core_idl::path_idl::Hermite_ptr hpp::core_idl::path_idl::Hermite_Helper::_nil() {
2517 return ::hpp::core_idl::path_idl::Hermite::_nil();
2518 }
2519
2520 ::CORBA::Boolean hpp::core_idl::path_idl::Hermite_Helper::is_nil(::hpp::core_idl::path_idl::Hermite_ptr p) {
2521 return ::CORBA::is_nil(p);
2522
2523 }
2524
2525 void hpp::core_idl::path_idl::Hermite_Helper::release(::hpp::core_idl::path_idl::Hermite_ptr p) {
2526 ::CORBA::release(p);
2527 }
2528
2529 void hpp::core_idl::path_idl::Hermite_Helper::marshalObjRef(::hpp::core_idl::path_idl::Hermite_ptr obj, cdrStream& s) {
2530 ::hpp::core_idl::path_idl::Hermite::_marshalObjRef(obj, s);
2531 }
2532
2533 hpp::core_idl::path_idl::Hermite_ptr hpp::core_idl::path_idl::Hermite_Helper::unmarshalObjRef(cdrStream& s) {
2534 return ::hpp::core_idl::path_idl::Hermite::_unmarshalObjRef(s);
2535 }
2536
2537 void hpp::core_idl::path_idl::Hermite_Helper::duplicate(::hpp::core_idl::path_idl::Hermite_ptr obj) {
2538 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
2539 }
2540
2541 hpp::core_idl::path_idl::Hermite_ptr
2542 hpp::core_idl::path_idl::Hermite::_duplicate(::hpp::core_idl::path_idl::Hermite_ptr obj)
2543 {
2544 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
2545 return obj;
2546 }
2547
2548 hpp::core_idl::path_idl::Hermite_ptr
2549 hpp::core_idl::path_idl::Hermite::_narrow(::CORBA::Object_ptr obj)
2550 {
2551 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
2552 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId);
2553 return e ? e : _nil();
2554 }
2555
2556
2557 hpp::core_idl::path_idl::Hermite_ptr
2558 hpp::core_idl::path_idl::Hermite::_unchecked_narrow(::CORBA::Object_ptr obj)
2559 {
2560 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
2561 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId);
2562 return e ? e : _nil();
2563 }
2564
2565 hpp::core_idl::path_idl::Hermite_ptr
2566 hpp::core_idl::path_idl::Hermite::_nil()
2567 {
2568 #ifdef OMNI_UNLOADABLE_STUBS
2569 static _objref_Hermite _the_nil_obj;
2570 return &_the_nil_obj;
2571 #else
2572 static _objref_Hermite* _the_nil_ptr = 0;
2573 if (!_the_nil_ptr) {
2574 omni::nilRefLock().lock();
2575 if (!_the_nil_ptr) {
2576 _the_nil_ptr = new _objref_Hermite;
2577 registerNilCorbaObject(_the_nil_ptr);
2578 }
2579 omni::nilRefLock().unlock();
2580 }
2581 return _the_nil_ptr;
2582 #endif
2583 }
2584
2585 const char* hpp::core_idl::path_idl::Hermite::_PD_repoId = "IDL:hpp/core_idl/path_idl/Hermite:1.0";
2586
2587
2588 hpp::core_idl::path_idl::_objref_Hermite::~_objref_Hermite() {
2589
2590 }
2591
2592
2593 hpp::core_idl::path_idl::_objref_Hermite::_objref_Hermite(omniIOR* ior, omniIdentity* id) :
2594 omniObjRef(::hpp::core_idl::path_idl::Hermite::_PD_repoId, ior, id, 1),
2595 _objref_Path(ior, id)
2596
2597 {
2598 _PR_setobj(this);
2599 }
2600
2601 void*
2602 hpp::core_idl::path_idl::_objref_Hermite::_ptrToObjRef(const char* id)
2603 {
2604 if (id == ::hpp::core_idl::path_idl::Hermite::_PD_repoId)
2605 return (::hpp::core_idl::path_idl::Hermite_ptr) this;
2606 if (id == ::hpp::core_idl::Path::_PD_repoId)
2607 return (::hpp::core_idl::Path_ptr) this;
2608
2609
2610 if (id == ::CORBA::Object::_PD_repoId)
2611 return (::CORBA::Object_ptr) this;
2612
2613 if (omni::strMatch(id, ::hpp::core_idl::path_idl::Hermite::_PD_repoId))
2614 return (::hpp::core_idl::path_idl::Hermite_ptr) this;
2615 if (omni::strMatch(id, ::hpp::core_idl::Path::_PD_repoId))
2616 return (::hpp::core_idl::Path_ptr) this;
2617
2618
2619 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
2620 return (::CORBA::Object_ptr) this;
2621
2622 return 0;
2623 }
2624
2625 16 hpp::core_idl::path_idl::_pof_Hermite::~_pof_Hermite() {}
2626
2627
2628 omniObjRef*
2629 hpp::core_idl::path_idl::_pof_Hermite::newObjRef(omniIOR* ior, omniIdentity* id)
2630 {
2631 return new ::hpp::core_idl::path_idl::_objref_Hermite(ior, id);
2632 }
2633
2634
2635 ::CORBA::Boolean
2636 hpp::core_idl::path_idl::_pof_Hermite::is_a(const char* id) const
2637 {
2638 if (omni::ptrStrMatch(id, ::hpp::core_idl::path_idl::Hermite::_PD_repoId))
2639 return 1;
2640 if (omni::ptrStrMatch(id, hpp::core_idl::Path::_PD_repoId))
2641 return 1;
2642
2643
2644 return 0;
2645 }
2646
2647 const hpp::core_idl::path_idl::_pof_Hermite _the_pof_hpp_mcore__idl_mpath__idl_mHermite;
2648
2649 hpp::core_idl::path_idl::_impl_Hermite::~_impl_Hermite() {}
2650
2651
2652 ::CORBA::Boolean
2653 hpp::core_idl::path_idl::_impl_Hermite::_dispatch(omniCallHandle& _handle)
2654 {
2655
2656
2657
2658 #ifndef _MSC_VER
2659 if (_impl_Path::_dispatch(_handle)) {
2660 return 1;
2661 }
2662 #else
2663 // Work-around for incorrect MSVC code generation.
2664 if (((_impl_Path*)this)->
2665 _impl_Path::_dispatch(_handle)) {
2666 return 1;
2667 }
2668 #endif
2669
2670
2671 return 0;
2672 }
2673
2674 void*
2675 hpp::core_idl::path_idl::_impl_Hermite::_ptrToInterface(const char* id)
2676 {
2677 if (id == ::hpp::core_idl::path_idl::Hermite::_PD_repoId)
2678 return (::hpp::core_idl::path_idl::_impl_Hermite*) this;
2679 if (id == ::hpp::core_idl::Path::_PD_repoId)
2680 return (::hpp::core_idl::_impl_Path*) this;
2681
2682
2683 if (id == ::CORBA::Object::_PD_repoId)
2684 return (void*) 1;
2685
2686 if (omni::strMatch(id, ::hpp::core_idl::path_idl::Hermite::_PD_repoId))
2687 return (::hpp::core_idl::path_idl::_impl_Hermite*) this;
2688 if (omni::strMatch(id, ::hpp::core_idl::Path::_PD_repoId))
2689 return (::hpp::core_idl::_impl_Path*) this;
2690
2691
2692 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
2693 return (void*) 1;
2694 return 0;
2695 }
2696
2697 const char*
2698 hpp::core_idl::path_idl::_impl_Hermite::_mostDerivedRepoId()
2699 {
2700 return ::hpp::core_idl::path_idl::Hermite::_PD_repoId;
2701 }
2702
2703 4 POA_hpp::core_idl::Path::~Path() {}
2704
2705 4 POA_hpp::core_idl::PathVector::~PathVector() {}
2706
2707 POA_hpp::core_idl::path_idl::Hermite::~Hermite() {}
2708
2709