00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ___HxCorbaPolyline2d_h__
00016 #define ___HxCorbaPolyline2d_h__
00017
00018 #ifndef OB_INTEGER_VERSION
00019 # error No ORBacus version defined! Is <OB/CORBA.h> included?
00020 #endif
00021
00022 #ifndef OB_NO_VERSION_CHECK
00023 # if (OB_INTEGER_VERSION != 4000500L)
00024 # error ORBacus version mismatch!
00025 # endif
00026 #endif
00027
00028 namespace HxCorba
00029 {
00030
00031 class Polyline2dData;
00032 typedef Polyline2dData* Polyline2dData_ptr;
00033 typedef Polyline2dData* Polyline2dDataRef;
00034
00035 extern OB::TypeCodeConst _tc_Polyline2dData;
00036
00037 class Polyline2d;
00038 typedef Polyline2d* Polyline2d_ptr;
00039 typedef Polyline2d* Polyline2dRef;
00040
00041 extern OB::TypeCodeConst _tc_Polyline2d;
00042
00043 class PolylineFactory;
00044 typedef PolylineFactory* PolylineFactory_ptr;
00045 typedef PolylineFactory* PolylineFactoryRef;
00046
00047 extern OB::TypeCodeConst _tc_PolylineFactory;
00048
00049 }
00050
00051 void OBDuplicate(HxCorba::Polyline2dData_ptr);
00052 void OBRelease(HxCorba::Polyline2dData_ptr);
00053
00054 void OBMarshal(HxCorba::Polyline2dData_ptr, OB::OutputStreamImpl*);
00055 void OBUnmarshal(HxCorba::Polyline2dData_ptr&, OB::InputStreamImpl*);
00056
00057 void OBDuplicate(HxCorba::Polyline2d_ptr);
00058 void OBRelease(HxCorba::Polyline2d_ptr);
00059
00060 void OBMarshal(HxCorba::Polyline2d_ptr, OB::OutputStreamImpl*);
00061 void OBUnmarshal(HxCorba::Polyline2d_ptr&, OB::InputStreamImpl*);
00062
00063 void OBDuplicate(HxCorba::PolylineFactory_ptr);
00064 void OBRelease(HxCorba::PolylineFactory_ptr);
00065
00066 void OBMarshal(HxCorba::PolylineFactory_ptr, OB::OutputStreamImpl*);
00067 void OBUnmarshal(HxCorba::PolylineFactory_ptr&, OB::InputStreamImpl*);
00068
00069 namespace HxCorba
00070 {
00071
00072 typedef OB::ObjVar< Polyline2dData > Polyline2dData_var;
00073 typedef OB::ObjOut< Polyline2dData > Polyline2dData_out;
00074
00075 typedef OB::ObjVar< Polyline2d > Polyline2d_var;
00076 typedef OB::ObjOut< Polyline2d > Polyline2d_out;
00077
00078 typedef OB::ObjVar< PolylineFactory > PolylineFactory_var;
00079 typedef OB::ObjOut< PolylineFactory > PolylineFactory_out;
00080
00081 }
00082
00083 namespace OBStubImpl_HxCorba
00084 {
00085
00086 class Polyline2dData;
00087 typedef Polyline2dData* Polyline2dData_ptr;
00088
00089 class Polyline2d;
00090 typedef Polyline2d* Polyline2d_ptr;
00091
00092 class PolylineFactory;
00093 typedef PolylineFactory* PolylineFactory_ptr;
00094
00095 }
00096
00097 void OBDuplicate(OBStubImpl_HxCorba::Polyline2dData_ptr);
00098 void OBRelease(OBStubImpl_HxCorba::Polyline2dData_ptr);
00099
00100 void OBDuplicate(OBStubImpl_HxCorba::Polyline2d_ptr);
00101 void OBRelease(OBStubImpl_HxCorba::Polyline2d_ptr);
00102
00103 void OBDuplicate(OBStubImpl_HxCorba::PolylineFactory_ptr);
00104 void OBRelease(OBStubImpl_HxCorba::PolylineFactory_ptr);
00105
00106 namespace OBStubImpl_HxCorba
00107 {
00108
00109 typedef OB::ObjVar< Polyline2dData > Polyline2dData_var;
00110
00111 typedef OB::ObjVar< Polyline2d > Polyline2d_var;
00112
00113 typedef OB::ObjVar< PolylineFactory > PolylineFactory_var;
00114
00115 }
00116
00117
00118
00119
00120 namespace HxCorba
00121 {
00122
00123
00124
00125
00126 struct PointR2;
00127 typedef OB::FixVar< PointR2 > PointR2_var;
00128 typedef PointR2& PointR2_out;
00129
00130 struct PointR2
00131 {
00132 typedef PointR2_var _var_type;
00133
00134 CORBA::Double x;
00135 CORBA::Double y;
00136
00137 void _OB_marshal(OB::OutputStreamImpl*) const;
00138 static void _OB_unmarshal(PointR2&, OB::InputStreamImpl*);
00139 };
00140
00141 extern OB::TypeCodeConst _tc_PointR2;
00142
00143
00144
00145
00146 class OBUnique_PointR2Seq { };
00147
00148 typedef OB::FixSeq< PointR2, OBUnique_PointR2Seq > PointR2Seq;
00149 typedef OB::SeqVar< OB::FixSeq< PointR2, OBUnique_PointR2Seq > > PointR2Seq_var;
00150 typedef OB::SeqOut< OB::FixSeq< PointR2, OBUnique_PointR2Seq > > PointR2Seq_out;
00151 extern OB::TypeCodeConst _tc_PointR2Seq;
00152
00153 struct OBInfo_PointR2Seq : public OB::ConstructedInfo
00154 {
00155 OBInfo_PointR2Seq() { }
00156
00157 virtual void free(void* p) const
00158 {
00159 delete (PointR2Seq*)p;
00160 }
00161
00162 virtual void* dup(const void* p) const
00163 {
00164 return new PointR2Seq(*(const PointR2Seq*)p);
00165 }
00166
00167 virtual void marshal(const void*, OB::OutputStreamImpl*) const;
00168 virtual void unmarshal(void*, OB::InputStreamImpl*) const;
00169 };
00170
00171
00172
00173
00174 class Polyline2dData : virtual public CORBA::Object
00175 {
00176 Polyline2dData(const Polyline2dData&);
00177 void operator=(const Polyline2dData&);
00178
00179 static const char* ids_[];
00180
00181 protected:
00182
00183 virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00184
00185 public:
00186
00187 Polyline2dData() { }
00188 virtual ~Polyline2dData() { }
00189
00190 typedef Polyline2dData_ptr _ptr_type;
00191 typedef Polyline2dData_var _var_type;
00192
00193 static inline Polyline2dData_ptr
00194 _duplicate(Polyline2dData_ptr p)
00195 {
00196 if(p)
00197 p -> _OB_incRef();
00198 return p;
00199 }
00200
00201 static inline Polyline2dData_ptr
00202 _nil()
00203 {
00204 return 0;
00205 }
00206
00207 static Polyline2dData_ptr _narrow(CORBA::Object_ptr);
00208 static Polyline2dData_ptr _narrow(CORBA::AbstractBase_ptr);
00209
00210 virtual const char** _OB_ids() const;
00211 static const char** _OB_staticIds();
00212
00213
00214
00215
00216 CORBA::Boolean getClosed();
00217
00218
00219
00220
00221 CORBA::Long getNrPoints();
00222
00223
00224
00225
00226 PointR2 getPoint(CORBA::Long i);
00227
00228
00229
00230
00231 PointR2Seq* getPoints();
00232 };
00233
00234
00235
00236
00237 class Polyline2d : virtual public HxCorba::Polyline2dData
00238 {
00239 Polyline2d(const Polyline2d&);
00240 void operator=(const Polyline2d&);
00241
00242 static const char* ids_[];
00243
00244 protected:
00245
00246 virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00247
00248 public:
00249
00250 Polyline2d() { }
00251 virtual ~Polyline2d() { }
00252
00253 typedef Polyline2d_ptr _ptr_type;
00254 typedef Polyline2d_var _var_type;
00255
00256 static inline Polyline2d_ptr
00257 _duplicate(Polyline2d_ptr p)
00258 {
00259 if(p)
00260 p -> _OB_incRef();
00261 return p;
00262 }
00263
00264 static inline Polyline2d_ptr
00265 _nil()
00266 {
00267 return 0;
00268 }
00269
00270 static Polyline2d_ptr _narrow(CORBA::Object_ptr);
00271 static Polyline2d_ptr _narrow(CORBA::AbstractBase_ptr);
00272
00273 virtual const char** _OB_ids() const;
00274 static const char** _OB_staticIds();
00275 };
00276
00277
00278
00279
00280 class PolylineFactory : virtual public CORBA::Object
00281 {
00282 PolylineFactory(const PolylineFactory&);
00283 void operator=(const PolylineFactory&);
00284
00285 static const char* ids_[];
00286
00287 protected:
00288
00289 virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00290
00291 public:
00292
00293 PolylineFactory() { }
00294 virtual ~PolylineFactory() { }
00295
00296 typedef PolylineFactory_ptr _ptr_type;
00297 typedef PolylineFactory_var _var_type;
00298
00299 static inline PolylineFactory_ptr
00300 _duplicate(PolylineFactory_ptr p)
00301 {
00302 if(p)
00303 p -> _OB_incRef();
00304 return p;
00305 }
00306
00307 static inline PolylineFactory_ptr
00308 _nil()
00309 {
00310 return 0;
00311 }
00312
00313 static PolylineFactory_ptr _narrow(CORBA::Object_ptr);
00314 static PolylineFactory_ptr _narrow(CORBA::AbstractBase_ptr);
00315
00316 virtual const char** _OB_ids() const;
00317 static const char** _OB_staticIds();
00318
00319
00320
00321
00322 Polyline2d_ptr importPolyline(Polyline2dData_ptr data);
00323
00324
00325
00326
00327 Polyline2d_ptr createPolyline(const PointR2Seq& points,
00328 CORBA::Boolean closed);
00329 };
00330
00331 }
00332
00333
00334
00335
00336 namespace OBStubImpl_HxCorba
00337 {
00338
00339
00340
00341
00342 class Polyline2dData : virtual public OB::StubImplBase
00343 {
00344 Polyline2dData(const Polyline2dData&);
00345 void operator=(const Polyline2dData&);
00346
00347 protected:
00348
00349 Polyline2dData() { }
00350
00351 public:
00352
00353 static inline Polyline2dData_ptr
00354 _duplicate(Polyline2dData_ptr p)
00355 {
00356 if(p)
00357 p -> _OB_incRef();
00358 return p;
00359 }
00360
00361 static inline Polyline2dData_ptr
00362 _nil()
00363 {
00364 return 0;
00365 }
00366
00367
00368
00369
00370 virtual CORBA::Boolean getClosed() = 0;
00371
00372
00373
00374
00375 virtual CORBA::Long getNrPoints() = 0;
00376
00377
00378
00379
00380 virtual HxCorba::PointR2 getPoint(CORBA::Long i) = 0;
00381
00382
00383
00384
00385 virtual HxCorba::PointR2Seq* getPoints() = 0;
00386 };
00387
00388
00389
00390
00391 class Polyline2d : virtual public OBStubImpl_HxCorba::Polyline2dData
00392 {
00393 Polyline2d(const Polyline2d&);
00394 void operator=(const Polyline2d&);
00395
00396 protected:
00397
00398 Polyline2d() { }
00399
00400 public:
00401
00402 static inline Polyline2d_ptr
00403 _duplicate(Polyline2d_ptr p)
00404 {
00405 if(p)
00406 p -> _OB_incRef();
00407 return p;
00408 }
00409
00410 static inline Polyline2d_ptr
00411 _nil()
00412 {
00413 return 0;
00414 }
00415 };
00416
00417
00418
00419
00420 class PolylineFactory : virtual public OB::StubImplBase
00421 {
00422 PolylineFactory(const PolylineFactory&);
00423 void operator=(const PolylineFactory&);
00424
00425 protected:
00426
00427 PolylineFactory() { }
00428
00429 public:
00430
00431 static inline PolylineFactory_ptr
00432 _duplicate(PolylineFactory_ptr p)
00433 {
00434 if(p)
00435 p -> _OB_incRef();
00436 return p;
00437 }
00438
00439 static inline PolylineFactory_ptr
00440 _nil()
00441 {
00442 return 0;
00443 }
00444
00445
00446
00447
00448 virtual HxCorba::Polyline2d_ptr importPolyline(HxCorba::Polyline2dData_ptr data) = 0;
00449
00450
00451
00452
00453 virtual HxCorba::Polyline2d_ptr createPolyline(const HxCorba::PointR2Seq& points,
00454 CORBA::Boolean closed) = 0;
00455 };
00456
00457 }
00458
00459
00460
00461
00462 namespace OBMarshalStubImpl_HxCorba
00463 {
00464
00465
00466
00467
00468 class Polyline2dData : virtual public OBStubImpl_HxCorba::Polyline2dData,
00469 virtual public OB::MarshalStubImpl
00470 {
00471 Polyline2dData(const Polyline2dData&);
00472 void operator=(const Polyline2dData&);
00473
00474 protected:
00475
00476 Polyline2dData() { }
00477 friend class HxCorba::Polyline2dData;
00478
00479 public:
00480
00481
00482
00483
00484 virtual CORBA::Boolean getClosed();
00485
00486
00487
00488
00489 virtual CORBA::Long getNrPoints();
00490
00491
00492
00493
00494 virtual HxCorba::PointR2 getPoint(CORBA::Long i);
00495
00496
00497
00498
00499 virtual HxCorba::PointR2Seq* getPoints();
00500 };
00501
00502
00503
00504
00505 class Polyline2d : virtual public OBStubImpl_HxCorba::Polyline2d,
00506 virtual public OBMarshalStubImpl_HxCorba::Polyline2dData
00507 {
00508 Polyline2d(const Polyline2d&);
00509 void operator=(const Polyline2d&);
00510
00511 protected:
00512
00513 Polyline2d() { }
00514 friend class HxCorba::Polyline2d;
00515
00516 public:
00517 };
00518
00519
00520
00521
00522 class PolylineFactory : virtual public OBStubImpl_HxCorba::PolylineFactory,
00523 virtual public OB::MarshalStubImpl
00524 {
00525 PolylineFactory(const PolylineFactory&);
00526 void operator=(const PolylineFactory&);
00527
00528 protected:
00529
00530 PolylineFactory() { }
00531 friend class HxCorba::PolylineFactory;
00532
00533 public:
00534
00535
00536
00537
00538 virtual HxCorba::Polyline2d_ptr importPolyline(HxCorba::Polyline2dData_ptr data);
00539
00540
00541
00542
00543 virtual HxCorba::Polyline2d_ptr createPolyline(const HxCorba::PointR2Seq& points,
00544 CORBA::Boolean closed);
00545 };
00546
00547 }
00548
00549
00550
00551
00552 namespace OBV_HxCorba
00553 {
00554
00555 }
00556
00557
00558
00559
00560 void operator<<=(CORBA::Any&, HxCorba::PointR2*);
00561 void operator<<=(CORBA::Any&, const HxCorba::PointR2&);
00562 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::PointR2*&);
00563
00564 inline void
00565 operator<<=(CORBA::Any_var& any, HxCorba::PointR2* val)
00566 {
00567 any.inout() <<= val;
00568 }
00569
00570 inline void
00571 operator<<=(CORBA::Any_var& any, const HxCorba::PointR2& val)
00572 {
00573 any.inout() <<= val;
00574 }
00575
00576 inline CORBA::Boolean
00577 operator>>=(const CORBA::Any_var& any, const HxCorba::PointR2*& val)
00578 {
00579 return any.in() >>= val;
00580 }
00581
00582
00583
00584
00585 void operator<<=(CORBA::Any&, HxCorba::PointR2Seq*);
00586 void operator<<=(CORBA::Any&, const HxCorba::PointR2Seq&);
00587 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::PointR2Seq*&);
00588
00589 inline void
00590 operator<<=(CORBA::Any_var& any, HxCorba::PointR2Seq* val)
00591 {
00592 any.inout() <<= val;
00593 }
00594
00595 inline void
00596 operator<<=(CORBA::Any_var& any, const HxCorba::PointR2Seq& val)
00597 {
00598 any.inout() <<= val;
00599 }
00600
00601 inline CORBA::Boolean
00602 operator>>=(const CORBA::Any_var& any, const HxCorba::PointR2Seq*& val)
00603 {
00604 return any.in() >>= val;
00605 }
00606
00607
00608
00609
00610 namespace CORBA
00611 {
00612
00613 inline void
00614 release(HxCorba::Polyline2dData_ptr p)
00615 {
00616 if(p)
00617 p -> _OB_decRef();
00618 }
00619
00620 inline Boolean
00621 is_nil(HxCorba::Polyline2dData_ptr p)
00622 {
00623 return p == 0;
00624 }
00625
00626 inline void
00627 release(OBStubImpl_HxCorba::Polyline2dData_ptr p)
00628 {
00629 if(p)
00630 p -> _OB_decRef();
00631 }
00632
00633 inline Boolean
00634 is_nil(OBStubImpl_HxCorba::Polyline2dData_ptr p)
00635 {
00636 return p == 0;
00637 }
00638
00639 }
00640
00641 void operator<<=(CORBA::Any&, HxCorba::Polyline2dData_ptr*);
00642 void operator<<=(CORBA::Any&, HxCorba::Polyline2dData_ptr);
00643 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::Polyline2dData_ptr&);
00644
00645 inline void
00646 operator<<=(CORBA::Any_var& any, HxCorba::Polyline2dData_ptr* val)
00647 {
00648 any.inout() <<= val;
00649 }
00650
00651 inline void
00652 operator<<=(CORBA::Any_var& any, HxCorba::Polyline2dData_ptr val)
00653 {
00654 any.inout() <<= val;
00655 }
00656
00657 inline CORBA::Boolean
00658 operator>>=(const CORBA::Any_var& any, HxCorba::Polyline2dData_ptr& val)
00659 {
00660 return any.in() >>= val;
00661 }
00662
00663
00664
00665
00666 namespace CORBA
00667 {
00668
00669 inline void
00670 release(HxCorba::Polyline2d_ptr p)
00671 {
00672 if(p)
00673 p -> _OB_decRef();
00674 }
00675
00676 inline Boolean
00677 is_nil(HxCorba::Polyline2d_ptr p)
00678 {
00679 return p == 0;
00680 }
00681
00682 inline void
00683 release(OBStubImpl_HxCorba::Polyline2d_ptr p)
00684 {
00685 if(p)
00686 p -> _OB_decRef();
00687 }
00688
00689 inline Boolean
00690 is_nil(OBStubImpl_HxCorba::Polyline2d_ptr p)
00691 {
00692 return p == 0;
00693 }
00694
00695 }
00696
00697 void operator<<=(CORBA::Any&, HxCorba::Polyline2d_ptr*);
00698 void operator<<=(CORBA::Any&, HxCorba::Polyline2d_ptr);
00699 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::Polyline2d_ptr&);
00700
00701 inline void
00702 operator<<=(CORBA::Any_var& any, HxCorba::Polyline2d_ptr* val)
00703 {
00704 any.inout() <<= val;
00705 }
00706
00707 inline void
00708 operator<<=(CORBA::Any_var& any, HxCorba::Polyline2d_ptr val)
00709 {
00710 any.inout() <<= val;
00711 }
00712
00713 inline CORBA::Boolean
00714 operator>>=(const CORBA::Any_var& any, HxCorba::Polyline2d_ptr& val)
00715 {
00716 return any.in() >>= val;
00717 }
00718
00719
00720
00721
00722 namespace CORBA
00723 {
00724
00725 inline void
00726 release(HxCorba::PolylineFactory_ptr p)
00727 {
00728 if(p)
00729 p -> _OB_decRef();
00730 }
00731
00732 inline Boolean
00733 is_nil(HxCorba::PolylineFactory_ptr p)
00734 {
00735 return p == 0;
00736 }
00737
00738 inline void
00739 release(OBStubImpl_HxCorba::PolylineFactory_ptr p)
00740 {
00741 if(p)
00742 p -> _OB_decRef();
00743 }
00744
00745 inline Boolean
00746 is_nil(OBStubImpl_HxCorba::PolylineFactory_ptr p)
00747 {
00748 return p == 0;
00749 }
00750
00751 }
00752
00753 void operator<<=(CORBA::Any&, HxCorba::PolylineFactory_ptr*);
00754 void operator<<=(CORBA::Any&, HxCorba::PolylineFactory_ptr);
00755 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::PolylineFactory_ptr&);
00756
00757 inline void
00758 operator<<=(CORBA::Any_var& any, HxCorba::PolylineFactory_ptr* val)
00759 {
00760 any.inout() <<= val;
00761 }
00762
00763 inline void
00764 operator<<=(CORBA::Any_var& any, HxCorba::PolylineFactory_ptr val)
00765 {
00766 any.inout() <<= val;
00767 }
00768
00769 inline CORBA::Boolean
00770 operator>>=(const CORBA::Any_var& any, HxCorba::PolylineFactory_ptr& val)
00771 {
00772 return any.in() >>= val;
00773 }
00774
00775 #endif