00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #include "tao/IORManipulation/IORManip_Loader.h"
00033 #include "tao/CDR.h"
00034 #include "ace/OS_NS_string.h"
00035
00036 #if defined (__BORLANDC__)
00037 #pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
00038 #endif
00039
00040
00041
00042
00043 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00044
00045
00046 namespace TAO
00047 {
00048 }
00049
00050
00051
00052
00053
00054 TAO_IOP::EmptyProfileList::EmptyProfileList (void)
00055 : CORBA::UserException (
00056 "IDL:TAO_IOP/EmptyProfileList:1.0",
00057 "EmptyProfileList"
00058 )
00059 {
00060 }
00061
00062 TAO_IOP::EmptyProfileList::~EmptyProfileList (void)
00063 {
00064 }
00065
00066 TAO_IOP::EmptyProfileList::EmptyProfileList (const ::TAO_IOP::EmptyProfileList &_tao_excp)
00067 : CORBA::UserException (
00068 _tao_excp._rep_id (),
00069 _tao_excp._name ()
00070 )
00071 {
00072 }
00073
00074 TAO_IOP::EmptyProfileList&
00075 TAO_IOP::EmptyProfileList::operator= (const ::TAO_IOP::EmptyProfileList &_tao_excp)
00076 {
00077 this->::CORBA::UserException::operator= (_tao_excp);
00078 return *this;
00079 }
00080
00081 void TAO_IOP::EmptyProfileList::_tao_any_destructor (void *_tao_void_pointer)
00082 {
00083 EmptyProfileList *_tao_tmp_pointer =
00084 static_cast<EmptyProfileList *> (_tao_void_pointer);
00085 delete _tao_tmp_pointer;
00086 }
00087
00088 TAO_IOP::EmptyProfileList *
00089 TAO_IOP::EmptyProfileList::_downcast (CORBA::Exception *_tao_excp)
00090 {
00091 return dynamic_cast<EmptyProfileList *> (_tao_excp);
00092 }
00093
00094 const TAO_IOP::EmptyProfileList *
00095 TAO_IOP::EmptyProfileList::_downcast (CORBA::Exception const *_tao_excp)
00096 {
00097 return dynamic_cast<const EmptyProfileList *> (_tao_excp);
00098 }
00099
00100 CORBA::Exception *TAO_IOP::EmptyProfileList::_alloc (void)
00101 {
00102 CORBA::Exception *retval = 0;
00103 ACE_NEW_RETURN (retval, ::TAO_IOP::EmptyProfileList, 0);
00104 return retval;
00105 }
00106
00107 CORBA::Exception *
00108 TAO_IOP::EmptyProfileList::_tao_duplicate (void) const
00109 {
00110 CORBA::Exception *result = 0;
00111 ACE_NEW_RETURN (
00112 result,
00113 ::TAO_IOP::EmptyProfileList (*this),
00114 0
00115 );
00116 return result;
00117 }
00118
00119 void TAO_IOP::EmptyProfileList::_raise (void) const
00120 {
00121 TAO_RAISE (*this);
00122 }
00123
00124 void TAO_IOP::EmptyProfileList::_tao_encode (
00125 TAO_OutputCDR &cdr
00126 ACE_ENV_ARG_DECL
00127 ) const
00128 {
00129 if (cdr << *this)
00130 {
00131 return;
00132 }
00133
00134 ACE_THROW (CORBA::MARSHAL ());
00135 }
00136
00137 void TAO_IOP::EmptyProfileList::_tao_decode (
00138 TAO_InputCDR &cdr
00139 ACE_ENV_ARG_DECL
00140 )
00141 {
00142 if (cdr >> *this)
00143 {
00144 return;
00145 }
00146
00147 ACE_THROW (CORBA::MARSHAL ());
00148 }
00149
00150
00151 CORBA::TypeCode_ptr TAO_IOP::EmptyProfileList::_tao_type (void) const
00152 {
00153 return ::TAO_IOP::_tc_EmptyProfileList;
00154 }
00155
00156
00157
00158
00159 TAO_IOP::NotFound::NotFound (void)
00160 : CORBA::UserException (
00161 "IDL:TAO_IOP/NotFound:1.0",
00162 "NotFound"
00163 )
00164 {
00165 }
00166
00167 TAO_IOP::NotFound::~NotFound (void)
00168 {
00169 }
00170
00171 TAO_IOP::NotFound::NotFound (const ::TAO_IOP::NotFound &_tao_excp)
00172 : CORBA::UserException (
00173 _tao_excp._rep_id (),
00174 _tao_excp._name ()
00175 )
00176 {
00177 }
00178
00179 TAO_IOP::NotFound&
00180 TAO_IOP::NotFound::operator= (const ::TAO_IOP::NotFound &_tao_excp)
00181 {
00182 this->::CORBA::UserException::operator= (_tao_excp);
00183 return *this;
00184 }
00185
00186 void TAO_IOP::NotFound::_tao_any_destructor (void *_tao_void_pointer)
00187 {
00188 NotFound *_tao_tmp_pointer =
00189 static_cast<NotFound *> (_tao_void_pointer);
00190 delete _tao_tmp_pointer;
00191 }
00192
00193 TAO_IOP::NotFound *
00194 TAO_IOP::NotFound::_downcast (CORBA::Exception *_tao_excp)
00195 {
00196 return dynamic_cast<NotFound *> (_tao_excp);
00197 }
00198
00199 const TAO_IOP::NotFound *
00200 TAO_IOP::NotFound::_downcast (CORBA::Exception const *_tao_excp)
00201 {
00202 return dynamic_cast<const NotFound *> (_tao_excp);
00203 }
00204
00205 CORBA::Exception *TAO_IOP::NotFound::_alloc (void)
00206 {
00207 CORBA::Exception *retval = 0;
00208 ACE_NEW_RETURN (retval, ::TAO_IOP::NotFound, 0);
00209 return retval;
00210 }
00211
00212 CORBA::Exception *
00213 TAO_IOP::NotFound::_tao_duplicate (void) const
00214 {
00215 CORBA::Exception *result = 0;
00216 ACE_NEW_RETURN (
00217 result,
00218 ::TAO_IOP::NotFound (*this),
00219 0
00220 );
00221 return result;
00222 }
00223
00224 void TAO_IOP::NotFound::_raise (void) const
00225 {
00226 TAO_RAISE (*this);
00227 }
00228
00229 void TAO_IOP::NotFound::_tao_encode (
00230 TAO_OutputCDR &cdr
00231 ACE_ENV_ARG_DECL
00232 ) const
00233 {
00234 if (cdr << *this)
00235 {
00236 return;
00237 }
00238
00239 ACE_THROW (CORBA::MARSHAL ());
00240 }
00241
00242 void TAO_IOP::NotFound::_tao_decode (
00243 TAO_InputCDR &cdr
00244 ACE_ENV_ARG_DECL
00245 )
00246 {
00247 if (cdr >> *this)
00248 {
00249 return;
00250 }
00251
00252 ACE_THROW (CORBA::MARSHAL ());
00253 }
00254
00255
00256 CORBA::TypeCode_ptr TAO_IOP::NotFound::_tao_type (void) const
00257 {
00258 return ::TAO_IOP::_tc_NotFound;
00259 }
00260
00261
00262
00263
00264 TAO_IOP::Duplicate::Duplicate (void)
00265 : CORBA::UserException (
00266 "IDL:TAO_IOP/Duplicate:1.0",
00267 "Duplicate"
00268 )
00269 {
00270 }
00271
00272 TAO_IOP::Duplicate::~Duplicate (void)
00273 {
00274 }
00275
00276 TAO_IOP::Duplicate::Duplicate (const ::TAO_IOP::Duplicate &_tao_excp)
00277 : CORBA::UserException (
00278 _tao_excp._rep_id (),
00279 _tao_excp._name ()
00280 )
00281 {
00282 }
00283
00284 TAO_IOP::Duplicate&
00285 TAO_IOP::Duplicate::operator= (const ::TAO_IOP::Duplicate &_tao_excp)
00286 {
00287 this->::CORBA::UserException::operator= (_tao_excp);
00288 return *this;
00289 }
00290
00291 void TAO_IOP::Duplicate::_tao_any_destructor (void *_tao_void_pointer)
00292 {
00293 Duplicate *_tao_tmp_pointer =
00294 static_cast<Duplicate *> (_tao_void_pointer);
00295 delete _tao_tmp_pointer;
00296 }
00297
00298 TAO_IOP::Duplicate *
00299 TAO_IOP::Duplicate::_downcast (CORBA::Exception *_tao_excp)
00300 {
00301 return dynamic_cast<Duplicate *> (_tao_excp);
00302 }
00303
00304 const TAO_IOP::Duplicate *
00305 TAO_IOP::Duplicate::_downcast (CORBA::Exception const *_tao_excp)
00306 {
00307 return dynamic_cast<const Duplicate *> (_tao_excp);
00308 }
00309
00310 CORBA::Exception *TAO_IOP::Duplicate::_alloc (void)
00311 {
00312 CORBA::Exception *retval = 0;
00313 ACE_NEW_RETURN (retval, ::TAO_IOP::Duplicate, 0);
00314 return retval;
00315 }
00316
00317 CORBA::Exception *
00318 TAO_IOP::Duplicate::_tao_duplicate (void) const
00319 {
00320 CORBA::Exception *result = 0;
00321 ACE_NEW_RETURN (
00322 result,
00323 ::TAO_IOP::Duplicate (*this),
00324 0
00325 );
00326 return result;
00327 }
00328
00329 void TAO_IOP::Duplicate::_raise (void) const
00330 {
00331 TAO_RAISE (*this);
00332 }
00333
00334 void TAO_IOP::Duplicate::_tao_encode (
00335 TAO_OutputCDR &cdr
00336 ACE_ENV_ARG_DECL
00337 ) const
00338 {
00339 if (cdr << *this)
00340 {
00341 return;
00342 }
00343
00344 ACE_THROW (CORBA::MARSHAL ());
00345 }
00346
00347 void TAO_IOP::Duplicate::_tao_decode (
00348 TAO_InputCDR &cdr
00349 ACE_ENV_ARG_DECL
00350 )
00351 {
00352 if (cdr >> *this)
00353 {
00354 return;
00355 }
00356
00357 ACE_THROW (CORBA::MARSHAL ());
00358 }
00359
00360
00361 CORBA::TypeCode_ptr TAO_IOP::Duplicate::_tao_type (void) const
00362 {
00363 return ::TAO_IOP::_tc_Duplicate;
00364 }
00365
00366
00367
00368
00369 TAO_IOP::Invalid_IOR::Invalid_IOR (void)
00370 : CORBA::UserException (
00371 "IDL:TAO_IOP/Invalid_IOR:1.0",
00372 "Invalid_IOR"
00373 )
00374 {
00375 }
00376
00377 TAO_IOP::Invalid_IOR::~Invalid_IOR (void)
00378 {
00379 }
00380
00381 TAO_IOP::Invalid_IOR::Invalid_IOR (const ::TAO_IOP::Invalid_IOR &_tao_excp)
00382 : CORBA::UserException (
00383 _tao_excp._rep_id (),
00384 _tao_excp._name ()
00385 )
00386 {
00387 }
00388
00389 TAO_IOP::Invalid_IOR&
00390 TAO_IOP::Invalid_IOR::operator= (const ::TAO_IOP::Invalid_IOR &_tao_excp)
00391 {
00392 this->::CORBA::UserException::operator= (_tao_excp);
00393 return *this;
00394 }
00395
00396 void TAO_IOP::Invalid_IOR::_tao_any_destructor (void *_tao_void_pointer)
00397 {
00398 Invalid_IOR *_tao_tmp_pointer =
00399 static_cast<Invalid_IOR *> (_tao_void_pointer);
00400 delete _tao_tmp_pointer;
00401 }
00402
00403 TAO_IOP::Invalid_IOR *
00404 TAO_IOP::Invalid_IOR::_downcast (CORBA::Exception *_tao_excp)
00405 {
00406 return dynamic_cast<Invalid_IOR *> (_tao_excp);
00407 }
00408
00409 const TAO_IOP::Invalid_IOR *
00410 TAO_IOP::Invalid_IOR::_downcast (CORBA::Exception const *_tao_excp)
00411 {
00412 return dynamic_cast<const Invalid_IOR *> (_tao_excp);
00413 }
00414
00415 CORBA::Exception *TAO_IOP::Invalid_IOR::_alloc (void)
00416 {
00417 CORBA::Exception *retval = 0;
00418 ACE_NEW_RETURN (retval, ::TAO_IOP::Invalid_IOR, 0);
00419 return retval;
00420 }
00421
00422 CORBA::Exception *
00423 TAO_IOP::Invalid_IOR::_tao_duplicate (void) const
00424 {
00425 CORBA::Exception *result = 0;
00426 ACE_NEW_RETURN (
00427 result,
00428 ::TAO_IOP::Invalid_IOR (*this),
00429 0
00430 );
00431 return result;
00432 }
00433
00434 void TAO_IOP::Invalid_IOR::_raise (void) const
00435 {
00436 TAO_RAISE (*this);
00437 }
00438
00439 void TAO_IOP::Invalid_IOR::_tao_encode (
00440 TAO_OutputCDR &cdr
00441 ACE_ENV_ARG_DECL
00442 ) const
00443 {
00444 if (cdr << *this)
00445 {
00446 return;
00447 }
00448
00449 ACE_THROW (CORBA::MARSHAL ());
00450 }
00451
00452 void TAO_IOP::Invalid_IOR::_tao_decode (
00453 TAO_InputCDR &cdr
00454 ACE_ENV_ARG_DECL
00455 )
00456 {
00457 if (cdr >> *this)
00458 {
00459 return;
00460 }
00461
00462 ACE_THROW (CORBA::MARSHAL ());
00463 }
00464
00465
00466 CORBA::TypeCode_ptr TAO_IOP::Invalid_IOR::_tao_type (void) const
00467 {
00468 return ::TAO_IOP::_tc_Invalid_IOR;
00469 }
00470
00471
00472
00473
00474 TAO_IOP::MultiProfileList::MultiProfileList (void)
00475 : CORBA::UserException (
00476 "IDL:TAO_IOP/MultiProfileList:1.0",
00477 "MultiProfileList"
00478 )
00479 {
00480 }
00481
00482 TAO_IOP::MultiProfileList::~MultiProfileList (void)
00483 {
00484 }
00485
00486 TAO_IOP::MultiProfileList::MultiProfileList (const ::TAO_IOP::MultiProfileList &_tao_excp)
00487 : CORBA::UserException (
00488 _tao_excp._rep_id (),
00489 _tao_excp._name ()
00490 )
00491 {
00492 }
00493
00494 TAO_IOP::MultiProfileList&
00495 TAO_IOP::MultiProfileList::operator= (const ::TAO_IOP::MultiProfileList &_tao_excp)
00496 {
00497 this->::CORBA::UserException::operator= (_tao_excp);
00498 return *this;
00499 }
00500
00501 void TAO_IOP::MultiProfileList::_tao_any_destructor (void *_tao_void_pointer)
00502 {
00503 MultiProfileList *_tao_tmp_pointer =
00504 static_cast<MultiProfileList *> (_tao_void_pointer);
00505 delete _tao_tmp_pointer;
00506 }
00507
00508 TAO_IOP::MultiProfileList *
00509 TAO_IOP::MultiProfileList::_downcast (CORBA::Exception *_tao_excp)
00510 {
00511 return dynamic_cast<MultiProfileList *> (_tao_excp);
00512 }
00513
00514 const TAO_IOP::MultiProfileList *
00515 TAO_IOP::MultiProfileList::_downcast (CORBA::Exception const *_tao_excp)
00516 {
00517 return dynamic_cast<const MultiProfileList *> (_tao_excp);
00518 }
00519
00520 CORBA::Exception *TAO_IOP::MultiProfileList::_alloc (void)
00521 {
00522 CORBA::Exception *retval = 0;
00523 ACE_NEW_RETURN (retval, ::TAO_IOP::MultiProfileList, 0);
00524 return retval;
00525 }
00526
00527 CORBA::Exception *
00528 TAO_IOP::MultiProfileList::_tao_duplicate (void) const
00529 {
00530 CORBA::Exception *result = 0;
00531 ACE_NEW_RETURN (
00532 result,
00533 ::TAO_IOP::MultiProfileList (*this),
00534 0
00535 );
00536 return result;
00537 }
00538
00539 void TAO_IOP::MultiProfileList::_raise (void) const
00540 {
00541 TAO_RAISE (*this);
00542 }
00543
00544 void TAO_IOP::MultiProfileList::_tao_encode (
00545 TAO_OutputCDR &cdr
00546 ACE_ENV_ARG_DECL
00547 ) const
00548 {
00549 if (cdr << *this)
00550 {
00551 return;
00552 }
00553
00554 ACE_THROW (CORBA::MARSHAL ());
00555 }
00556
00557 void TAO_IOP::MultiProfileList::_tao_decode (
00558 TAO_InputCDR &cdr
00559 ACE_ENV_ARG_DECL
00560 )
00561 {
00562 if (cdr >> *this)
00563 {
00564 return;
00565 }
00566
00567 ACE_THROW (CORBA::MARSHAL ());
00568 }
00569
00570
00571 CORBA::TypeCode_ptr TAO_IOP::MultiProfileList::_tao_type (void) const
00572 {
00573 return ::TAO_IOP::_tc_MultiProfileList;
00574 }
00575
00576
00577
00578
00579
00580
00581 TAO_IOP::TAO_IOR_Property_ptr
00582 TAO::Objref_Traits<TAO_IOP::TAO_IOR_Property>::duplicate (
00583 TAO_IOP::TAO_IOR_Property_ptr p
00584 )
00585 {
00586 return TAO_IOP::TAO_IOR_Property::_duplicate (p);
00587 }
00588
00589 void
00590 TAO::Objref_Traits<TAO_IOP::TAO_IOR_Property>::release (
00591 TAO_IOP::TAO_IOR_Property_ptr p
00592 )
00593 {
00594 ::CORBA::release (p);
00595 }
00596
00597 TAO_IOP::TAO_IOR_Property_ptr
00598 TAO::Objref_Traits<TAO_IOP::TAO_IOR_Property>::nil (void)
00599 {
00600 return TAO_IOP::TAO_IOR_Property::_nil ();
00601 }
00602
00603 CORBA::Boolean
00604 TAO::Objref_Traits<TAO_IOP::TAO_IOR_Property>::marshal (
00605 TAO_IOP::TAO_IOR_Property_ptr p,
00606 TAO_OutputCDR & cdr
00607 )
00608 {
00609 return CORBA::Object::marshal (p, cdr);
00610 }
00611
00612 TAO_IOP::TAO_IOR_Property::TAO_IOR_Property (void)
00613 {}
00614
00615 TAO_IOP::TAO_IOR_Property::~TAO_IOR_Property (void)
00616 {}
00617
00618 void
00619 TAO_IOP::TAO_IOR_Property::_tao_any_destructor (void *_tao_void_pointer)
00620 {
00621 TAO_IOR_Property *_tao_tmp_pointer =
00622 static_cast<TAO_IOR_Property *> (_tao_void_pointer);
00623 ::CORBA::release (_tao_tmp_pointer);
00624 }
00625
00626 TAO_IOP::TAO_IOR_Property_ptr
00627 TAO_IOP::TAO_IOR_Property::_narrow (
00628 CORBA::Object_ptr _tao_objref
00629 ACE_ENV_ARG_DECL_NOT_USED
00630 )
00631 {
00632 if (CORBA::is_nil (_tao_objref))
00633 {
00634 return TAO_IOR_Property::_nil ();
00635 }
00636
00637 TAO_IOR_Property_ptr proxy =
00638 dynamic_cast<TAO_IOR_Property_ptr> (_tao_objref);
00639
00640 return TAO_IOR_Property::_duplicate (proxy);
00641 }
00642
00643 TAO_IOP::TAO_IOR_Property_ptr
00644 TAO_IOP::TAO_IOR_Property::_unchecked_narrow (
00645 CORBA::Object_ptr _tao_objref
00646 ACE_ENV_ARG_DECL_NOT_USED
00647 )
00648 {
00649 if (CORBA::is_nil (_tao_objref))
00650 {
00651 return TAO_IOR_Property::_nil ();
00652 }
00653
00654 TAO_IOR_Property_ptr proxy =
00655 dynamic_cast<TAO_IOR_Property_ptr> (_tao_objref);
00656
00657 return TAO_IOR_Property::_duplicate (proxy);
00658 }
00659
00660 TAO_IOP::TAO_IOR_Property_ptr
00661 TAO_IOP::TAO_IOR_Property::_duplicate (TAO_IOR_Property_ptr obj)
00662 {
00663 if (! ::CORBA::is_nil (obj))
00664 {
00665 obj->_add_ref ();
00666 }
00667
00668 return obj;
00669 }
00670
00671 void
00672 TAO_IOP::TAO_IOR_Property::_tao_release (TAO_IOR_Property_ptr obj)
00673 {
00674 ::CORBA::release (obj);
00675 }
00676
00677 CORBA::Boolean
00678 TAO_IOP::TAO_IOR_Property::_is_a (
00679 const char *value
00680 ACE_ENV_ARG_DECL_NOT_USED
00681 )
00682 {
00683 if (
00684 !ACE_OS::strcmp (
00685 value,
00686 "IDL:TAO_IOP/TAO_IOR_Property:1.0"
00687 ) ||
00688 !ACE_OS::strcmp (
00689 value,
00690 "IDL:omg.org/CORBA/LocalObject:1.0"
00691 ) ||
00692 !ACE_OS::strcmp (
00693 value,
00694 "IDL:omg.org/CORBA/Object:1.0"
00695 )
00696 )
00697 {
00698 return true;
00699 }
00700 else
00701 {
00702 return false;
00703 }
00704 }
00705
00706 const char* TAO_IOP::TAO_IOR_Property::_interface_repository_id (void) const
00707 {
00708 return "IDL:TAO_IOP/TAO_IOR_Property:1.0";
00709 }
00710
00711 CORBA::Boolean
00712 TAO_IOP::TAO_IOR_Property::marshal (TAO_OutputCDR &)
00713 {
00714 return false;
00715 }
00716
00717
00718
00719
00720
00721
00722 TAO_IOP::TAO_IOR_Manipulation_ptr
00723 TAO::Objref_Traits<TAO_IOP::TAO_IOR_Manipulation>::duplicate (
00724 TAO_IOP::TAO_IOR_Manipulation_ptr p
00725 )
00726 {
00727 return TAO_IOP::TAO_IOR_Manipulation::_duplicate (p);
00728 }
00729
00730 void
00731 TAO::Objref_Traits<TAO_IOP::TAO_IOR_Manipulation>::release (
00732 TAO_IOP::TAO_IOR_Manipulation_ptr p
00733 )
00734 {
00735 ::CORBA::release (p);
00736 }
00737
00738 TAO_IOP::TAO_IOR_Manipulation_ptr
00739 TAO::Objref_Traits<TAO_IOP::TAO_IOR_Manipulation>::nil (void)
00740 {
00741 return TAO_IOP::TAO_IOR_Manipulation::_nil ();
00742 }
00743
00744 CORBA::Boolean
00745 TAO::Objref_Traits<TAO_IOP::TAO_IOR_Manipulation>::marshal (
00746 TAO_IOP::TAO_IOR_Manipulation_ptr p,
00747 TAO_OutputCDR & cdr
00748 )
00749 {
00750 return CORBA::Object::marshal (p, cdr);
00751 }
00752
00753
00754
00755
00756 #if !defined (_TAO_IOP_TAO_IOR_MANIPULATION_IORLIST_CS_)
00757 #define _TAO_IOP_TAO_IOR_MANIPULATION_IORLIST_CS_
00758
00759 TAO_IOP::TAO_IOR_Manipulation::IORList::IORList (void)
00760 {}
00761
00762 TAO_IOP::TAO_IOR_Manipulation::IORList::IORList (
00763 CORBA::ULong max
00764 )
00765 : TAO::unbounded_object_reference_sequence<
00766 CORBA::Object,
00767 CORBA::Object_var
00768 >
00769 (max)
00770 {}
00771
00772 TAO_IOP::TAO_IOR_Manipulation::IORList::IORList (
00773 CORBA::ULong max,
00774 CORBA::ULong length,
00775 CORBA::Object_ptr * buffer,
00776 CORBA::Boolean release
00777 )
00778 : TAO::unbounded_object_reference_sequence<
00779 CORBA::Object,
00780 CORBA::Object_var
00781 >
00782 (max, length, buffer, release)
00783 {}
00784
00785 TAO_IOP::TAO_IOR_Manipulation::IORList::IORList (
00786 const IORList &seq
00787 )
00788 : TAO::unbounded_object_reference_sequence<
00789 CORBA::Object,
00790 CORBA::Object_var
00791 >
00792 (seq)
00793 {}
00794
00795 TAO_IOP::TAO_IOR_Manipulation::IORList::~IORList (void)
00796 {}
00797
00798 void TAO_IOP::TAO_IOR_Manipulation::IORList::_tao_any_destructor (
00799 void * _tao_void_pointer
00800 )
00801 {
00802 IORList * _tao_tmp_pointer =
00803 static_cast<IORList *> (_tao_void_pointer);
00804 delete _tao_tmp_pointer;
00805 }
00806
00807 #endif
00808
00809 TAO_IOP::TAO_IOR_Manipulation::TAO_IOR_Manipulation (void)
00810 {}
00811
00812 TAO_IOP::TAO_IOR_Manipulation::~TAO_IOR_Manipulation (void)
00813 {}
00814
00815 void
00816 TAO_IOP::TAO_IOR_Manipulation::_tao_any_destructor (void *_tao_void_pointer)
00817 {
00818 TAO_IOR_Manipulation *_tao_tmp_pointer =
00819 static_cast<TAO_IOR_Manipulation *> (_tao_void_pointer);
00820 ::CORBA::release (_tao_tmp_pointer);
00821 }
00822
00823 TAO_IOP::TAO_IOR_Manipulation_ptr
00824 TAO_IOP::TAO_IOR_Manipulation::_narrow (
00825 CORBA::Object_ptr _tao_objref
00826 ACE_ENV_ARG_DECL_NOT_USED
00827 )
00828 {
00829 if (CORBA::is_nil (_tao_objref))
00830 {
00831 return TAO_IOR_Manipulation::_nil ();
00832 }
00833
00834 TAO_IOR_Manipulation_ptr proxy =
00835 dynamic_cast<TAO_IOR_Manipulation_ptr> (_tao_objref);
00836
00837 return TAO_IOR_Manipulation::_duplicate (proxy);
00838 }
00839
00840 TAO_IOP::TAO_IOR_Manipulation_ptr
00841 TAO_IOP::TAO_IOR_Manipulation::_unchecked_narrow (
00842 CORBA::Object_ptr _tao_objref
00843 ACE_ENV_ARG_DECL_NOT_USED
00844 )
00845 {
00846 if (CORBA::is_nil (_tao_objref))
00847 {
00848 return TAO_IOR_Manipulation::_nil ();
00849 }
00850
00851 TAO_IOR_Manipulation_ptr proxy =
00852 dynamic_cast<TAO_IOR_Manipulation_ptr> (_tao_objref);
00853
00854 return TAO_IOR_Manipulation::_duplicate (proxy);
00855 }
00856
00857 TAO_IOP::TAO_IOR_Manipulation_ptr
00858 TAO_IOP::TAO_IOR_Manipulation::_duplicate (TAO_IOR_Manipulation_ptr obj)
00859 {
00860 if (! ::CORBA::is_nil (obj))
00861 {
00862 obj->_add_ref ();
00863 }
00864
00865 return obj;
00866 }
00867
00868 void
00869 TAO_IOP::TAO_IOR_Manipulation::_tao_release (TAO_IOR_Manipulation_ptr obj)
00870 {
00871 ::CORBA::release (obj);
00872 }
00873
00874 CORBA::Boolean
00875 TAO_IOP::TAO_IOR_Manipulation::_is_a (
00876 const char *value
00877 ACE_ENV_ARG_DECL_NOT_USED
00878 )
00879 {
00880 if (
00881 !ACE_OS::strcmp (
00882 value,
00883 "IDL:TAO_IOP/TAO_IOR_Manipulation:1.0"
00884 ) ||
00885 !ACE_OS::strcmp (
00886 value,
00887 "IDL:omg.org/CORBA/LocalObject:1.0"
00888 ) ||
00889 !ACE_OS::strcmp (
00890 value,
00891 "IDL:omg.org/CORBA/Object:1.0"
00892 )
00893 )
00894 {
00895 return true;
00896 }
00897 else
00898 {
00899 return false;
00900 }
00901 }
00902
00903 const char* TAO_IOP::TAO_IOR_Manipulation::_interface_repository_id (void) const
00904 {
00905 return "IDL:TAO_IOP/TAO_IOR_Manipulation:1.0";
00906 }
00907
00908 CORBA::Boolean
00909 TAO_IOP::TAO_IOR_Manipulation::marshal (TAO_OutputCDR &)
00910 {
00911 return false;
00912 }
00913
00914
00915
00916
00917 CORBA::Boolean operator<< (
00918 TAO_OutputCDR &strm,
00919 const TAO_IOP::EmptyProfileList &_tao_aggregate
00920 )
00921 {
00922
00923 return (strm << _tao_aggregate._rep_id ());
00924 }
00925
00926 CORBA::Boolean operator>> (
00927 TAO_InputCDR &,
00928 TAO_IOP::EmptyProfileList&
00929 )
00930 {
00931 return true;
00932 }
00933
00934
00935
00936
00937 CORBA::Boolean operator<< (
00938 TAO_OutputCDR &strm,
00939 const TAO_IOP::NotFound &_tao_aggregate
00940 )
00941 {
00942
00943 return (strm << _tao_aggregate._rep_id ());
00944 }
00945
00946 CORBA::Boolean operator>> (
00947 TAO_InputCDR &,
00948 TAO_IOP::NotFound&
00949 )
00950 {
00951 return true;
00952 }
00953
00954
00955
00956
00957 CORBA::Boolean operator<< (
00958 TAO_OutputCDR &strm,
00959 const TAO_IOP::Duplicate &_tao_aggregate
00960 )
00961 {
00962
00963 return (strm << _tao_aggregate._rep_id ());
00964 }
00965
00966 CORBA::Boolean operator>> (
00967 TAO_InputCDR &,
00968 TAO_IOP::Duplicate&
00969 )
00970 {
00971 return true;
00972 }
00973
00974
00975
00976
00977 CORBA::Boolean operator<< (
00978 TAO_OutputCDR &strm,
00979 const TAO_IOP::Invalid_IOR &_tao_aggregate
00980 )
00981 {
00982
00983 return (strm << _tao_aggregate._rep_id ());
00984 }
00985
00986 CORBA::Boolean operator>> (
00987 TAO_InputCDR &,
00988 TAO_IOP::Invalid_IOR&
00989 )
00990 {
00991 return true;
00992 }
00993
00994
00995
00996
00997 CORBA::Boolean operator<< (
00998 TAO_OutputCDR &strm,
00999 const TAO_IOP::MultiProfileList &_tao_aggregate
01000 )
01001 {
01002
01003 return (strm << _tao_aggregate._rep_id ());
01004 }
01005
01006 CORBA::Boolean operator>> (
01007 TAO_InputCDR &,
01008 TAO_IOP::MultiProfileList&
01009 )
01010 {
01011 return true;
01012 }
01013
01014 TAO_END_VERSIONED_NAMESPACE_DECL