IORA.cpp

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // IORA.cpp,v 1.16 2006/03/10 07:19:11 jtc Exp
00004 
00005 // ****  Code generated by the The ACE ORB (TAO) IDL Compiler ****
00006 // TAO and the TAO IDL Compiler have been developed by:
00007 //       Center for Distributed Object Computing
00008 //       Washington University
00009 //       St. Louis, MO
00010 //       USA
00011 //       http://www.cs.wustl.edu/~schmidt/doc-center.html
00012 // and
00013 //       Distributed Object Computing Laboratory
00014 //       University of California at Irvine
00015 //       Irvine, CA
00016 //       USA
00017 //       http://doc.ece.uci.edu/
00018 // and
00019 //       Institute for Software Integrated Systems
00020 //       Vanderbilt University
00021 //       Nashville, TN
00022 //       USA
00023 //       http://www.isis.vanderbilt.edu/
00024 //
00025 // Information about TAO is available at:
00026 //     http://www.cs.wustl.edu/~schmidt/TAO.html
00027 
00028 #include "tao/AnyTypeCode/Null_RefCount_Policy.h"
00029 #include "tao/AnyTypeCode/TypeCode_Constants.h"
00030 #include "tao/AnyTypeCode/Alias_TypeCode_Static.h"
00031 #include "tao/AnyTypeCode/Objref_TypeCode_Static.h"
00032 #include "tao/AnyTypeCode/Sequence_TypeCode_Static.h"
00033 #include "tao/AnyTypeCode/Struct_TypeCode_Static.h"
00034 #include "tao/AnyTypeCode/TypeCode_Struct_Field.h"
00035 #include "tao/IORManipulation/IORManip_Loader.h"
00036 #include "tao/CDR.h"
00037 #include "tao/AnyTypeCode/Any.h"
00038 #include "tao/AnyTypeCode/Any_Impl_T.h"
00039 #include "tao/AnyTypeCode/Any_Dual_Impl_T.h"
00040 
00041 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00042 
00043 // TAO_IDL - Generated from
00044 // be/be_visitor_typecode/struct_typecode.cpp:74
00045 
00046 static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_TAO_IOP_EmptyProfileList = 0;
00047 static TAO::TypeCode::Struct<char const *,
00048                              CORBA::TypeCode_ptr const *,
00049                              TAO::TypeCode::Struct_Field<char const *,
00050                                                          CORBA::TypeCode_ptr const *> const *,
00051                              TAO::Null_RefCount_Policy>
00052   _tao_tc_TAO_IOP_EmptyProfileList (
00053     CORBA::tk_except,
00054     "IDL:TAO_IOP/EmptyProfileList:1.0",
00055     "EmptyProfileList",
00056     _tao_fields_TAO_IOP_EmptyProfileList,
00057     0);
00058 
00059 namespace TAO_IOP
00060 {
00061   ::CORBA::TypeCode_ptr const _tc_EmptyProfileList =
00062     &_tao_tc_TAO_IOP_EmptyProfileList;
00063 }
00064 
00065 
00066 
00067 // TAO_IDL - Generated from
00068 // be/be_visitor_typecode/struct_typecode.cpp:74
00069 
00070 static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_TAO_IOP_NotFound = 0;
00071 static TAO::TypeCode::Struct<char const *,
00072                              CORBA::TypeCode_ptr const *,
00073                              TAO::TypeCode::Struct_Field<char const *,
00074                                                          CORBA::TypeCode_ptr const *> const *,
00075                              TAO::Null_RefCount_Policy>
00076   _tao_tc_TAO_IOP_NotFound (
00077     CORBA::tk_except,
00078     "IDL:TAO_IOP/NotFound:1.0",
00079     "NotFound",
00080     _tao_fields_TAO_IOP_NotFound,
00081     0);
00082 
00083 namespace TAO_IOP
00084 {
00085   ::CORBA::TypeCode_ptr const _tc_NotFound =
00086     &_tao_tc_TAO_IOP_NotFound;
00087 }
00088 
00089 
00090 
00091 // TAO_IDL - Generated from
00092 // be/be_visitor_typecode/struct_typecode.cpp:74
00093 
00094 static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_TAO_IOP_Duplicate = 0;
00095 static TAO::TypeCode::Struct<char const *,
00096                              CORBA::TypeCode_ptr const *,
00097                              TAO::TypeCode::Struct_Field<char const *,
00098                                                          CORBA::TypeCode_ptr const *> const *,
00099                              TAO::Null_RefCount_Policy>
00100   _tao_tc_TAO_IOP_Duplicate (
00101     CORBA::tk_except,
00102     "IDL:TAO_IOP/Duplicate:1.0",
00103     "Duplicate",
00104     _tao_fields_TAO_IOP_Duplicate,
00105     0);
00106 
00107 namespace TAO_IOP
00108 {
00109   ::CORBA::TypeCode_ptr const _tc_Duplicate =
00110     &_tao_tc_TAO_IOP_Duplicate;
00111 }
00112 
00113 
00114 
00115 // TAO_IDL - Generated from
00116 // be/be_visitor_typecode/struct_typecode.cpp:74
00117 
00118 static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_TAO_IOP_Invalid_IOR = 0;
00119 static TAO::TypeCode::Struct<char const *,
00120                              CORBA::TypeCode_ptr const *,
00121                              TAO::TypeCode::Struct_Field<char const *,
00122                                                          CORBA::TypeCode_ptr const *> const *,
00123                              TAO::Null_RefCount_Policy>
00124   _tao_tc_TAO_IOP_Invalid_IOR (
00125     CORBA::tk_except,
00126     "IDL:TAO_IOP/Invalid_IOR:1.0",
00127     "Invalid_IOR",
00128     _tao_fields_TAO_IOP_Invalid_IOR,
00129     0);
00130 
00131 namespace TAO_IOP
00132 {
00133   ::CORBA::TypeCode_ptr const _tc_Invalid_IOR =
00134     &_tao_tc_TAO_IOP_Invalid_IOR;
00135 }
00136 
00137 
00138 
00139 // TAO_IDL - Generated from
00140 // be/be_visitor_typecode/struct_typecode.cpp:74
00141 
00142 static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_TAO_IOP_MultiProfileList = 0;
00143 static TAO::TypeCode::Struct<char const *,
00144                              CORBA::TypeCode_ptr const *,
00145                              TAO::TypeCode::Struct_Field<char const *,
00146                                                          CORBA::TypeCode_ptr const *> const *,
00147                              TAO::Null_RefCount_Policy>
00148   _tao_tc_TAO_IOP_MultiProfileList (
00149     CORBA::tk_except,
00150     "IDL:TAO_IOP/MultiProfileList:1.0",
00151     "MultiProfileList",
00152     _tao_fields_TAO_IOP_MultiProfileList,
00153     0);
00154 
00155 namespace TAO_IOP
00156 {
00157   ::CORBA::TypeCode_ptr const _tc_MultiProfileList =
00158     &_tao_tc_TAO_IOP_MultiProfileList;
00159 }
00160 
00161 
00162 
00163 // TAO_IDL - Generated from
00164 // be/be_visitor_typecode/objref_typecode.cpp:76
00165 
00166 static TAO::TypeCode::Objref<char const *,
00167                              TAO::Null_RefCount_Policy>
00168   _tao_tc_TAO_IOP_TAO_IOR_Property (
00169     CORBA::tk_local_interface,
00170     "IDL:TAO_IOP/TAO_IOR_Property:1.0",
00171     "TAO_IOR_Property");
00172 
00173 namespace TAO_IOP
00174 {
00175   ::CORBA::TypeCode_ptr const _tc_TAO_IOR_Property =
00176     &_tao_tc_TAO_IOP_TAO_IOR_Property;
00177 }
00178 
00179 
00180 
00181 // TAO_IDL - Generated from
00182 // be/be_visitor_typecode/alias_typecode.cpp:31
00183 
00184 
00185 
00186 // TAO_IDL - Generated from
00187 // be/be_visitor_typecode/typecode_defn.cpp:925
00188 
00189 
00190 #ifndef _TAO_TYPECODE_TAO_IOP_TAO_IOR_Manipulation_IORList_GUARD
00191 #define _TAO_TYPECODE_TAO_IOP_TAO_IOR_Manipulation_IORList_GUARD
00192 namespace TAO
00193 {
00194   namespace TypeCode
00195   {
00196     TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *,
00197                             TAO::Null_RefCount_Policy>
00198       TAO_IOP_TAO_IOR_Manipulation_IORList_0 (
00199         CORBA::tk_sequence,
00200         &CORBA::_tc_Object,
00201         0U);
00202 
00203     ::CORBA::TypeCode_ptr const tc_TAO_IOP_TAO_IOR_Manipulation_IORList_0 =
00204       &TAO_IOP_TAO_IOR_Manipulation_IORList_0;
00205 
00206   }
00207 }
00208 
00209 
00210 #endif /* _TAO_TYPECODE_TAO_IOP_TAO_IOR_Manipulation_IORList_GUARD */
00211 static TAO::TypeCode::Alias<char const *,
00212                             CORBA::TypeCode_ptr const *,
00213                             TAO::Null_RefCount_Policy>
00214   _tao_tc_TAO_IOP_TAO_IOR_Manipulation_IORList (
00215     CORBA::tk_alias,
00216     "IDL:TAO_IOP/TAO_IOR_Manipulation/IORList:1.0",
00217     "IORList",
00218     &TAO::TypeCode::tc_TAO_IOP_TAO_IOR_Manipulation_IORList_0);
00219 
00220 ::CORBA::TypeCode_ptr const TAO_IOP::TAO_IOR_Manipulation::_tc_IORList =
00221   &_tao_tc_TAO_IOP_TAO_IOR_Manipulation_IORList;
00222 
00223 // TAO_IDL - Generated from
00224 // be/be_visitor_typecode/objref_typecode.cpp:76
00225 
00226 static TAO::TypeCode::Objref<char const *,
00227                              TAO::Null_RefCount_Policy>
00228   _tao_tc_TAO_IOP_TAO_IOR_Manipulation (
00229     CORBA::tk_local_interface,
00230     "IDL:TAO_IOP/TAO_IOR_Manipulation:1.0",
00231     "TAO_IOR_Manipulation");
00232 
00233 namespace TAO_IOP
00234 {
00235   ::CORBA::TypeCode_ptr const _tc_TAO_IOR_Manipulation =
00236     &_tao_tc_TAO_IOP_TAO_IOR_Manipulation;
00237 }
00238 
00239 
00240 
00241 // TAO_IDL - Generated from
00242 // be/be_visitor_exception/any_op_cs.cpp:50
00243 
00244 namespace TAO
00245 {
00246   template<>
00247   CORBA::Boolean
00248   Any_Dual_Impl_T<TAO_IOP::EmptyProfileList>::demarshal_value (
00249       TAO_InputCDR & cdr
00250     )
00251   {
00252     CORBA::String_var id;
00253 
00254     if (!(cdr >> id.out ()))
00255       {
00256         return false;
00257       }
00258 
00259     ACE_TRY_NEW_ENV
00260       {
00261         this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
00262         ACE_TRY_CHECK;
00263       }
00264     ACE_CATCHANY
00265       {
00266         return false;
00267       }
00268     ACE_ENDTRY;
00269 
00270     return true;
00271   }
00272 }
00273 
00274 // Copying insertion.
00275 void operator<<= (
00276     CORBA::Any &_tao_any,
00277     const TAO_IOP::EmptyProfileList &_tao_elem
00278   )
00279 {
00280   TAO::Any_Dual_Impl_T<TAO_IOP::EmptyProfileList>::insert_copy (
00281       _tao_any,
00282       TAO_IOP::EmptyProfileList::_tao_any_destructor,
00283       TAO_IOP::_tc_EmptyProfileList,
00284       _tao_elem
00285     );
00286 }
00287 
00288 // Non-copying insertion.
00289 void operator<<= (
00290     CORBA::Any &_tao_any,
00291     TAO_IOP::EmptyProfileList *_tao_elem
00292   )
00293 {
00294   TAO::Any_Dual_Impl_T<TAO_IOP::EmptyProfileList>::insert (
00295       _tao_any,
00296       TAO_IOP::EmptyProfileList::_tao_any_destructor,
00297       TAO_IOP::_tc_EmptyProfileList,
00298       _tao_elem
00299     );
00300 }
00301 
00302 // Extraction to non-const pointer (deprecated).
00303 CORBA::Boolean operator>>= (
00304     const CORBA::Any &_tao_any,
00305     TAO_IOP::EmptyProfileList *&_tao_elem
00306   )
00307 {
00308   return _tao_any >>= const_cast<
00309       const TAO_IOP::EmptyProfileList *&> (
00310       _tao_elem
00311     );
00312 }
00313 
00314 // Extraction to const pointer.
00315 CORBA::Boolean operator>>= (
00316     const CORBA::Any &_tao_any,
00317     const TAO_IOP::EmptyProfileList *&_tao_elem
00318   )
00319 {
00320   return
00321     TAO::Any_Dual_Impl_T<TAO_IOP::EmptyProfileList>::extract (
00322         _tao_any,
00323         TAO_IOP::EmptyProfileList::_tao_any_destructor,
00324         TAO_IOP::_tc_EmptyProfileList,
00325         _tao_elem
00326       );
00327 }
00328 
00329 // TAO_IDL - Generated from
00330 // be/be_visitor_exception/any_op_cs.cpp:50
00331 
00332 namespace TAO
00333 {
00334   template<>
00335   CORBA::Boolean
00336   Any_Dual_Impl_T<TAO_IOP::NotFound>::demarshal_value (
00337       TAO_InputCDR & cdr
00338     )
00339   {
00340     CORBA::String_var id;
00341 
00342     if (!(cdr >> id.out ()))
00343       {
00344         return false;
00345       }
00346 
00347     ACE_TRY_NEW_ENV
00348       {
00349         this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
00350         ACE_TRY_CHECK;
00351       }
00352     ACE_CATCHANY
00353       {
00354         return false;
00355       }
00356     ACE_ENDTRY;
00357 
00358     return true;
00359   }
00360 }
00361 
00362 // Copying insertion.
00363 void operator<<= (
00364     CORBA::Any &_tao_any,
00365     const TAO_IOP::NotFound &_tao_elem
00366   )
00367 {
00368   TAO::Any_Dual_Impl_T<TAO_IOP::NotFound>::insert_copy (
00369       _tao_any,
00370       TAO_IOP::NotFound::_tao_any_destructor,
00371       TAO_IOP::_tc_NotFound,
00372       _tao_elem
00373     );
00374 }
00375 
00376 // Non-copying insertion.
00377 void operator<<= (
00378     CORBA::Any &_tao_any,
00379     TAO_IOP::NotFound *_tao_elem
00380   )
00381 {
00382   TAO::Any_Dual_Impl_T<TAO_IOP::NotFound>::insert (
00383       _tao_any,
00384       TAO_IOP::NotFound::_tao_any_destructor,
00385       TAO_IOP::_tc_NotFound,
00386       _tao_elem
00387     );
00388 }
00389 
00390 // Extraction to non-const pointer (deprecated).
00391 CORBA::Boolean operator>>= (
00392     const CORBA::Any &_tao_any,
00393     TAO_IOP::NotFound *&_tao_elem
00394   )
00395 {
00396   return _tao_any >>= const_cast<
00397       const TAO_IOP::NotFound *&> (
00398       _tao_elem
00399     );
00400 }
00401 
00402 // Extraction to const pointer.
00403 CORBA::Boolean operator>>= (
00404     const CORBA::Any &_tao_any,
00405     const TAO_IOP::NotFound *&_tao_elem
00406   )
00407 {
00408   return
00409     TAO::Any_Dual_Impl_T<TAO_IOP::NotFound>::extract (
00410         _tao_any,
00411         TAO_IOP::NotFound::_tao_any_destructor,
00412         TAO_IOP::_tc_NotFound,
00413         _tao_elem
00414       );
00415 }
00416 
00417 // TAO_IDL - Generated from
00418 // be/be_visitor_exception/any_op_cs.cpp:50
00419 
00420 namespace TAO
00421 {
00422   template<>
00423   CORBA::Boolean
00424   Any_Dual_Impl_T<TAO_IOP::Duplicate>::demarshal_value (
00425       TAO_InputCDR & cdr
00426     )
00427   {
00428     CORBA::String_var id;
00429 
00430     if (!(cdr >> id.out ()))
00431       {
00432         return false;
00433       }
00434 
00435     ACE_TRY_NEW_ENV
00436       {
00437         this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
00438         ACE_TRY_CHECK;
00439       }
00440     ACE_CATCHANY
00441       {
00442         return false;
00443       }
00444     ACE_ENDTRY;
00445 
00446     return true;
00447   }
00448 }
00449 
00450 // Copying insertion.
00451 void operator<<= (
00452     CORBA::Any &_tao_any,
00453     const TAO_IOP::Duplicate &_tao_elem
00454   )
00455 {
00456   TAO::Any_Dual_Impl_T<TAO_IOP::Duplicate>::insert_copy (
00457       _tao_any,
00458       TAO_IOP::Duplicate::_tao_any_destructor,
00459       TAO_IOP::_tc_Duplicate,
00460       _tao_elem
00461     );
00462 }
00463 
00464 // Non-copying insertion.
00465 void operator<<= (
00466     CORBA::Any &_tao_any,
00467     TAO_IOP::Duplicate *_tao_elem
00468   )
00469 {
00470   TAO::Any_Dual_Impl_T<TAO_IOP::Duplicate>::insert (
00471       _tao_any,
00472       TAO_IOP::Duplicate::_tao_any_destructor,
00473       TAO_IOP::_tc_Duplicate,
00474       _tao_elem
00475     );
00476 }
00477 
00478 // Extraction to non-const pointer (deprecated).
00479 CORBA::Boolean operator>>= (
00480     const CORBA::Any &_tao_any,
00481     TAO_IOP::Duplicate *&_tao_elem
00482   )
00483 {
00484   return _tao_any >>= const_cast<
00485       const TAO_IOP::Duplicate *&> (
00486       _tao_elem
00487     );
00488 }
00489 
00490 // Extraction to const pointer.
00491 CORBA::Boolean operator>>= (
00492     const CORBA::Any &_tao_any,
00493     const TAO_IOP::Duplicate *&_tao_elem
00494   )
00495 {
00496   return
00497     TAO::Any_Dual_Impl_T<TAO_IOP::Duplicate>::extract (
00498         _tao_any,
00499         TAO_IOP::Duplicate::_tao_any_destructor,
00500         TAO_IOP::_tc_Duplicate,
00501         _tao_elem
00502       );
00503 }
00504 
00505 // TAO_IDL - Generated from
00506 // be/be_visitor_exception/any_op_cs.cpp:50
00507 
00508 namespace TAO
00509 {
00510   template<>
00511   CORBA::Boolean
00512   Any_Dual_Impl_T<TAO_IOP::Invalid_IOR>::demarshal_value (
00513       TAO_InputCDR & cdr
00514     )
00515   {
00516     CORBA::String_var id;
00517 
00518     if (!(cdr >> id.out ()))
00519       {
00520         return false;
00521       }
00522 
00523     ACE_TRY_NEW_ENV
00524       {
00525         this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
00526         ACE_TRY_CHECK;
00527       }
00528     ACE_CATCHANY
00529       {
00530         return false;
00531       }
00532     ACE_ENDTRY;
00533 
00534     return true;
00535   }
00536 }
00537 
00538 // Copying insertion.
00539 void operator<<= (
00540     CORBA::Any &_tao_any,
00541     const TAO_IOP::Invalid_IOR &_tao_elem
00542   )
00543 {
00544   TAO::Any_Dual_Impl_T<TAO_IOP::Invalid_IOR>::insert_copy (
00545       _tao_any,
00546       TAO_IOP::Invalid_IOR::_tao_any_destructor,
00547       TAO_IOP::_tc_Invalid_IOR,
00548       _tao_elem
00549     );
00550 }
00551 
00552 // Non-copying insertion.
00553 void operator<<= (
00554     CORBA::Any &_tao_any,
00555     TAO_IOP::Invalid_IOR *_tao_elem
00556   )
00557 {
00558   TAO::Any_Dual_Impl_T<TAO_IOP::Invalid_IOR>::insert (
00559       _tao_any,
00560       TAO_IOP::Invalid_IOR::_tao_any_destructor,
00561       TAO_IOP::_tc_Invalid_IOR,
00562       _tao_elem
00563     );
00564 }
00565 
00566 // Extraction to non-const pointer (deprecated).
00567 CORBA::Boolean operator>>= (
00568     const CORBA::Any &_tao_any,
00569     TAO_IOP::Invalid_IOR *&_tao_elem
00570   )
00571 {
00572   return _tao_any >>= const_cast<
00573       const TAO_IOP::Invalid_IOR *&> (
00574       _tao_elem
00575     );
00576 }
00577 
00578 // Extraction to const pointer.
00579 CORBA::Boolean operator>>= (
00580     const CORBA::Any &_tao_any,
00581     const TAO_IOP::Invalid_IOR *&_tao_elem
00582   )
00583 {
00584   return
00585     TAO::Any_Dual_Impl_T<TAO_IOP::Invalid_IOR>::extract (
00586         _tao_any,
00587         TAO_IOP::Invalid_IOR::_tao_any_destructor,
00588         TAO_IOP::_tc_Invalid_IOR,
00589         _tao_elem
00590       );
00591 }
00592 
00593 // TAO_IDL - Generated from
00594 // be/be_visitor_exception/any_op_cs.cpp:50
00595 
00596 namespace TAO
00597 {
00598   template<>
00599   CORBA::Boolean
00600   Any_Dual_Impl_T<TAO_IOP::MultiProfileList>::demarshal_value (
00601       TAO_InputCDR & cdr
00602     )
00603   {
00604     CORBA::String_var id;
00605 
00606     if (!(cdr >> id.out ()))
00607       {
00608         return false;
00609       }
00610 
00611     ACE_TRY_NEW_ENV
00612       {
00613         this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
00614         ACE_TRY_CHECK;
00615       }
00616     ACE_CATCHANY
00617       {
00618         return false;
00619       }
00620     ACE_ENDTRY;
00621 
00622     return true;
00623   }
00624 }
00625 
00626 // Copying insertion.
00627 void operator<<= (
00628     CORBA::Any &_tao_any,
00629     const TAO_IOP::MultiProfileList &_tao_elem
00630   )
00631 {
00632   TAO::Any_Dual_Impl_T<TAO_IOP::MultiProfileList>::insert_copy (
00633       _tao_any,
00634       TAO_IOP::MultiProfileList::_tao_any_destructor,
00635       TAO_IOP::_tc_MultiProfileList,
00636       _tao_elem
00637     );
00638 }
00639 
00640 // Non-copying insertion.
00641 void operator<<= (
00642     CORBA::Any &_tao_any,
00643     TAO_IOP::MultiProfileList *_tao_elem
00644   )
00645 {
00646   TAO::Any_Dual_Impl_T<TAO_IOP::MultiProfileList>::insert (
00647       _tao_any,
00648       TAO_IOP::MultiProfileList::_tao_any_destructor,
00649       TAO_IOP::_tc_MultiProfileList,
00650       _tao_elem
00651     );
00652 }
00653 
00654 // Extraction to non-const pointer (deprecated).
00655 CORBA::Boolean operator>>= (
00656     const CORBA::Any &_tao_any,
00657     TAO_IOP::MultiProfileList *&_tao_elem
00658   )
00659 {
00660   return _tao_any >>= const_cast<
00661       const TAO_IOP::MultiProfileList *&> (
00662       _tao_elem
00663     );
00664 }
00665 
00666 // Extraction to const pointer.
00667 CORBA::Boolean operator>>= (
00668     const CORBA::Any &_tao_any,
00669     const TAO_IOP::MultiProfileList *&_tao_elem
00670   )
00671 {
00672   return
00673     TAO::Any_Dual_Impl_T<TAO_IOP::MultiProfileList>::extract (
00674         _tao_any,
00675         TAO_IOP::MultiProfileList::_tao_any_destructor,
00676         TAO_IOP::_tc_MultiProfileList,
00677         _tao_elem
00678       );
00679 }
00680 
00681 // TAO_IDL - Generated from
00682 // be/be_visitor_interface/any_op_cs.cpp:50
00683 
00684 namespace TAO
00685 {
00686   template<>
00687   CORBA::Boolean
00688   Any_Impl_T<TAO_IOP::TAO_IOR_Property>::to_object (
00689       CORBA::Object_ptr &_tao_elem
00690     ) const
00691   {
00692     _tao_elem = CORBA::Object::_duplicate (this->value_);
00693     return true;
00694   }
00695 }
00696 
00697 namespace TAO
00698 {
00699   template<>
00700   CORBA::Boolean
00701   Any_Impl_T<TAO_IOP::TAO_IOR_Property>::marshal_value (TAO_OutputCDR &)
00702   {
00703     return false;
00704   }
00705 
00706   template<>
00707   CORBA::Boolean
00708   Any_Impl_T<TAO_IOP::TAO_IOR_Property>::demarshal_value (TAO_InputCDR &)
00709   {
00710     return false;
00711   }
00712 }
00713 
00714 // Copying insertion.
00715 void
00716 operator<<= (
00717     CORBA::Any &_tao_any,
00718     TAO_IOP::TAO_IOR_Property_ptr _tao_elem
00719   )
00720 {
00721   TAO_IOP::TAO_IOR_Property_ptr _tao_objptr =
00722     TAO_IOP::TAO_IOR_Property::_duplicate (_tao_elem);
00723   _tao_any <<= &_tao_objptr;
00724 }
00725 
00726 // Non-copying insertion.
00727 void
00728 operator<<= (
00729     CORBA::Any &_tao_any,
00730     TAO_IOP::TAO_IOR_Property_ptr *_tao_elem
00731   )
00732 {
00733   TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Property>::insert (
00734       _tao_any,
00735       TAO_IOP::TAO_IOR_Property::_tao_any_destructor,
00736       TAO_IOP::_tc_TAO_IOR_Property,
00737       *_tao_elem
00738     );
00739 }
00740 
00741 CORBA::Boolean
00742 operator>>= (
00743     const CORBA::Any &_tao_any,
00744     TAO_IOP::TAO_IOR_Property_ptr &_tao_elem
00745   )
00746 {
00747   return
00748     TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Property>::extract (
00749         _tao_any,
00750         TAO_IOP::TAO_IOR_Property::_tao_any_destructor,
00751         TAO_IOP::_tc_TAO_IOR_Property,
00752         _tao_elem
00753       );
00754 }
00755 
00756 // TAO_IDL - Generated from
00757 // be/be_visitor_interface/any_op_cs.cpp:50
00758 
00759 namespace TAO
00760 {
00761   template<>
00762   CORBA::Boolean
00763   Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>::to_object (
00764       CORBA::Object_ptr &_tao_elem
00765     ) const
00766   {
00767     _tao_elem = CORBA::Object::_duplicate (this->value_);
00768     return true;
00769   }
00770 }
00771 
00772 namespace TAO
00773 {
00774   template<>
00775   CORBA::Boolean
00776   Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>::marshal_value (TAO_OutputCDR &)
00777   {
00778     return false;
00779   }
00780 
00781   template<>
00782   CORBA::Boolean
00783   Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>::demarshal_value (TAO_InputCDR &)
00784   {
00785     return false;
00786   }
00787 }
00788 
00789 // Copying insertion.
00790 void
00791 operator<<= (
00792     CORBA::Any &_tao_any,
00793     TAO_IOP::TAO_IOR_Manipulation_ptr _tao_elem
00794   )
00795 {
00796   TAO_IOP::TAO_IOR_Manipulation_ptr _tao_objptr =
00797     TAO_IOP::TAO_IOR_Manipulation::_duplicate (_tao_elem);
00798   _tao_any <<= &_tao_objptr;
00799 }
00800 
00801 // Non-copying insertion.
00802 void
00803 operator<<= (
00804     CORBA::Any &_tao_any,
00805     TAO_IOP::TAO_IOR_Manipulation_ptr *_tao_elem
00806   )
00807 {
00808   TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>::insert (
00809       _tao_any,
00810       TAO_IOP::TAO_IOR_Manipulation::_tao_any_destructor,
00811       TAO_IOP::_tc_TAO_IOR_Manipulation,
00812       *_tao_elem
00813     );
00814 }
00815 
00816 CORBA::Boolean
00817 operator>>= (
00818     const CORBA::Any &_tao_any,
00819     TAO_IOP::TAO_IOR_Manipulation_ptr &_tao_elem
00820   )
00821 {
00822   return
00823     TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>::extract (
00824         _tao_any,
00825         TAO_IOP::TAO_IOR_Manipulation::_tao_any_destructor,
00826         TAO_IOP::_tc_TAO_IOR_Manipulation,
00827         _tao_elem
00828       );
00829 }
00830 
00831 // TAO_IDL - Generated from
00832 // be/be_visitor_sequence/any_op_cs.cpp:54
00833 
00834 namespace TAO
00835 {
00836   template<>
00837   CORBA::Boolean
00838   Any_Dual_Impl_T<TAO_IOP::TAO_IOR_Manipulation::IORList>::marshal_value (TAO_OutputCDR &)
00839   {
00840     return false;
00841   }
00842 
00843   template<>
00844   CORBA::Boolean
00845   Any_Dual_Impl_T<TAO_IOP::TAO_IOR_Manipulation::IORList>::demarshal_value (TAO_InputCDR &)
00846   {
00847     return false;
00848   }
00849 }
00850 
00851 // Copying insertion.
00852 void operator<<= (
00853     CORBA::Any &_tao_any,
00854     const TAO_IOP::TAO_IOR_Manipulation::IORList &_tao_elem
00855   )
00856 {
00857   TAO::Any_Dual_Impl_T<TAO_IOP::TAO_IOR_Manipulation::IORList>::insert_copy (
00858       _tao_any,
00859       TAO_IOP::TAO_IOR_Manipulation::IORList::_tao_any_destructor,
00860       TAO::TypeCode::tc_TAO_IOP_TAO_IOR_Manipulation_IORList_0,
00861       _tao_elem
00862     );
00863 }
00864 
00865 // Non-copying insertion.
00866 void operator<<= (
00867     CORBA::Any &_tao_any,
00868     TAO_IOP::TAO_IOR_Manipulation::IORList *_tao_elem
00869   )
00870 {
00871   TAO::Any_Dual_Impl_T<TAO_IOP::TAO_IOR_Manipulation::IORList>::insert (
00872       _tao_any,
00873       TAO_IOP::TAO_IOR_Manipulation::IORList::_tao_any_destructor,
00874       TAO::TypeCode::tc_TAO_IOP_TAO_IOR_Manipulation_IORList_0,
00875       _tao_elem
00876     );
00877 }
00878 
00879 // Extraction to non-const pointer (deprecated).
00880 CORBA::Boolean operator>>= (
00881     const CORBA::Any &_tao_any,
00882     TAO_IOP::TAO_IOR_Manipulation::IORList *&_tao_elem
00883   )
00884 {
00885   return _tao_any >>= const_cast<
00886       const TAO_IOP::TAO_IOR_Manipulation::IORList *&> (
00887       _tao_elem
00888     );
00889 }
00890 
00891 // Extraction to const pointer.
00892 CORBA::Boolean operator>>= (
00893     const CORBA::Any &_tao_any,
00894     const TAO_IOP::TAO_IOR_Manipulation::IORList *&_tao_elem
00895   )
00896 {
00897   return
00898     TAO::Any_Dual_Impl_T<TAO_IOP::TAO_IOR_Manipulation::IORList>::extract (
00899         _tao_any,
00900         TAO_IOP::TAO_IOR_Manipulation::IORList::_tao_any_destructor,
00901         TAO::TypeCode::tc_TAO_IOP_TAO_IOR_Manipulation_IORList_0,
00902         _tao_elem
00903       );
00904 }
00905 
00906 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 13:06:04 2006 for TAO_IORManipulation by doxygen 1.3.6