GCC Code Coverage Report


Directory: ./
File: src/hpp/core_idl/paths-idl.hh
Date: 2024-12-13 15:50:05
Exec Total Coverage
Lines: 13 34 38.2%
Branches: 2 16 12.5%

Line Branch Exec Source
1 // This file is generated by omniidl (C++ backend)- omniORB_4_3. Do not edit.
2 #ifndef pp_core_idl__paths_hh__
3 #define pp_core_idl__paths_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_paths
11 #endif
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_paths
14 #endif
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_paths
17 #endif
18
19
20
21 #ifndef pp_core_idl__common_hh_EXTERNAL_GUARD__
22 #define pp_core_idl__common_hh_EXTERNAL_GUARD__
23 #include <hpp/common-idl.hh>
24 #endif
25 #ifndef pp_core_idl__constraints_hh_EXTERNAL_GUARD__
26 #define pp_core_idl__constraints_hh_EXTERNAL_GUARD__
27 #include <hpp/constraints_idl/constraints-idl.hh>
28 #endif
29 #ifndef pp_core_idl____constraints_hh_EXTERNAL_GUARD__
30 #define pp_core_idl____constraints_hh_EXTERNAL_GUARD__
31 #include <hpp/core_idl/_constraints-idl.hh>
32 #endif
33
34
35
36 #ifdef USE_stub_in_nt_dll
37 # ifndef USE_core_stub_in_nt_dll
38 # define USE_core_stub_in_nt_dll
39 # endif
40 # ifndef USE_dyn_stub_in_nt_dll
41 # define USE_dyn_stub_in_nt_dll
42 # endif
43 #endif
44
45 #ifdef _core_attr
46 # error "A local CPP macro _core_attr has already been defined."
47 #else
48 # ifdef USE_core_stub_in_nt_dll
49 # define _core_attr _OMNIORB_NTDLL_IMPORT
50 # else
51 # define _core_attr
52 # endif
53 #endif
54
55 #ifdef _dyn_attr
56 # error "A local CPP macro _dyn_attr has already been defined."
57 #else
58 # ifdef USE_dyn_stub_in_nt_dll
59 # define _dyn_attr _OMNIORB_NTDLL_IMPORT
60 # else
61 # define _dyn_attr
62 # endif
63 #endif
64
65
66
67 _CORBA_MODULE hpp
68
69 _CORBA_MODULE_BEG
70
71 _CORBA_MODULE core_idl
72
73 _CORBA_MODULE_BEG
74
75 typedef ::CORBA::ULongLong size_t;
76 typedef ::CORBA::ULongLong_out size_t_out;
77
78 #ifndef __hpp_mcore__idl_mPathVector__
79 #define __hpp_mcore__idl_mPathVector__
80 class PathVector;
81 class _objref_PathVector;
82 class _impl_PathVector;
83
84 typedef _objref_PathVector* PathVector_ptr;
85 typedef PathVector_ptr PathVectorRef;
86
87 class PathVector_Helper {
88 public:
89 typedef PathVector_ptr _ptr_type;
90
91 static _ptr_type _nil();
92 static _CORBA_Boolean is_nil(_ptr_type);
93 static void release(_ptr_type);
94 static void duplicate(_ptr_type);
95 static void marshalObjRef(_ptr_type, cdrStream&);
96 static _ptr_type unmarshalObjRef(cdrStream&);
97 };
98
99 typedef _CORBA_ObjRef_Var<_objref_PathVector, PathVector_Helper> PathVector_var;
100 typedef _CORBA_ObjRef_OUT_arg<_objref_PathVector,PathVector_Helper > PathVector_out;
101
102 #endif
103
104 #ifndef __hpp_mcore__idl_mConstraintSet__
105 #define __hpp_mcore__idl_mConstraintSet__
106 class ConstraintSet;
107 class _objref_ConstraintSet;
108 class _impl_ConstraintSet;
109
110 typedef _objref_ConstraintSet* ConstraintSet_ptr;
111 typedef ConstraintSet_ptr ConstraintSetRef;
112
113 class ConstraintSet_Helper {
114 public:
115 typedef ConstraintSet_ptr _ptr_type;
116
117 static _ptr_type _nil();
118 static _CORBA_Boolean is_nil(_ptr_type);
119 static void release(_ptr_type);
120 static void duplicate(_ptr_type);
121 static void marshalObjRef(_ptr_type, cdrStream&);
122 static _ptr_type unmarshalObjRef(cdrStream&);
123 };
124
125 typedef _CORBA_ObjRef_Var<_objref_ConstraintSet, ConstraintSet_Helper> ConstraintSet_var;
126 typedef _CORBA_ObjRef_OUT_arg<_objref_ConstraintSet,ConstraintSet_Helper > ConstraintSet_out;
127
128 #endif
129
130 #ifndef __hpp_mcore__idl_mPath__
131 #define __hpp_mcore__idl_mPath__
132 class Path;
133 class _objref_Path;
134 class _impl_Path;
135
136 typedef _objref_Path* Path_ptr;
137 typedef Path_ptr PathRef;
138
139 class Path_Helper {
140 public:
141 typedef Path_ptr _ptr_type;
142
143 static _ptr_type _nil();
144 static _CORBA_Boolean is_nil(_ptr_type);
145 static void release(_ptr_type);
146 static void duplicate(_ptr_type);
147 static void marshalObjRef(_ptr_type, cdrStream&);
148 static _ptr_type unmarshalObjRef(cdrStream&);
149 };
150
151 typedef _CORBA_ObjRef_Var<_objref_Path, Path_Helper> Path_var;
152 typedef _CORBA_ObjRef_OUT_arg<_objref_Path,Path_Helper > Path_out;
153
154 #endif
155
156 // interface Path
157 class Path {
158 public:
159 // Declarations for this interface type.
160 typedef Path_ptr _ptr_type;
161 typedef Path_var _var_type;
162
163 static _ptr_type _duplicate(_ptr_type);
164 static _ptr_type _narrow(::CORBA::Object_ptr);
165 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
166
167 static _ptr_type _nil();
168
169 static inline void _marshalObjRef(_ptr_type, cdrStream&);
170
171 1 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
172 1 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
173
1/2
✓ Branch 0 taken 1 times.
✗ Branch 1 not taken.
1 if (o)
174 1 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
175 else
176 return _nil();
177 }
178
179 static inline _ptr_type _fromObjRef(omniObjRef* o) {
180 if (o)
181 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
182 else
183 return _nil();
184 }
185
186 static _core_attr const char* _PD_repoId;
187
188 // Other IDL defined within this scope.
189
190 };
191
192 class _objref_Path :
193 public virtual ::CORBA::Object,
194 public virtual omniObjRef
195 {
196 public:
197 // IDL operations
198 void deleteThis();
199 ::CORBA::Boolean deleteIfExpired();
200 void persistantStorage(::CORBA::Boolean persistant);
201 size_type outputSize();
202 size_type outputDerivativeSize();
203 value_type length();
204 floatSeq* initial();
205 floatSeq* end();
206 ConstraintSet_ptr constraints();
207 char* str();
208 floatSeq* call(::hpp::value_type t, ::CORBA::Boolean& success);
209 floatSeq* at(::hpp::value_type t, ::CORBA::Boolean& success);
210 floatSeq* derivative(::hpp::value_type t, ::CORBA::Short order);
211 Path_ptr extract(::hpp::value_type tmin, ::hpp::value_type tmax);
212 PathVector_ptr asVector();
213 Path_ptr reverse();
214
215 // Constructors
216
1/2
✓ Branch 2 taken 2 times.
✗ Branch 3 not taken.
4 inline _objref_Path() { _PR_setobj(0); } // nil
217 _objref_Path(omniIOR*, omniIdentity*);
218
219 protected:
220 virtual ~_objref_Path();
221
222
223 private:
224 virtual void* _ptrToObjRef(const char*);
225
226 _objref_Path(const _objref_Path&);
227 _objref_Path& operator = (const _objref_Path&);
228 // not implemented
229
230 friend class Path;
231 };
232
233 class _pof_Path : public _OMNI_NS(proxyObjectFactory) {
234 public:
235 8 inline _pof_Path() : _OMNI_NS(proxyObjectFactory)(Path::_PD_repoId) {}
236 virtual ~_pof_Path();
237
238 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
239 virtual _CORBA_Boolean is_a(const char*) const;
240 };
241
242 class _impl_Path :
243 public virtual omniServant
244 {
245 public:
246 virtual ~_impl_Path();
247
248 virtual void deleteThis() = 0;
249 virtual ::CORBA::Boolean deleteIfExpired() = 0;
250 virtual void persistantStorage(::CORBA::Boolean persistant) = 0;
251 virtual size_type outputSize() = 0;
252 virtual size_type outputDerivativeSize() = 0;
253 virtual value_type length() = 0;
254 virtual floatSeq* initial() = 0;
255 virtual floatSeq* end() = 0;
256 virtual ConstraintSet_ptr constraints() = 0;
257 virtual char* str() = 0;
258 virtual floatSeq* call(::hpp::value_type t, ::CORBA::Boolean& success) = 0;
259 virtual floatSeq* at(::hpp::value_type t, ::CORBA::Boolean& success) = 0;
260 virtual floatSeq* derivative(::hpp::value_type t, ::CORBA::Short order) = 0;
261 virtual Path_ptr extract(::hpp::value_type tmin, ::hpp::value_type tmax) = 0;
262 virtual PathVector_ptr asVector() = 0;
263 virtual Path_ptr reverse() = 0;
264
265 public: // Really protected, workaround for xlC
266 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
267
268 private:
269 virtual void* _ptrToInterface(const char*);
270 virtual const char* _mostDerivedRepoId();
271
272 };
273
274
275 #ifndef __hpp_mcore__idl_mPathVector__
276 #define __hpp_mcore__idl_mPathVector__
277 class PathVector;
278 class _objref_PathVector;
279 class _impl_PathVector;
280
281 typedef _objref_PathVector* PathVector_ptr;
282 typedef PathVector_ptr PathVectorRef;
283
284 class PathVector_Helper {
285 public:
286 typedef PathVector_ptr _ptr_type;
287
288 static _ptr_type _nil();
289 static _CORBA_Boolean is_nil(_ptr_type);
290 static void release(_ptr_type);
291 static void duplicate(_ptr_type);
292 static void marshalObjRef(_ptr_type, cdrStream&);
293 static _ptr_type unmarshalObjRef(cdrStream&);
294 };
295
296 typedef _CORBA_ObjRef_Var<_objref_PathVector, PathVector_Helper> PathVector_var;
297 typedef _CORBA_ObjRef_OUT_arg<_objref_PathVector,PathVector_Helper > PathVector_out;
298
299 #endif
300
301 // interface PathVector
302 class PathVector {
303 public:
304 // Declarations for this interface type.
305 typedef PathVector_ptr _ptr_type;
306 typedef PathVector_var _var_type;
307
308 static _ptr_type _duplicate(_ptr_type);
309 static _ptr_type _narrow(::CORBA::Object_ptr);
310 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
311
312 static _ptr_type _nil();
313
314 static inline void _marshalObjRef(_ptr_type, cdrStream&);
315
316 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
317 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
318 if (o)
319 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
320 else
321 return _nil();
322 }
323
324 static inline _ptr_type _fromObjRef(omniObjRef* o) {
325 if (o)
326 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
327 else
328 return _nil();
329 }
330
331 static _core_attr const char* _PD_repoId;
332
333 // Other IDL defined within this scope.
334
335 };
336
337 class _objref_PathVector :
338 public virtual _objref_Path
339 {
340 public:
341 // IDL operations
342 size_t numberPaths();
343 size_t rankAtParam(::hpp::value_type param, ::hpp::value_type& localParam);
344 Path_ptr pathAtRank(::hpp::core_idl::size_t rank);
345 void appendPath(::hpp::core_idl::Path_ptr p);
346 void concatenate(::hpp::core_idl::PathVector_ptr p);
347 PathVector_ptr flatten();
348
349 // Constructors
350 inline _objref_PathVector() { _PR_setobj(0); } // nil
351 _objref_PathVector(omniIOR*, omniIdentity*);
352
353 protected:
354 virtual ~_objref_PathVector();
355
356
357 private:
358 virtual void* _ptrToObjRef(const char*);
359
360 _objref_PathVector(const _objref_PathVector&);
361 _objref_PathVector& operator = (const _objref_PathVector&);
362 // not implemented
363
364 friend class PathVector;
365 };
366
367 class _pof_PathVector : public _OMNI_NS(proxyObjectFactory) {
368 public:
369 8 inline _pof_PathVector() : _OMNI_NS(proxyObjectFactory)(PathVector::_PD_repoId) {}
370 virtual ~_pof_PathVector();
371
372 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
373 virtual _CORBA_Boolean is_a(const char*) const;
374 };
375
376 class _impl_PathVector :
377 public virtual _impl_Path
378 {
379 public:
380 virtual ~_impl_PathVector();
381
382 virtual size_t numberPaths() = 0;
383 virtual size_t rankAtParam(::hpp::value_type param, ::hpp::value_type& localParam) = 0;
384 virtual Path_ptr pathAtRank(::hpp::core_idl::size_t rank) = 0;
385 virtual void appendPath(::hpp::core_idl::Path_ptr p) = 0;
386 virtual void concatenate(::hpp::core_idl::PathVector_ptr p) = 0;
387 virtual PathVector_ptr flatten() = 0;
388
389 public: // Really protected, workaround for xlC
390 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
391
392 private:
393 virtual void* _ptrToInterface(const char*);
394 virtual const char* _mostDerivedRepoId();
395
396 };
397
398
399 _CORBA_MODULE path_idl
400
401 _CORBA_MODULE_BEG
402
403 #ifndef __hpp_mcore__idl_mpath__idl_mHermite__
404 #define __hpp_mcore__idl_mpath__idl_mHermite__
405 class Hermite;
406 class _objref_Hermite;
407 class _impl_Hermite;
408
409 typedef _objref_Hermite* Hermite_ptr;
410 typedef Hermite_ptr HermiteRef;
411
412 class Hermite_Helper {
413 public:
414 typedef Hermite_ptr _ptr_type;
415
416 static _ptr_type _nil();
417 static _CORBA_Boolean is_nil(_ptr_type);
418 static void release(_ptr_type);
419 static void duplicate(_ptr_type);
420 static void marshalObjRef(_ptr_type, cdrStream&);
421 static _ptr_type unmarshalObjRef(cdrStream&);
422 };
423
424 typedef _CORBA_ObjRef_Var<_objref_Hermite, Hermite_Helper> Hermite_var;
425 typedef _CORBA_ObjRef_OUT_arg<_objref_Hermite,Hermite_Helper > Hermite_out;
426
427 #endif
428
429 // interface Hermite
430 class Hermite {
431 public:
432 // Declarations for this interface type.
433 typedef Hermite_ptr _ptr_type;
434 typedef Hermite_var _var_type;
435
436 static _ptr_type _duplicate(_ptr_type);
437 static _ptr_type _narrow(::CORBA::Object_ptr);
438 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
439
440 static _ptr_type _nil();
441
442 static inline void _marshalObjRef(_ptr_type, cdrStream&);
443
444 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
445 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
446 if (o)
447 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
448 else
449 return _nil();
450 }
451
452 static inline _ptr_type _fromObjRef(omniObjRef* o) {
453 if (o)
454 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
455 else
456 return _nil();
457 }
458
459 static _core_attr const char* _PD_repoId;
460
461 // Other IDL defined within this scope.
462
463 };
464
465 class _objref_Hermite :
466 public virtual _objref_Path
467 {
468 public:
469 // IDL operations
470
471
472 // Constructors
473 inline _objref_Hermite() { _PR_setobj(0); } // nil
474 _objref_Hermite(omniIOR*, omniIdentity*);
475
476 protected:
477 virtual ~_objref_Hermite();
478
479
480 private:
481 virtual void* _ptrToObjRef(const char*);
482
483 _objref_Hermite(const _objref_Hermite&);
484 _objref_Hermite& operator = (const _objref_Hermite&);
485 // not implemented
486
487 friend class Hermite;
488 };
489
490 class _pof_Hermite : public _OMNI_NS(proxyObjectFactory) {
491 public:
492 8 inline _pof_Hermite() : _OMNI_NS(proxyObjectFactory)(Hermite::_PD_repoId) {}
493 virtual ~_pof_Hermite();
494
495 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
496 virtual _CORBA_Boolean is_a(const char*) const;
497 };
498
499 class _impl_Hermite :
500 public virtual _impl_Path
501 {
502 public:
503 virtual ~_impl_Hermite();
504
505
506
507 public: // Really protected, workaround for xlC
508 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
509
510 private:
511 virtual void* _ptrToInterface(const char*);
512 virtual const char* _mostDerivedRepoId();
513
514 };
515
516
517 _CORBA_MODULE_END
518
519 _CORBA_MODULE_END
520
521 _CORBA_MODULE_END
522
523
524
525 _CORBA_MODULE POA_hpp
526 _CORBA_MODULE_BEG
527
528 _CORBA_MODULE core_idl
529 _CORBA_MODULE_BEG
530
531 class Path :
532 public virtual hpp::core_idl::_impl_Path,
533 public virtual ::PortableServer::ServantBase
534 {
535 public:
536 virtual ~Path();
537
538 inline ::hpp::core_idl::Path_ptr _this() {
539 return (::hpp::core_idl::Path_ptr) _do_this(::hpp::core_idl::Path::_PD_repoId);
540 }
541 };
542
543 class PathVector :
544 public virtual hpp::core_idl::_impl_PathVector,
545 public virtual Path
546 {
547 public:
548 virtual ~PathVector();
549
550 2 inline ::hpp::core_idl::PathVector_ptr _this() {
551 2 return (::hpp::core_idl::PathVector_ptr) _do_this(::hpp::core_idl::PathVector::_PD_repoId);
552 }
553 };
554
555 _CORBA_MODULE path_idl
556 _CORBA_MODULE_BEG
557
558 class Hermite :
559 public virtual hpp::core_idl::path_idl::_impl_Hermite,
560 public virtual Path
561 {
562 public:
563 virtual ~Hermite();
564
565 inline ::hpp::core_idl::path_idl::Hermite_ptr _this() {
566 return (::hpp::core_idl::path_idl::Hermite_ptr) _do_this(::hpp::core_idl::path_idl::Hermite::_PD_repoId);
567 }
568 };
569
570 _CORBA_MODULE_END
571
572 _CORBA_MODULE_END
573
574 _CORBA_MODULE_END
575
576
577
578 _CORBA_MODULE OBV_hpp
579 _CORBA_MODULE_BEG
580
581 _CORBA_MODULE core_idl
582 _CORBA_MODULE_BEG
583
584 _CORBA_MODULE path_idl
585 _CORBA_MODULE_BEG
586
587 _CORBA_MODULE_END
588
589 _CORBA_MODULE_END
590
591 _CORBA_MODULE_END
592
593
594
595
596
597 #undef _core_attr
598 #undef _dyn_attr
599
600
601
602 inline void
603 2 hpp::core_idl::Path::_marshalObjRef(::hpp::core_idl::Path_ptr obj, cdrStream& s) {
604 2 omniObjRef::_marshal(obj->_PR_getobj(),s);
605 2 }
606
607 inline void
608 hpp::core_idl::PathVector::_marshalObjRef(::hpp::core_idl::PathVector_ptr obj, cdrStream& s) {
609 omniObjRef::_marshal(obj->_PR_getobj(),s);
610 }
611
612 inline void
613 hpp::core_idl::path_idl::Hermite::_marshalObjRef(::hpp::core_idl::path_idl::Hermite_ptr obj, cdrStream& s) {
614 omniObjRef::_marshal(obj->_PR_getobj(),s);
615 }
616
617
618
619 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_paths
620 # undef USE_stub_in_nt_dll
621 # undef USE_stub_in_nt_dll_NOT_DEFINED_paths
622 #endif
623 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_paths
624 # undef USE_core_stub_in_nt_dll
625 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_paths
626 #endif
627 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_paths
628 # undef USE_dyn_stub_in_nt_dll
629 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_paths
630 #endif
631
632 #endif // __paths_hh__
633
634