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 != 4010000L)
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 protected:
00180
00181 static const char* ids_[];
00182
00183 public:
00184
00185 Polyline2dData() { }
00186 virtual ~Polyline2dData() { }
00187
00188 typedef Polyline2dData_ptr _ptr_type;
00189 typedef Polyline2dData_var _var_type;
00190
00191 static inline Polyline2dData_ptr
00192 _duplicate(Polyline2dData_ptr p)
00193 {
00194 if(p)
00195 p -> _add_ref();
00196 return p;
00197 }
00198
00199 static inline Polyline2dData_ptr
00200 _nil()
00201 {
00202 return 0;
00203 }
00204
00205 static Polyline2dData_ptr _narrow(CORBA::Object_ptr);
00206 static Polyline2dData_ptr _unchecked_narrow(CORBA::Object_ptr);
00207
00208 static Polyline2dData_ptr _narrow(CORBA::AbstractBase_ptr);
00209 static Polyline2dData_ptr _unchecked_narrow(CORBA::AbstractBase_ptr);
00210
00211 static const char** _OB_staticIds();
00212
00213
00214
00215
00216 virtual CORBA::Boolean getClosed() = 0;
00217
00218
00219
00220
00221 virtual CORBA::Long getNrPoints() = 0;
00222
00223
00224
00225
00226 virtual PointR2 getPoint(CORBA::Long i) = 0;
00227
00228
00229
00230
00231 virtual PointR2Seq* getPoints() = 0;
00232 };
00233
00234
00235
00236
00237 class Polyline2d : virtual public ::HxCorba::Polyline2dData
00238 {
00239 Polyline2d(const Polyline2d&);
00240 void operator=(const Polyline2d&);
00241
00242 protected:
00243
00244 static const char* ids_[];
00245
00246 public:
00247
00248 Polyline2d() { }
00249 virtual ~Polyline2d() { }
00250
00251 typedef Polyline2d_ptr _ptr_type;
00252 typedef Polyline2d_var _var_type;
00253
00254 static inline Polyline2d_ptr
00255 _duplicate(Polyline2d_ptr p)
00256 {
00257 if(p)
00258 p -> _add_ref();
00259 return p;
00260 }
00261
00262 static inline Polyline2d_ptr
00263 _nil()
00264 {
00265 return 0;
00266 }
00267
00268 static Polyline2d_ptr _narrow(CORBA::Object_ptr);
00269 static Polyline2d_ptr _unchecked_narrow(CORBA::Object_ptr);
00270
00271 static Polyline2d_ptr _narrow(CORBA::AbstractBase_ptr);
00272 static Polyline2d_ptr _unchecked_narrow(CORBA::AbstractBase_ptr);
00273
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 protected:
00286
00287 static const char* ids_[];
00288
00289 public:
00290
00291 PolylineFactory() { }
00292 virtual ~PolylineFactory() { }
00293
00294 typedef PolylineFactory_ptr _ptr_type;
00295 typedef PolylineFactory_var _var_type;
00296
00297 static inline PolylineFactory_ptr
00298 _duplicate(PolylineFactory_ptr p)
00299 {
00300 if(p)
00301 p -> _add_ref();
00302 return p;
00303 }
00304
00305 static inline PolylineFactory_ptr
00306 _nil()
00307 {
00308 return 0;
00309 }
00310
00311 static PolylineFactory_ptr _narrow(CORBA::Object_ptr);
00312 static PolylineFactory_ptr _unchecked_narrow(CORBA::Object_ptr);
00313
00314 static PolylineFactory_ptr _narrow(CORBA::AbstractBase_ptr);
00315 static PolylineFactory_ptr _unchecked_narrow(CORBA::AbstractBase_ptr);
00316
00317 static const char** _OB_staticIds();
00318
00319
00320
00321
00322 virtual Polyline2d_ptr importPolyline(Polyline2dData_ptr data) = 0;
00323
00324
00325
00326
00327 virtual Polyline2d_ptr createPolyline(const PointR2Seq& points,
00328 CORBA::Boolean closed) = 0;
00329 };
00330
00331 }
00332
00333
00334
00335
00336 namespace OBProxy_HxCorba
00337 {
00338
00339
00340
00341
00342 class Polyline2dData : virtual public ::HxCorba::Polyline2dData,
00343 virtual public OBCORBA::Object
00344 {
00345 Polyline2dData(const Polyline2dData&);
00346 void operator=(const Polyline2dData&);
00347
00348 protected:
00349
00350 virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00351
00352 public:
00353
00354 Polyline2dData() { }
00355 virtual ~Polyline2dData() { }
00356
00357 virtual const char** _OB_ids() const;
00358
00359
00360
00361
00362 CORBA::Boolean getClosed();
00363
00364
00365
00366
00367 CORBA::Long getNrPoints();
00368
00369
00370
00371
00372 ::HxCorba::PointR2 getPoint(CORBA::Long i);
00373
00374
00375
00376
00377 ::HxCorba::PointR2Seq* getPoints();
00378 };
00379
00380
00381
00382
00383 class Polyline2d : virtual public ::HxCorba::Polyline2d,
00384 virtual public OBProxy_HxCorba::Polyline2dData
00385 {
00386 Polyline2d(const Polyline2d&);
00387 void operator=(const Polyline2d&);
00388
00389 protected:
00390
00391 virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00392
00393 public:
00394
00395 Polyline2d() { }
00396 virtual ~Polyline2d() { }
00397
00398 virtual const char** _OB_ids() const;
00399 };
00400
00401
00402
00403
00404 class PolylineFactory : virtual public ::HxCorba::PolylineFactory,
00405 virtual public OBCORBA::Object
00406 {
00407 PolylineFactory(const PolylineFactory&);
00408 void operator=(const PolylineFactory&);
00409
00410 protected:
00411
00412 virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00413
00414 public:
00415
00416 PolylineFactory() { }
00417 virtual ~PolylineFactory() { }
00418
00419 virtual const char** _OB_ids() const;
00420
00421
00422
00423
00424 ::HxCorba::Polyline2d_ptr importPolyline(::HxCorba::Polyline2dData_ptr data);
00425
00426
00427
00428
00429 ::HxCorba::Polyline2d_ptr createPolyline(const ::HxCorba::PointR2Seq& points,
00430 CORBA::Boolean closed);
00431 };
00432
00433 }
00434
00435
00436
00437
00438 namespace OBStubImpl_HxCorba
00439 {
00440
00441
00442
00443
00444 class Polyline2dData : virtual public OB::StubImplBase
00445 {
00446 Polyline2dData(const Polyline2dData&);
00447 void operator=(const Polyline2dData&);
00448
00449 protected:
00450
00451 Polyline2dData() { }
00452
00453 public:
00454
00455 static inline Polyline2dData_ptr
00456 _duplicate(Polyline2dData_ptr p)
00457 {
00458 if(p)
00459 p -> _OB_incRef();
00460 return p;
00461 }
00462
00463 static inline Polyline2dData_ptr
00464 _nil()
00465 {
00466 return 0;
00467 }
00468
00469
00470
00471
00472 virtual CORBA::Boolean getClosed() = 0;
00473
00474
00475
00476
00477 virtual CORBA::Long getNrPoints() = 0;
00478
00479
00480
00481
00482 virtual ::HxCorba::PointR2 getPoint(CORBA::Long i) = 0;
00483
00484
00485
00486
00487 virtual ::HxCorba::PointR2Seq* getPoints() = 0;
00488 };
00489
00490
00491
00492
00493 class Polyline2d : virtual public OBStubImpl_HxCorba::Polyline2dData
00494 {
00495 Polyline2d(const Polyline2d&);
00496 void operator=(const Polyline2d&);
00497
00498 protected:
00499
00500 Polyline2d() { }
00501
00502 public:
00503
00504 static inline Polyline2d_ptr
00505 _duplicate(Polyline2d_ptr p)
00506 {
00507 if(p)
00508 p -> _OB_incRef();
00509 return p;
00510 }
00511
00512 static inline Polyline2d_ptr
00513 _nil()
00514 {
00515 return 0;
00516 }
00517 };
00518
00519
00520
00521
00522 class PolylineFactory : virtual public OB::StubImplBase
00523 {
00524 PolylineFactory(const PolylineFactory&);
00525 void operator=(const PolylineFactory&);
00526
00527 protected:
00528
00529 PolylineFactory() { }
00530
00531 public:
00532
00533 static inline PolylineFactory_ptr
00534 _duplicate(PolylineFactory_ptr p)
00535 {
00536 if(p)
00537 p -> _OB_incRef();
00538 return p;
00539 }
00540
00541 static inline PolylineFactory_ptr
00542 _nil()
00543 {
00544 return 0;
00545 }
00546
00547
00548
00549
00550 virtual ::HxCorba::Polyline2d_ptr importPolyline(::HxCorba::Polyline2dData_ptr data) = 0;
00551
00552
00553
00554
00555 virtual ::HxCorba::Polyline2d_ptr createPolyline(const ::HxCorba::PointR2Seq& points,
00556 CORBA::Boolean closed) = 0;
00557 };
00558
00559 }
00560
00561
00562
00563
00564 namespace OBMarshalStubImpl_HxCorba
00565 {
00566
00567
00568
00569
00570 class Polyline2dData : virtual public OBStubImpl_HxCorba::Polyline2dData,
00571 virtual public OB::MarshalStubImpl
00572 {
00573 Polyline2dData(const Polyline2dData&);
00574 void operator=(const Polyline2dData&);
00575
00576 protected:
00577
00578 Polyline2dData() { }
00579 friend class OBProxy_HxCorba::Polyline2dData;
00580
00581 public:
00582
00583
00584
00585
00586 virtual CORBA::Boolean getClosed();
00587
00588
00589
00590
00591 virtual CORBA::Long getNrPoints();
00592
00593
00594
00595
00596 virtual ::HxCorba::PointR2 getPoint(CORBA::Long i);
00597
00598
00599
00600
00601 virtual ::HxCorba::PointR2Seq* getPoints();
00602 };
00603
00604
00605
00606
00607 class Polyline2d : virtual public OBStubImpl_HxCorba::Polyline2d,
00608 virtual public OBMarshalStubImpl_HxCorba::Polyline2dData
00609 {
00610 Polyline2d(const Polyline2d&);
00611 void operator=(const Polyline2d&);
00612
00613 protected:
00614
00615 Polyline2d() { }
00616 friend class OBProxy_HxCorba::Polyline2d;
00617
00618 public:
00619 };
00620
00621
00622
00623
00624 class PolylineFactory : virtual public OBStubImpl_HxCorba::PolylineFactory,
00625 virtual public OB::MarshalStubImpl
00626 {
00627 PolylineFactory(const PolylineFactory&);
00628 void operator=(const PolylineFactory&);
00629
00630 protected:
00631
00632 PolylineFactory() { }
00633 friend class OBProxy_HxCorba::PolylineFactory;
00634
00635 public:
00636
00637
00638
00639
00640 virtual ::HxCorba::Polyline2d_ptr importPolyline(::HxCorba::Polyline2dData_ptr data);
00641
00642
00643
00644
00645 virtual ::HxCorba::Polyline2d_ptr createPolyline(const ::HxCorba::PointR2Seq& points,
00646 CORBA::Boolean closed);
00647 };
00648
00649 }
00650
00651
00652
00653
00654 namespace OBV_HxCorba
00655 {
00656
00657 }
00658
00659
00660
00661
00662 void operator<<=(CORBA::Any&, HxCorba::PointR2*);
00663 void operator<<=(CORBA::Any&, const HxCorba::PointR2&);
00664 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::PointR2*&);
00665
00666 inline void
00667 operator<<=(CORBA::Any_var& any, HxCorba::PointR2* val)
00668 {
00669 any.inout() <<= val;
00670 }
00671
00672 inline void
00673 operator<<=(CORBA::Any_var& any, const HxCorba::PointR2& val)
00674 {
00675 any.inout() <<= val;
00676 }
00677
00678 inline CORBA::Boolean
00679 operator>>=(const CORBA::Any_var& any, const HxCorba::PointR2*& val)
00680 {
00681 return any.in() >>= val;
00682 }
00683
00684
00685
00686
00687 void operator<<=(CORBA::Any&, HxCorba::PointR2Seq*);
00688 void operator<<=(CORBA::Any&, const HxCorba::PointR2Seq&);
00689 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::PointR2Seq*&);
00690
00691 inline void
00692 operator<<=(CORBA::Any_var& any, HxCorba::PointR2Seq* val)
00693 {
00694 any.inout() <<= val;
00695 }
00696
00697 inline void
00698 operator<<=(CORBA::Any_var& any, const HxCorba::PointR2Seq& val)
00699 {
00700 any.inout() <<= val;
00701 }
00702
00703 inline CORBA::Boolean
00704 operator>>=(const CORBA::Any_var& any, const HxCorba::PointR2Seq*& val)
00705 {
00706 return any.in() >>= val;
00707 }
00708
00709
00710
00711
00712 namespace CORBA
00713 {
00714
00715 inline void
00716 release(::HxCorba::Polyline2dData_ptr p)
00717 {
00718 if(p)
00719 p -> _remove_ref();
00720 }
00721
00722 inline Boolean
00723 is_nil(::HxCorba::Polyline2dData_ptr p)
00724 {
00725 return p == 0;
00726 }
00727
00728 inline void
00729 release(OBStubImpl_HxCorba::Polyline2dData_ptr p)
00730 {
00731 if(p)
00732 p -> _OB_decRef();
00733 }
00734
00735 inline Boolean
00736 is_nil(OBStubImpl_HxCorba::Polyline2dData_ptr p)
00737 {
00738 return p == 0;
00739 }
00740
00741 }
00742
00743 void operator<<=(CORBA::Any&, HxCorba::Polyline2dData_ptr*);
00744 void operator<<=(CORBA::Any&, HxCorba::Polyline2dData_ptr);
00745 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::Polyline2dData_ptr&);
00746
00747 inline void
00748 operator<<=(CORBA::Any_var& any, HxCorba::Polyline2dData_ptr* val)
00749 {
00750 any.inout() <<= val;
00751 }
00752
00753 inline void
00754 operator<<=(CORBA::Any_var& any, HxCorba::Polyline2dData_ptr val)
00755 {
00756 any.inout() <<= val;
00757 }
00758
00759 inline CORBA::Boolean
00760 operator>>=(const CORBA::Any_var& any, HxCorba::Polyline2dData_ptr& val)
00761 {
00762 return any.in() >>= val;
00763 }
00764
00765
00766
00767
00768 namespace CORBA
00769 {
00770
00771 inline void
00772 release(::HxCorba::Polyline2d_ptr p)
00773 {
00774 if(p)
00775 p -> _remove_ref();
00776 }
00777
00778 inline Boolean
00779 is_nil(::HxCorba::Polyline2d_ptr p)
00780 {
00781 return p == 0;
00782 }
00783
00784 inline void
00785 release(OBStubImpl_HxCorba::Polyline2d_ptr p)
00786 {
00787 if(p)
00788 p -> _OB_decRef();
00789 }
00790
00791 inline Boolean
00792 is_nil(OBStubImpl_HxCorba::Polyline2d_ptr p)
00793 {
00794 return p == 0;
00795 }
00796
00797 }
00798
00799 void operator<<=(CORBA::Any&, HxCorba::Polyline2d_ptr*);
00800 void operator<<=(CORBA::Any&, HxCorba::Polyline2d_ptr);
00801 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::Polyline2d_ptr&);
00802
00803 inline void
00804 operator<<=(CORBA::Any_var& any, HxCorba::Polyline2d_ptr* val)
00805 {
00806 any.inout() <<= val;
00807 }
00808
00809 inline void
00810 operator<<=(CORBA::Any_var& any, HxCorba::Polyline2d_ptr val)
00811 {
00812 any.inout() <<= val;
00813 }
00814
00815 inline CORBA::Boolean
00816 operator>>=(const CORBA::Any_var& any, HxCorba::Polyline2d_ptr& val)
00817 {
00818 return any.in() >>= val;
00819 }
00820
00821
00822
00823
00824 namespace CORBA
00825 {
00826
00827 inline void
00828 release(::HxCorba::PolylineFactory_ptr p)
00829 {
00830 if(p)
00831 p -> _remove_ref();
00832 }
00833
00834 inline Boolean
00835 is_nil(::HxCorba::PolylineFactory_ptr p)
00836 {
00837 return p == 0;
00838 }
00839
00840 inline void
00841 release(OBStubImpl_HxCorba::PolylineFactory_ptr p)
00842 {
00843 if(p)
00844 p -> _OB_decRef();
00845 }
00846
00847 inline Boolean
00848 is_nil(OBStubImpl_HxCorba::PolylineFactory_ptr p)
00849 {
00850 return p == 0;
00851 }
00852
00853 }
00854
00855 void operator<<=(CORBA::Any&, HxCorba::PolylineFactory_ptr*);
00856 void operator<<=(CORBA::Any&, HxCorba::PolylineFactory_ptr);
00857 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::PolylineFactory_ptr&);
00858
00859 inline void
00860 operator<<=(CORBA::Any_var& any, HxCorba::PolylineFactory_ptr* val)
00861 {
00862 any.inout() <<= val;
00863 }
00864
00865 inline void
00866 operator<<=(CORBA::Any_var& any, HxCorba::PolylineFactory_ptr val)
00867 {
00868 any.inout() <<= val;
00869 }
00870
00871 inline CORBA::Boolean
00872 operator>>=(const CORBA::Any_var& any, HxCorba::PolylineFactory_ptr& val)
00873 {
00874 return any.in() >>= val;
00875 }
00876
00877 #endif