diff options
-rw-r--r-- | TAO/tao/IORManipulation.mpc | 8 | ||||
-rw-r--r-- | TAO/tao/IORManipulation/IORA.cpp | 906 | ||||
-rw-r--r-- | TAO/tao/IORManipulation/IORA.h | 27 | ||||
-rw-r--r-- | TAO/tao/IORManipulation/IORC.cpp | 1014 | ||||
-rw-r--r-- | TAO/tao/IORManipulation/IORC.h | 920 |
5 files changed, 35 insertions, 2840 deletions
diff --git a/TAO/tao/IORManipulation.mpc b/TAO/tao/IORManipulation.mpc index 53b0e019424..407732dca57 100644 --- a/TAO/tao/IORManipulation.mpc +++ b/TAO/tao/IORManipulation.mpc @@ -29,6 +29,14 @@ project : taolib, core, core_anytypecode, tao_versioning_idl_defaults { } IDL_Files { + idlflags += -Gp -Gd -Ge 1 -Sci -SS -Sorb \ + -Wb,export_macro=TAO_IORManip_Export \ + -Wb,export_include=tao/IORManipulation/ior_manip_export.h \ + -Wb,include_guard=TAO_IORMANIP_SAFE_INCLUDE \ + -Wb,safe_include=tao/IORManipulation/IORManip_Loader.h \ + -o IORManipulation + idlflags -= -Sa -St + IORManipulation/IOR.pidl } Pkgconfig_Files { diff --git a/TAO/tao/IORManipulation/IORA.cpp b/TAO/tao/IORManipulation/IORA.cpp deleted file mode 100644 index 4f66fb1a1c5..00000000000 --- a/TAO/tao/IORManipulation/IORA.cpp +++ /dev/null @@ -1,906 +0,0 @@ -// -*- C++ -*- -// -// $Id$ - -// **** Code generated by the The ACE ORB (TAO) IDL Compiler **** -// TAO and the TAO IDL Compiler have been developed by: -// Center for Distributed Object Computing -// Washington University -// St. Louis, MO -// USA -// http://www.cs.wustl.edu/~schmidt/doc-center.html -// and -// Distributed Object Computing Laboratory -// University of California at Irvine -// Irvine, CA -// USA -// http://doc.ece.uci.edu/ -// and -// Institute for Software Integrated Systems -// Vanderbilt University -// Nashville, TN -// USA -// http://www.isis.vanderbilt.edu/ -// -// Information about TAO is available at: -// http://www.cs.wustl.edu/~schmidt/TAO.html - -#include "tao/AnyTypeCode/Null_RefCount_Policy.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/AnyTypeCode/Alias_TypeCode_Static.h" -#include "tao/AnyTypeCode/Objref_TypeCode_Static.h" -#include "tao/AnyTypeCode/Sequence_TypeCode_Static.h" -#include "tao/AnyTypeCode/Struct_TypeCode_Static.h" -#include "tao/AnyTypeCode/TypeCode_Struct_Field.h" -#include "tao/IORManipulation/IORManip_Loader.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" -#include "tao/AnyTypeCode/Any_Dual_Impl_T.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// TAO_IDL - Generated from -// be/be_visitor_typecode/struct_typecode.cpp:74 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_TAO_IOP_EmptyProfileList = 0; -static TAO::TypeCode::Struct<char const *, - CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field<char const *, - CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> - _tao_tc_TAO_IOP_EmptyProfileList ( - CORBA::tk_except, - "IDL:TAO_IOP/EmptyProfileList:1.0", - "EmptyProfileList", - _tao_fields_TAO_IOP_EmptyProfileList, - 0); - -namespace TAO_IOP -{ - ::CORBA::TypeCode_ptr const _tc_EmptyProfileList = - &_tao_tc_TAO_IOP_EmptyProfileList; -} - - - -// TAO_IDL - Generated from -// be/be_visitor_typecode/struct_typecode.cpp:74 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_TAO_IOP_NotFound = 0; -static TAO::TypeCode::Struct<char const *, - CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field<char const *, - CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> - _tao_tc_TAO_IOP_NotFound ( - CORBA::tk_except, - "IDL:TAO_IOP/NotFound:1.0", - "NotFound", - _tao_fields_TAO_IOP_NotFound, - 0); - -namespace TAO_IOP -{ - ::CORBA::TypeCode_ptr const _tc_NotFound = - &_tao_tc_TAO_IOP_NotFound; -} - - - -// TAO_IDL - Generated from -// be/be_visitor_typecode/struct_typecode.cpp:74 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_TAO_IOP_Duplicate = 0; -static TAO::TypeCode::Struct<char const *, - CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field<char const *, - CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> - _tao_tc_TAO_IOP_Duplicate ( - CORBA::tk_except, - "IDL:TAO_IOP/Duplicate:1.0", - "Duplicate", - _tao_fields_TAO_IOP_Duplicate, - 0); - -namespace TAO_IOP -{ - ::CORBA::TypeCode_ptr const _tc_Duplicate = - &_tao_tc_TAO_IOP_Duplicate; -} - - - -// TAO_IDL - Generated from -// be/be_visitor_typecode/struct_typecode.cpp:74 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_TAO_IOP_Invalid_IOR = 0; -static TAO::TypeCode::Struct<char const *, - CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field<char const *, - CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> - _tao_tc_TAO_IOP_Invalid_IOR ( - CORBA::tk_except, - "IDL:TAO_IOP/Invalid_IOR:1.0", - "Invalid_IOR", - _tao_fields_TAO_IOP_Invalid_IOR, - 0); - -namespace TAO_IOP -{ - ::CORBA::TypeCode_ptr const _tc_Invalid_IOR = - &_tao_tc_TAO_IOP_Invalid_IOR; -} - - - -// TAO_IDL - Generated from -// be/be_visitor_typecode/struct_typecode.cpp:74 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_TAO_IOP_MultiProfileList = 0; -static TAO::TypeCode::Struct<char const *, - CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field<char const *, - CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> - _tao_tc_TAO_IOP_MultiProfileList ( - CORBA::tk_except, - "IDL:TAO_IOP/MultiProfileList:1.0", - "MultiProfileList", - _tao_fields_TAO_IOP_MultiProfileList, - 0); - -namespace TAO_IOP -{ - ::CORBA::TypeCode_ptr const _tc_MultiProfileList = - &_tao_tc_TAO_IOP_MultiProfileList; -} - - - -// TAO_IDL - Generated from -// be/be_visitor_typecode/objref_typecode.cpp:76 - -static TAO::TypeCode::Objref<char const *, - TAO::Null_RefCount_Policy> - _tao_tc_TAO_IOP_TAO_IOR_Property ( - CORBA::tk_local_interface, - "IDL:TAO_IOP/TAO_IOR_Property:1.0", - "TAO_IOR_Property"); - -namespace TAO_IOP -{ - ::CORBA::TypeCode_ptr const _tc_TAO_IOR_Property = - &_tao_tc_TAO_IOP_TAO_IOR_Property; -} - - - -// TAO_IDL - Generated from -// be/be_visitor_typecode/alias_typecode.cpp:31 - - - -// TAO_IDL - Generated from -// be/be_visitor_typecode/typecode_defn.cpp:925 - - -#ifndef _TAO_TYPECODE_TAO_IOP_TAO_IOR_Manipulation_IORList_GUARD -#define _TAO_TYPECODE_TAO_IOP_TAO_IOR_Manipulation_IORList_GUARD -namespace TAO -{ - namespace TypeCode - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - TAO_IOP_TAO_IOR_Manipulation_IORList_0 ( - CORBA::tk_sequence, - &CORBA::_tc_Object, - 0U); - - ::CORBA::TypeCode_ptr const tc_TAO_IOP_TAO_IOR_Manipulation_IORList_0 = - &TAO_IOP_TAO_IOR_Manipulation_IORList_0; - - } -} - - -#endif /* _TAO_TYPECODE_TAO_IOP_TAO_IOR_Manipulation_IORList_GUARD */ -static TAO::TypeCode::Alias<char const *, - CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_TAO_IOP_TAO_IOR_Manipulation_IORList ( - CORBA::tk_alias, - "IDL:TAO_IOP/TAO_IOR_Manipulation/IORList:1.0", - "IORList", - &TAO::TypeCode::tc_TAO_IOP_TAO_IOR_Manipulation_IORList_0); - -::CORBA::TypeCode_ptr const TAO_IOP::TAO_IOR_Manipulation::_tc_IORList = - &_tao_tc_TAO_IOP_TAO_IOR_Manipulation_IORList; - -// TAO_IDL - Generated from -// be/be_visitor_typecode/objref_typecode.cpp:76 - -static TAO::TypeCode::Objref<char const *, - TAO::Null_RefCount_Policy> - _tao_tc_TAO_IOP_TAO_IOR_Manipulation ( - CORBA::tk_local_interface, - "IDL:TAO_IOP/TAO_IOR_Manipulation:1.0", - "TAO_IOR_Manipulation"); - -namespace TAO_IOP -{ - ::CORBA::TypeCode_ptr const _tc_TAO_IOR_Manipulation = - &_tao_tc_TAO_IOP_TAO_IOR_Manipulation; -} - - - -// TAO_IDL - Generated from -// be/be_visitor_exception/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Dual_Impl_T<TAO_IOP::EmptyProfileList>::demarshal_value ( - TAO_InputCDR & cdr - ) - { - CORBA::String_var id; - - if (!(cdr >> id.out ())) - { - return false; - } - - ACE_TRY_NEW_ENV - { - this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - return false; - } - ACE_ENDTRY; - - return true; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const TAO_IOP::EmptyProfileList &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<TAO_IOP::EmptyProfileList>::insert_copy ( - _tao_any, - TAO_IOP::EmptyProfileList::_tao_any_destructor, - TAO_IOP::_tc_EmptyProfileList, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - TAO_IOP::EmptyProfileList *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<TAO_IOP::EmptyProfileList>::insert ( - _tao_any, - TAO_IOP::EmptyProfileList::_tao_any_destructor, - TAO_IOP::_tc_EmptyProfileList, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - TAO_IOP::EmptyProfileList *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const TAO_IOP::EmptyProfileList *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const TAO_IOP::EmptyProfileList *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<TAO_IOP::EmptyProfileList>::extract ( - _tao_any, - TAO_IOP::EmptyProfileList::_tao_any_destructor, - TAO_IOP::_tc_EmptyProfileList, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be/be_visitor_exception/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Dual_Impl_T<TAO_IOP::NotFound>::demarshal_value ( - TAO_InputCDR & cdr - ) - { - CORBA::String_var id; - - if (!(cdr >> id.out ())) - { - return false; - } - - ACE_TRY_NEW_ENV - { - this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - return false; - } - ACE_ENDTRY; - - return true; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const TAO_IOP::NotFound &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<TAO_IOP::NotFound>::insert_copy ( - _tao_any, - TAO_IOP::NotFound::_tao_any_destructor, - TAO_IOP::_tc_NotFound, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - TAO_IOP::NotFound *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<TAO_IOP::NotFound>::insert ( - _tao_any, - TAO_IOP::NotFound::_tao_any_destructor, - TAO_IOP::_tc_NotFound, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - TAO_IOP::NotFound *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const TAO_IOP::NotFound *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const TAO_IOP::NotFound *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<TAO_IOP::NotFound>::extract ( - _tao_any, - TAO_IOP::NotFound::_tao_any_destructor, - TAO_IOP::_tc_NotFound, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be/be_visitor_exception/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Dual_Impl_T<TAO_IOP::Duplicate>::demarshal_value ( - TAO_InputCDR & cdr - ) - { - CORBA::String_var id; - - if (!(cdr >> id.out ())) - { - return false; - } - - ACE_TRY_NEW_ENV - { - this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - return false; - } - ACE_ENDTRY; - - return true; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const TAO_IOP::Duplicate &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<TAO_IOP::Duplicate>::insert_copy ( - _tao_any, - TAO_IOP::Duplicate::_tao_any_destructor, - TAO_IOP::_tc_Duplicate, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - TAO_IOP::Duplicate *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<TAO_IOP::Duplicate>::insert ( - _tao_any, - TAO_IOP::Duplicate::_tao_any_destructor, - TAO_IOP::_tc_Duplicate, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - TAO_IOP::Duplicate *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const TAO_IOP::Duplicate *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const TAO_IOP::Duplicate *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<TAO_IOP::Duplicate>::extract ( - _tao_any, - TAO_IOP::Duplicate::_tao_any_destructor, - TAO_IOP::_tc_Duplicate, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be/be_visitor_exception/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Dual_Impl_T<TAO_IOP::Invalid_IOR>::demarshal_value ( - TAO_InputCDR & cdr - ) - { - CORBA::String_var id; - - if (!(cdr >> id.out ())) - { - return false; - } - - ACE_TRY_NEW_ENV - { - this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - return false; - } - ACE_ENDTRY; - - return true; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const TAO_IOP::Invalid_IOR &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<TAO_IOP::Invalid_IOR>::insert_copy ( - _tao_any, - TAO_IOP::Invalid_IOR::_tao_any_destructor, - TAO_IOP::_tc_Invalid_IOR, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - TAO_IOP::Invalid_IOR *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<TAO_IOP::Invalid_IOR>::insert ( - _tao_any, - TAO_IOP::Invalid_IOR::_tao_any_destructor, - TAO_IOP::_tc_Invalid_IOR, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - TAO_IOP::Invalid_IOR *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const TAO_IOP::Invalid_IOR *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const TAO_IOP::Invalid_IOR *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<TAO_IOP::Invalid_IOR>::extract ( - _tao_any, - TAO_IOP::Invalid_IOR::_tao_any_destructor, - TAO_IOP::_tc_Invalid_IOR, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be/be_visitor_exception/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Dual_Impl_T<TAO_IOP::MultiProfileList>::demarshal_value ( - TAO_InputCDR & cdr - ) - { - CORBA::String_var id; - - if (!(cdr >> id.out ())) - { - return false; - } - - ACE_TRY_NEW_ENV - { - this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - return false; - } - ACE_ENDTRY; - - return true; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const TAO_IOP::MultiProfileList &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<TAO_IOP::MultiProfileList>::insert_copy ( - _tao_any, - TAO_IOP::MultiProfileList::_tao_any_destructor, - TAO_IOP::_tc_MultiProfileList, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - TAO_IOP::MultiProfileList *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<TAO_IOP::MultiProfileList>::insert ( - _tao_any, - TAO_IOP::MultiProfileList::_tao_any_destructor, - TAO_IOP::_tc_MultiProfileList, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - TAO_IOP::MultiProfileList *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const TAO_IOP::MultiProfileList *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const TAO_IOP::MultiProfileList *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<TAO_IOP::MultiProfileList>::extract ( - _tao_any, - TAO_IOP::MultiProfileList::_tao_any_destructor, - TAO_IOP::_tc_MultiProfileList, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be/be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<TAO_IOP::TAO_IOR_Property>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const - { - _tao_elem = CORBA::Object::_duplicate (this->value_); - return true; - } -} - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<TAO_IOP::TAO_IOR_Property>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<TAO_IOP::TAO_IOR_Property>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - TAO_IOP::TAO_IOR_Property_ptr _tao_elem - ) -{ - TAO_IOP::TAO_IOR_Property_ptr _tao_objptr = - TAO_IOP::TAO_IOR_Property::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - TAO_IOP::TAO_IOR_Property_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Property>::insert ( - _tao_any, - TAO_IOP::TAO_IOR_Property::_tao_any_destructor, - TAO_IOP::_tc_TAO_IOR_Property, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - TAO_IOP::TAO_IOR_Property_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Property>::extract ( - _tao_any, - TAO_IOP::TAO_IOR_Property::_tao_any_destructor, - TAO_IOP::_tc_TAO_IOR_Property, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be/be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const - { - _tao_elem = CORBA::Object::_duplicate (this->value_); - return true; - } -} - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - TAO_IOP::TAO_IOR_Manipulation_ptr _tao_elem - ) -{ - TAO_IOP::TAO_IOR_Manipulation_ptr _tao_objptr = - TAO_IOP::TAO_IOR_Manipulation::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - TAO_IOP::TAO_IOR_Manipulation_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>::insert ( - _tao_any, - TAO_IOP::TAO_IOR_Manipulation::_tao_any_destructor, - TAO_IOP::_tc_TAO_IOR_Manipulation, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - TAO_IOP::TAO_IOR_Manipulation_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>::extract ( - _tao_any, - TAO_IOP::TAO_IOR_Manipulation::_tao_any_destructor, - TAO_IOP::_tc_TAO_IOR_Manipulation, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be/be_visitor_sequence/any_op_cs.cpp:54 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Dual_Impl_T<TAO_IOP::TAO_IOR_Manipulation::IORList>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Dual_Impl_T<TAO_IOP::TAO_IOR_Manipulation::IORList>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const TAO_IOP::TAO_IOR_Manipulation::IORList &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<TAO_IOP::TAO_IOR_Manipulation::IORList>::insert_copy ( - _tao_any, - TAO_IOP::TAO_IOR_Manipulation::IORList::_tao_any_destructor, - TAO::TypeCode::tc_TAO_IOP_TAO_IOR_Manipulation_IORList_0, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - TAO_IOP::TAO_IOR_Manipulation::IORList *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<TAO_IOP::TAO_IOR_Manipulation::IORList>::insert ( - _tao_any, - TAO_IOP::TAO_IOR_Manipulation::IORList::_tao_any_destructor, - TAO::TypeCode::tc_TAO_IOP_TAO_IOR_Manipulation_IORList_0, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - TAO_IOP::TAO_IOR_Manipulation::IORList *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const TAO_IOP::TAO_IOR_Manipulation::IORList *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const TAO_IOP::TAO_IOR_Manipulation::IORList *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<TAO_IOP::TAO_IOR_Manipulation::IORList>::extract ( - _tao_any, - TAO_IOP::TAO_IOR_Manipulation::IORList::_tao_any_destructor, - TAO::TypeCode::tc_TAO_IOP_TAO_IOR_Manipulation_IORList_0, - _tao_elem - ); -} - -TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/IORManipulation/IORA.h b/TAO/tao/IORManipulation/IORA.h new file mode 100644 index 00000000000..c944d806c1f --- /dev/null +++ b/TAO/tao/IORManipulation/IORA.h @@ -0,0 +1,27 @@ +// -*- C++ -*- +// +// $Id$ + +// **** Code generated by the The ACE ORB (TAO) IDL Compiler **** +// TAO and the TAO IDL Compiler have been developed by: +// Center for Distributed Object Computing +// Washington University +// St. Louis, MO +// USA +// http://www.cs.wustl.edu/~schmidt/doc-center.html +// and +// Distributed Object Computing Laboratory +// University of California at Irvine +// Irvine, CA +// USA +// http://doc.ece.uci.edu/ +// and +// Institute for Software Integrated Systems +// Vanderbilt University +// Nashville, TN +// USA +// http://www.isis.vanderbilt.edu/ +// +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html + diff --git a/TAO/tao/IORManipulation/IORC.cpp b/TAO/tao/IORManipulation/IORC.cpp deleted file mode 100644 index b90f2877f73..00000000000 --- a/TAO/tao/IORManipulation/IORC.cpp +++ /dev/null @@ -1,1014 +0,0 @@ -// -*- C++ -*- -// -// $Id$ - -// **** Code generated by the The ACE ORB (TAO) IDL Compiler **** -// TAO and the TAO IDL Compiler have been developed by: -// Center for Distributed Object Computing -// Washington University -// St. Louis, MO -// USA -// http://www.cs.wustl.edu/~schmidt/doc-center.html -// and -// Distributed Object Computing Laboratory -// University of California at Irvine -// Irvine, CA -// USA -// http://doc.ece.uci.edu/ -// and -// Institute for Software Integrated Systems -// Vanderbilt University -// Nashville, TN -// USA -// http://www.isis.vanderbilt.edu/ -// -// Information about TAO is available at: -// http://www.cs.wustl.edu/~schmidt/TAO.html - -// TAO_IDL - Generated from -// be\be_codegen.cpp:291 - - -#include "tao/IORManipulation/IORManip_Loader.h" -#include "tao/CDR.h" -#include "ace/OS_NS_string.h" - -#if defined (__BORLANDC__) -#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig -#endif /* __BORLANDC__ */ - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:69 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_exception/exception_cs.cpp:63 - -TAO_IOP::EmptyProfileList::EmptyProfileList (void) - : CORBA::UserException ( - "IDL:TAO_IOP/EmptyProfileList:1.0", - "EmptyProfileList" - ) -{ -} - -TAO_IOP::EmptyProfileList::~EmptyProfileList (void) -{ -} - -TAO_IOP::EmptyProfileList::EmptyProfileList (const ::TAO_IOP::EmptyProfileList &_tao_excp) - : CORBA::UserException ( - _tao_excp._rep_id (), - _tao_excp._name () - ) -{ -} - -TAO_IOP::EmptyProfileList& -TAO_IOP::EmptyProfileList::operator= (const ::TAO_IOP::EmptyProfileList &_tao_excp) -{ - this->::CORBA::UserException::operator= (_tao_excp); - return *this; -} - -void TAO_IOP::EmptyProfileList::_tao_any_destructor (void *_tao_void_pointer) -{ - EmptyProfileList *_tao_tmp_pointer = - static_cast<EmptyProfileList *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -TAO_IOP::EmptyProfileList * -TAO_IOP::EmptyProfileList::_downcast (CORBA::Exception *_tao_excp) -{ - return dynamic_cast<EmptyProfileList *> (_tao_excp); -} - -const TAO_IOP::EmptyProfileList * -TAO_IOP::EmptyProfileList::_downcast (CORBA::Exception const *_tao_excp) -{ - return dynamic_cast<const EmptyProfileList *> (_tao_excp); -} - -CORBA::Exception *TAO_IOP::EmptyProfileList::_alloc (void) -{ - CORBA::Exception *retval = 0; - ACE_NEW_RETURN (retval, ::TAO_IOP::EmptyProfileList, 0); - return retval; -} - -CORBA::Exception * -TAO_IOP::EmptyProfileList::_tao_duplicate (void) const -{ - CORBA::Exception *result = 0; - ACE_NEW_RETURN ( - result, - ::TAO_IOP::EmptyProfileList (*this), - 0 - ); - return result; -} - -void TAO_IOP::EmptyProfileList::_raise (void) const -{ - TAO_RAISE (*this); -} - -void TAO_IOP::EmptyProfileList::_tao_encode ( - TAO_OutputCDR &cdr - ACE_ENV_ARG_DECL - ) const -{ - if (cdr << *this) - { - return; - } - - ACE_THROW (CORBA::MARSHAL ()); -} - -void TAO_IOP::EmptyProfileList::_tao_decode ( - TAO_InputCDR &cdr - ACE_ENV_ARG_DECL - ) -{ - if (cdr >> *this) - { - return; - } - - ACE_THROW (CORBA::MARSHAL ()); -} - -// TAO extension - the virtual _type method. -CORBA::TypeCode_ptr TAO_IOP::EmptyProfileList::_tao_type (void) const -{ - return ::TAO_IOP::_tc_EmptyProfileList; -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/exception_cs.cpp:63 - -TAO_IOP::NotFound::NotFound (void) - : CORBA::UserException ( - "IDL:TAO_IOP/NotFound:1.0", - "NotFound" - ) -{ -} - -TAO_IOP::NotFound::~NotFound (void) -{ -} - -TAO_IOP::NotFound::NotFound (const ::TAO_IOP::NotFound &_tao_excp) - : CORBA::UserException ( - _tao_excp._rep_id (), - _tao_excp._name () - ) -{ -} - -TAO_IOP::NotFound& -TAO_IOP::NotFound::operator= (const ::TAO_IOP::NotFound &_tao_excp) -{ - this->::CORBA::UserException::operator= (_tao_excp); - return *this; -} - -void TAO_IOP::NotFound::_tao_any_destructor (void *_tao_void_pointer) -{ - NotFound *_tao_tmp_pointer = - static_cast<NotFound *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -TAO_IOP::NotFound * -TAO_IOP::NotFound::_downcast (CORBA::Exception *_tao_excp) -{ - return dynamic_cast<NotFound *> (_tao_excp); -} - -const TAO_IOP::NotFound * -TAO_IOP::NotFound::_downcast (CORBA::Exception const *_tao_excp) -{ - return dynamic_cast<const NotFound *> (_tao_excp); -} - -CORBA::Exception *TAO_IOP::NotFound::_alloc (void) -{ - CORBA::Exception *retval = 0; - ACE_NEW_RETURN (retval, ::TAO_IOP::NotFound, 0); - return retval; -} - -CORBA::Exception * -TAO_IOP::NotFound::_tao_duplicate (void) const -{ - CORBA::Exception *result = 0; - ACE_NEW_RETURN ( - result, - ::TAO_IOP::NotFound (*this), - 0 - ); - return result; -} - -void TAO_IOP::NotFound::_raise (void) const -{ - TAO_RAISE (*this); -} - -void TAO_IOP::NotFound::_tao_encode ( - TAO_OutputCDR &cdr - ACE_ENV_ARG_DECL - ) const -{ - if (cdr << *this) - { - return; - } - - ACE_THROW (CORBA::MARSHAL ()); -} - -void TAO_IOP::NotFound::_tao_decode ( - TAO_InputCDR &cdr - ACE_ENV_ARG_DECL - ) -{ - if (cdr >> *this) - { - return; - } - - ACE_THROW (CORBA::MARSHAL ()); -} - -// TAO extension - the virtual _type method. -CORBA::TypeCode_ptr TAO_IOP::NotFound::_tao_type (void) const -{ - return ::TAO_IOP::_tc_NotFound; -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/exception_cs.cpp:63 - -TAO_IOP::Duplicate::Duplicate (void) - : CORBA::UserException ( - "IDL:TAO_IOP/Duplicate:1.0", - "Duplicate" - ) -{ -} - -TAO_IOP::Duplicate::~Duplicate (void) -{ -} - -TAO_IOP::Duplicate::Duplicate (const ::TAO_IOP::Duplicate &_tao_excp) - : CORBA::UserException ( - _tao_excp._rep_id (), - _tao_excp._name () - ) -{ -} - -TAO_IOP::Duplicate& -TAO_IOP::Duplicate::operator= (const ::TAO_IOP::Duplicate &_tao_excp) -{ - this->::CORBA::UserException::operator= (_tao_excp); - return *this; -} - -void TAO_IOP::Duplicate::_tao_any_destructor (void *_tao_void_pointer) -{ - Duplicate *_tao_tmp_pointer = - static_cast<Duplicate *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -TAO_IOP::Duplicate * -TAO_IOP::Duplicate::_downcast (CORBA::Exception *_tao_excp) -{ - return dynamic_cast<Duplicate *> (_tao_excp); -} - -const TAO_IOP::Duplicate * -TAO_IOP::Duplicate::_downcast (CORBA::Exception const *_tao_excp) -{ - return dynamic_cast<const Duplicate *> (_tao_excp); -} - -CORBA::Exception *TAO_IOP::Duplicate::_alloc (void) -{ - CORBA::Exception *retval = 0; - ACE_NEW_RETURN (retval, ::TAO_IOP::Duplicate, 0); - return retval; -} - -CORBA::Exception * -TAO_IOP::Duplicate::_tao_duplicate (void) const -{ - CORBA::Exception *result = 0; - ACE_NEW_RETURN ( - result, - ::TAO_IOP::Duplicate (*this), - 0 - ); - return result; -} - -void TAO_IOP::Duplicate::_raise (void) const -{ - TAO_RAISE (*this); -} - -void TAO_IOP::Duplicate::_tao_encode ( - TAO_OutputCDR &cdr - ACE_ENV_ARG_DECL - ) const -{ - if (cdr << *this) - { - return; - } - - ACE_THROW (CORBA::MARSHAL ()); -} - -void TAO_IOP::Duplicate::_tao_decode ( - TAO_InputCDR &cdr - ACE_ENV_ARG_DECL - ) -{ - if (cdr >> *this) - { - return; - } - - ACE_THROW (CORBA::MARSHAL ()); -} - -// TAO extension - the virtual _type method. -CORBA::TypeCode_ptr TAO_IOP::Duplicate::_tao_type (void) const -{ - return ::TAO_IOP::_tc_Duplicate; -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/exception_cs.cpp:63 - -TAO_IOP::Invalid_IOR::Invalid_IOR (void) - : CORBA::UserException ( - "IDL:TAO_IOP/Invalid_IOR:1.0", - "Invalid_IOR" - ) -{ -} - -TAO_IOP::Invalid_IOR::~Invalid_IOR (void) -{ -} - -TAO_IOP::Invalid_IOR::Invalid_IOR (const ::TAO_IOP::Invalid_IOR &_tao_excp) - : CORBA::UserException ( - _tao_excp._rep_id (), - _tao_excp._name () - ) -{ -} - -TAO_IOP::Invalid_IOR& -TAO_IOP::Invalid_IOR::operator= (const ::TAO_IOP::Invalid_IOR &_tao_excp) -{ - this->::CORBA::UserException::operator= (_tao_excp); - return *this; -} - -void TAO_IOP::Invalid_IOR::_tao_any_destructor (void *_tao_void_pointer) -{ - Invalid_IOR *_tao_tmp_pointer = - static_cast<Invalid_IOR *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -TAO_IOP::Invalid_IOR * -TAO_IOP::Invalid_IOR::_downcast (CORBA::Exception *_tao_excp) -{ - return dynamic_cast<Invalid_IOR *> (_tao_excp); -} - -const TAO_IOP::Invalid_IOR * -TAO_IOP::Invalid_IOR::_downcast (CORBA::Exception const *_tao_excp) -{ - return dynamic_cast<const Invalid_IOR *> (_tao_excp); -} - -CORBA::Exception *TAO_IOP::Invalid_IOR::_alloc (void) -{ - CORBA::Exception *retval = 0; - ACE_NEW_RETURN (retval, ::TAO_IOP::Invalid_IOR, 0); - return retval; -} - -CORBA::Exception * -TAO_IOP::Invalid_IOR::_tao_duplicate (void) const -{ - CORBA::Exception *result = 0; - ACE_NEW_RETURN ( - result, - ::TAO_IOP::Invalid_IOR (*this), - 0 - ); - return result; -} - -void TAO_IOP::Invalid_IOR::_raise (void) const -{ - TAO_RAISE (*this); -} - -void TAO_IOP::Invalid_IOR::_tao_encode ( - TAO_OutputCDR &cdr - ACE_ENV_ARG_DECL - ) const -{ - if (cdr << *this) - { - return; - } - - ACE_THROW (CORBA::MARSHAL ()); -} - -void TAO_IOP::Invalid_IOR::_tao_decode ( - TAO_InputCDR &cdr - ACE_ENV_ARG_DECL - ) -{ - if (cdr >> *this) - { - return; - } - - ACE_THROW (CORBA::MARSHAL ()); -} - -// TAO extension - the virtual _type method. -CORBA::TypeCode_ptr TAO_IOP::Invalid_IOR::_tao_type (void) const -{ - return ::TAO_IOP::_tc_Invalid_IOR; -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/exception_cs.cpp:63 - -TAO_IOP::MultiProfileList::MultiProfileList (void) - : CORBA::UserException ( - "IDL:TAO_IOP/MultiProfileList:1.0", - "MultiProfileList" - ) -{ -} - -TAO_IOP::MultiProfileList::~MultiProfileList (void) -{ -} - -TAO_IOP::MultiProfileList::MultiProfileList (const ::TAO_IOP::MultiProfileList &_tao_excp) - : CORBA::UserException ( - _tao_excp._rep_id (), - _tao_excp._name () - ) -{ -} - -TAO_IOP::MultiProfileList& -TAO_IOP::MultiProfileList::operator= (const ::TAO_IOP::MultiProfileList &_tao_excp) -{ - this->::CORBA::UserException::operator= (_tao_excp); - return *this; -} - -void TAO_IOP::MultiProfileList::_tao_any_destructor (void *_tao_void_pointer) -{ - MultiProfileList *_tao_tmp_pointer = - static_cast<MultiProfileList *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -TAO_IOP::MultiProfileList * -TAO_IOP::MultiProfileList::_downcast (CORBA::Exception *_tao_excp) -{ - return dynamic_cast<MultiProfileList *> (_tao_excp); -} - -const TAO_IOP::MultiProfileList * -TAO_IOP::MultiProfileList::_downcast (CORBA::Exception const *_tao_excp) -{ - return dynamic_cast<const MultiProfileList *> (_tao_excp); -} - -CORBA::Exception *TAO_IOP::MultiProfileList::_alloc (void) -{ - CORBA::Exception *retval = 0; - ACE_NEW_RETURN (retval, ::TAO_IOP::MultiProfileList, 0); - return retval; -} - -CORBA::Exception * -TAO_IOP::MultiProfileList::_tao_duplicate (void) const -{ - CORBA::Exception *result = 0; - ACE_NEW_RETURN ( - result, - ::TAO_IOP::MultiProfileList (*this), - 0 - ); - return result; -} - -void TAO_IOP::MultiProfileList::_raise (void) const -{ - TAO_RAISE (*this); -} - -void TAO_IOP::MultiProfileList::_tao_encode ( - TAO_OutputCDR &cdr - ACE_ENV_ARG_DECL - ) const -{ - if (cdr << *this) - { - return; - } - - ACE_THROW (CORBA::MARSHAL ()); -} - -void TAO_IOP::MultiProfileList::_tao_decode ( - TAO_InputCDR &cdr - ACE_ENV_ARG_DECL - ) -{ - if (cdr >> *this) - { - return; - } - - ACE_THROW (CORBA::MARSHAL ()); -} - -// TAO extension - the virtual _type method. -CORBA::TypeCode_ptr TAO_IOP::MultiProfileList::_tao_type (void) const -{ - return ::TAO_IOP::_tc_MultiProfileList; -} - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for TAO_IOP::TAO_IOR_Property. - -TAO_IOP::TAO_IOR_Property_ptr -TAO::Objref_Traits<TAO_IOP::TAO_IOR_Property>::duplicate ( - TAO_IOP::TAO_IOR_Property_ptr p - ) -{ - return TAO_IOP::TAO_IOR_Property::_duplicate (p); -} - -void -TAO::Objref_Traits<TAO_IOP::TAO_IOR_Property>::release ( - TAO_IOP::TAO_IOR_Property_ptr p - ) -{ - ::CORBA::release (p); -} - -TAO_IOP::TAO_IOR_Property_ptr -TAO::Objref_Traits<TAO_IOP::TAO_IOR_Property>::nil (void) -{ - return TAO_IOP::TAO_IOR_Property::_nil (); -} - -CORBA::Boolean -TAO::Objref_Traits<TAO_IOP::TAO_IOR_Property>::marshal ( - TAO_IOP::TAO_IOR_Property_ptr p, - TAO_OutputCDR & cdr - ) -{ - return CORBA::Object::marshal (p, cdr); -} - -TAO_IOP::TAO_IOR_Property::TAO_IOR_Property (void) -{} - -TAO_IOP::TAO_IOR_Property::~TAO_IOR_Property (void) -{} - -void -TAO_IOP::TAO_IOR_Property::_tao_any_destructor (void *_tao_void_pointer) -{ - TAO_IOR_Property *_tao_tmp_pointer = - static_cast<TAO_IOR_Property *> (_tao_void_pointer); - ::CORBA::release (_tao_tmp_pointer); -} - -TAO_IOP::TAO_IOR_Property_ptr -TAO_IOP::TAO_IOR_Property::_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if (CORBA::is_nil (_tao_objref)) - { - return TAO_IOR_Property::_nil (); - } - - TAO_IOR_Property_ptr proxy = - dynamic_cast<TAO_IOR_Property_ptr> (_tao_objref); - - return TAO_IOR_Property::_duplicate (proxy); -} - -TAO_IOP::TAO_IOR_Property_ptr -TAO_IOP::TAO_IOR_Property::_unchecked_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if (CORBA::is_nil (_tao_objref)) - { - return TAO_IOR_Property::_nil (); - } - - TAO_IOR_Property_ptr proxy = - dynamic_cast<TAO_IOR_Property_ptr> (_tao_objref); - - return TAO_IOR_Property::_duplicate (proxy); -} - -TAO_IOP::TAO_IOR_Property_ptr -TAO_IOP::TAO_IOR_Property::_duplicate (TAO_IOR_Property_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -TAO_IOP::TAO_IOR_Property::_tao_release (TAO_IOR_Property_ptr obj) -{ - ::CORBA::release (obj); -} - -CORBA::Boolean -TAO_IOP::TAO_IOR_Property::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:TAO_IOP/TAO_IOR_Property:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* TAO_IOP::TAO_IOR_Property::_interface_repository_id (void) const -{ - return "IDL:TAO_IOP/TAO_IOR_Property:1.0"; -} - -CORBA::Boolean -TAO_IOP::TAO_IOR_Property::marshal (TAO_OutputCDR &) -{ - return false; -} - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for TAO_IOP::TAO_IOR_Manipulation. - -TAO_IOP::TAO_IOR_Manipulation_ptr -TAO::Objref_Traits<TAO_IOP::TAO_IOR_Manipulation>::duplicate ( - TAO_IOP::TAO_IOR_Manipulation_ptr p - ) -{ - return TAO_IOP::TAO_IOR_Manipulation::_duplicate (p); -} - -void -TAO::Objref_Traits<TAO_IOP::TAO_IOR_Manipulation>::release ( - TAO_IOP::TAO_IOR_Manipulation_ptr p - ) -{ - ::CORBA::release (p); -} - -TAO_IOP::TAO_IOR_Manipulation_ptr -TAO::Objref_Traits<TAO_IOP::TAO_IOR_Manipulation>::nil (void) -{ - return TAO_IOP::TAO_IOR_Manipulation::_nil (); -} - -CORBA::Boolean -TAO::Objref_Traits<TAO_IOP::TAO_IOR_Manipulation>::marshal ( - TAO_IOP::TAO_IOR_Manipulation_ptr p, - TAO_OutputCDR & cdr - ) -{ - return CORBA::Object::marshal (p, cdr); -} - -// TAO_IDL - Generated from -// be\be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_TAO_IOP_TAO_IOR_MANIPULATION_IORLIST_CS_) -#define _TAO_IOP_TAO_IOR_MANIPULATION_IORLIST_CS_ - -TAO_IOP::TAO_IOR_Manipulation::IORList::IORList (void) -{} - -TAO_IOP::TAO_IOR_Manipulation::IORList::IORList ( - CORBA::ULong max - ) - : TAO::unbounded_object_reference_sequence< - CORBA::Object, - CORBA::Object_var - > - (max) -{} - -TAO_IOP::TAO_IOR_Manipulation::IORList::IORList ( - CORBA::ULong max, - CORBA::ULong length, - CORBA::Object_ptr * buffer, - CORBA::Boolean release - ) - : TAO::unbounded_object_reference_sequence< - CORBA::Object, - CORBA::Object_var - > - (max, length, buffer, release) -{} - -TAO_IOP::TAO_IOR_Manipulation::IORList::IORList ( - const IORList &seq - ) - : TAO::unbounded_object_reference_sequence< - CORBA::Object, - CORBA::Object_var - > - (seq) -{} - -TAO_IOP::TAO_IOR_Manipulation::IORList::~IORList (void) -{} - -void TAO_IOP::TAO_IOR_Manipulation::IORList::_tao_any_destructor ( - void * _tao_void_pointer - ) -{ - IORList * _tao_tmp_pointer = - static_cast<IORList *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -#endif /* end #if !defined */ - -TAO_IOP::TAO_IOR_Manipulation::TAO_IOR_Manipulation (void) -{} - -TAO_IOP::TAO_IOR_Manipulation::~TAO_IOR_Manipulation (void) -{} - -void -TAO_IOP::TAO_IOR_Manipulation::_tao_any_destructor (void *_tao_void_pointer) -{ - TAO_IOR_Manipulation *_tao_tmp_pointer = - static_cast<TAO_IOR_Manipulation *> (_tao_void_pointer); - ::CORBA::release (_tao_tmp_pointer); -} - -TAO_IOP::TAO_IOR_Manipulation_ptr -TAO_IOP::TAO_IOR_Manipulation::_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if (CORBA::is_nil (_tao_objref)) - { - return TAO_IOR_Manipulation::_nil (); - } - - TAO_IOR_Manipulation_ptr proxy = - dynamic_cast<TAO_IOR_Manipulation_ptr> (_tao_objref); - - return TAO_IOR_Manipulation::_duplicate (proxy); -} - -TAO_IOP::TAO_IOR_Manipulation_ptr -TAO_IOP::TAO_IOR_Manipulation::_unchecked_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if (CORBA::is_nil (_tao_objref)) - { - return TAO_IOR_Manipulation::_nil (); - } - - TAO_IOR_Manipulation_ptr proxy = - dynamic_cast<TAO_IOR_Manipulation_ptr> (_tao_objref); - - return TAO_IOR_Manipulation::_duplicate (proxy); -} - -TAO_IOP::TAO_IOR_Manipulation_ptr -TAO_IOP::TAO_IOR_Manipulation::_duplicate (TAO_IOR_Manipulation_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -TAO_IOP::TAO_IOR_Manipulation::_tao_release (TAO_IOR_Manipulation_ptr obj) -{ - ::CORBA::release (obj); -} - -CORBA::Boolean -TAO_IOP::TAO_IOR_Manipulation::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:TAO_IOP/TAO_IOR_Manipulation:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* TAO_IOP::TAO_IOR_Manipulation::_interface_repository_id (void) const -{ - return "IDL:TAO_IOP/TAO_IOR_Manipulation:1.0"; -} - -CORBA::Boolean -TAO_IOP::TAO_IOR_Manipulation::marshal (TAO_OutputCDR &) -{ - return false; -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/cdr_op_cs.cpp:60 - -CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const TAO_IOP::EmptyProfileList &_tao_aggregate - ) -{ - // Marshal the repository ID. - return (strm << _tao_aggregate._rep_id ()); -} - -CORBA::Boolean operator>> ( - TAO_InputCDR &, - TAO_IOP::EmptyProfileList& - ) -{ - return true; -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/cdr_op_cs.cpp:60 - -CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const TAO_IOP::NotFound &_tao_aggregate - ) -{ - // Marshal the repository ID. - return (strm << _tao_aggregate._rep_id ()); -} - -CORBA::Boolean operator>> ( - TAO_InputCDR &, - TAO_IOP::NotFound& - ) -{ - return true; -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/cdr_op_cs.cpp:60 - -CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const TAO_IOP::Duplicate &_tao_aggregate - ) -{ - // Marshal the repository ID. - return (strm << _tao_aggregate._rep_id ()); -} - -CORBA::Boolean operator>> ( - TAO_InputCDR &, - TAO_IOP::Duplicate& - ) -{ - return true; -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/cdr_op_cs.cpp:60 - -CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const TAO_IOP::Invalid_IOR &_tao_aggregate - ) -{ - // Marshal the repository ID. - return (strm << _tao_aggregate._rep_id ()); -} - -CORBA::Boolean operator>> ( - TAO_InputCDR &, - TAO_IOP::Invalid_IOR& - ) -{ - return true; -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/cdr_op_cs.cpp:60 - -CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const TAO_IOP::MultiProfileList &_tao_aggregate - ) -{ - // Marshal the repository ID. - return (strm << _tao_aggregate._rep_id ()); -} - -CORBA::Boolean operator>> ( - TAO_InputCDR &, - TAO_IOP::MultiProfileList& - ) -{ - return true; -} - -TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/IORManipulation/IORC.h b/TAO/tao/IORManipulation/IORC.h deleted file mode 100644 index 52751b81503..00000000000 --- a/TAO/tao/IORManipulation/IORC.h +++ /dev/null @@ -1,920 +0,0 @@ -// -*- C++ -*- -// -// $Id$ - -// **** Code generated by the The ACE ORB (TAO) IDL Compiler **** -// TAO and the TAO IDL Compiler have been developed by: -// Center for Distributed Object Computing -// Washington University -// St. Louis, MO -// USA -// http://www.cs.wustl.edu/~schmidt/doc-center.html -// and -// Distributed Object Computing Laboratory -// University of California at Irvine -// Irvine, CA -// USA -// http://doc.ece.uci.edu/ -// and -// Institute for Software Integrated Systems -// Vanderbilt University -// Nashville, TN -// USA -// http://www.isis.vanderbilt.edu/ -// -// Information about TAO is available at: -// http://www.cs.wustl.edu/~schmidt/TAO.html - -// TAO_IDL - Generated from -// be\be_codegen.cpp:153 - -#ifndef _TAO_IDL_ORIG_IORC_H_ -#define _TAO_IDL_ORIG_IORC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - - #ifndef TAO_IORMANIP_SAFE_INCLUDE - #error "You should not include IORC.h directly, use IORManip_Loader.h" - #endif /* !TAO_IORMANIP_SAFE_INCLUDE */ - -#include "tao/IORManipulation/ior_manip_export.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Sequence_T.h" -#include "tao/Objref_VarOut_T.h" -#include "tao/Seq_Var_T.h" -#include "tao/Seq_Out_T.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_IORManip_Export - -#if defined(_MSC_VER) -#pragma warning(push) -#pragma warning(disable:4250) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option push -w-rvl -w-rch -w-ccc -w-inl -#endif /* __BORLANDC__ */ - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:48 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO_IOP -{ - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:51 - -#if !defined (_TAO_IOP_EMPTYPROFILELIST_CH_) -#define _TAO_IOP_EMPTYPROFILELIST_CH_ - - class TAO_IORManip_Export EmptyProfileList : public CORBA::UserException - { - public: - - EmptyProfileList (void); - EmptyProfileList (const EmptyProfileList &); - ~EmptyProfileList (void); - - EmptyProfileList &operator= (const EmptyProfileList &); - - static void _tao_any_destructor (void *); - - static EmptyProfileList *_downcast (CORBA::Exception *); - static const EmptyProfileList *_downcast (CORBA::Exception const *); - - static CORBA::Exception *_alloc (void); - - virtual CORBA::Exception *_tao_duplicate (void) const; - - virtual void _raise (void) const; - - virtual void _tao_encode ( - TAO_OutputCDR & - ACE_ENV_ARG_DECL - ) const; - - virtual void _tao_decode ( - TAO_InputCDR & - ACE_ENV_ARG_DECL - ); - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:127 - - virtual CORBA::TypeCode_ptr _tao_type (void) const; - }; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_IORManip_Export ::CORBA::TypeCode_ptr const _tc_EmptyProfileList; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:51 - -#if !defined (_TAO_IOP_NOTFOUND_CH_) -#define _TAO_IOP_NOTFOUND_CH_ - - class TAO_IORManip_Export NotFound : public CORBA::UserException - { - public: - - NotFound (void); - NotFound (const NotFound &); - ~NotFound (void); - - NotFound &operator= (const NotFound &); - - static void _tao_any_destructor (void *); - - static NotFound *_downcast (CORBA::Exception *); - static const NotFound *_downcast (CORBA::Exception const *); - - static CORBA::Exception *_alloc (void); - - virtual CORBA::Exception *_tao_duplicate (void) const; - - virtual void _raise (void) const; - - virtual void _tao_encode ( - TAO_OutputCDR & - ACE_ENV_ARG_DECL - ) const; - - virtual void _tao_decode ( - TAO_InputCDR & - ACE_ENV_ARG_DECL - ); - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:127 - - virtual CORBA::TypeCode_ptr _tao_type (void) const; - }; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_IORManip_Export ::CORBA::TypeCode_ptr const _tc_NotFound; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:51 - -#if !defined (_TAO_IOP_DUPLICATE_CH_) -#define _TAO_IOP_DUPLICATE_CH_ - - class TAO_IORManip_Export Duplicate : public CORBA::UserException - { - public: - - Duplicate (void); - Duplicate (const Duplicate &); - ~Duplicate (void); - - Duplicate &operator= (const Duplicate &); - - static void _tao_any_destructor (void *); - - static Duplicate *_downcast (CORBA::Exception *); - static const Duplicate *_downcast (CORBA::Exception const *); - - static CORBA::Exception *_alloc (void); - - virtual CORBA::Exception *_tao_duplicate (void) const; - - virtual void _raise (void) const; - - virtual void _tao_encode ( - TAO_OutputCDR & - ACE_ENV_ARG_DECL - ) const; - - virtual void _tao_decode ( - TAO_InputCDR & - ACE_ENV_ARG_DECL - ); - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:127 - - virtual CORBA::TypeCode_ptr _tao_type (void) const; - }; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_IORManip_Export ::CORBA::TypeCode_ptr const _tc_Duplicate; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:51 - -#if !defined (_TAO_IOP_INVALID_IOR_CH_) -#define _TAO_IOP_INVALID_IOR_CH_ - - class TAO_IORManip_Export Invalid_IOR : public CORBA::UserException - { - public: - - Invalid_IOR (void); - Invalid_IOR (const Invalid_IOR &); - ~Invalid_IOR (void); - - Invalid_IOR &operator= (const Invalid_IOR &); - - static void _tao_any_destructor (void *); - - static Invalid_IOR *_downcast (CORBA::Exception *); - static const Invalid_IOR *_downcast (CORBA::Exception const *); - - static CORBA::Exception *_alloc (void); - - virtual CORBA::Exception *_tao_duplicate (void) const; - - virtual void _raise (void) const; - - virtual void _tao_encode ( - TAO_OutputCDR & - ACE_ENV_ARG_DECL - ) const; - - virtual void _tao_decode ( - TAO_InputCDR & - ACE_ENV_ARG_DECL - ); - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:127 - - virtual CORBA::TypeCode_ptr _tao_type (void) const; - }; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_IORManip_Export ::CORBA::TypeCode_ptr const _tc_Invalid_IOR; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:51 - -#if !defined (_TAO_IOP_MULTIPROFILELIST_CH_) -#define _TAO_IOP_MULTIPROFILELIST_CH_ - - class TAO_IORManip_Export MultiProfileList : public CORBA::UserException - { - public: - - MultiProfileList (void); - MultiProfileList (const MultiProfileList &); - ~MultiProfileList (void); - - MultiProfileList &operator= (const MultiProfileList &); - - static void _tao_any_destructor (void *); - - static MultiProfileList *_downcast (CORBA::Exception *); - static const MultiProfileList *_downcast (CORBA::Exception const *); - - static CORBA::Exception *_alloc (void); - - virtual CORBA::Exception *_tao_duplicate (void) const; - - virtual void _raise (void) const; - - virtual void _tao_encode ( - TAO_OutputCDR & - ACE_ENV_ARG_DECL - ) const; - - virtual void _tao_decode ( - TAO_InputCDR & - ACE_ENV_ARG_DECL - ); - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:127 - - virtual CORBA::TypeCode_ptr _tao_type (void) const; - }; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_IORManip_Export ::CORBA::TypeCode_ptr const _tc_MultiProfileList; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_interface.cpp:598 - -#if !defined (_TAO_IOP_TAO_IOR_PROPERTY__VAR_OUT_CH_) -#define _TAO_IOP_TAO_IOR_PROPERTY__VAR_OUT_CH_ - - class TAO_IOR_Property; - typedef TAO_IOR_Property *TAO_IOR_Property_ptr; - - typedef - TAO_Objref_Var_T< - TAO_IOR_Property - > - TAO_IOR_Property_var; - - typedef - TAO_Objref_Out_T< - TAO_IOR_Property - > - TAO_IOR_Property_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_TAO_IOP_TAO_IOR_PROPERTY_CH_) -#define _TAO_IOP_TAO_IOR_PROPERTY_CH_ - - class TAO_IORManip_Export TAO_IOR_Property - : public virtual CORBA::Object - { - public: - typedef TAO_IOR_Property_ptr _ptr_type; - typedef TAO_IOR_Property_var _var_type; - - // The static operations. - static TAO_IOR_Property_ptr _duplicate (TAO_IOR_Property_ptr obj); - - static void _tao_release (TAO_IOR_Property_ptr obj); - - static TAO_IOR_Property_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static TAO_IOR_Property_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static TAO_IOR_Property_ptr _nil (void) - { - return static_cast<TAO_IOR_Property_ptr> (0); - } - - static void _tao_any_destructor (void *); - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::Boolean set_property ( - ::CORBA::Object_ptr & ior - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::TAO_IOP::Invalid_IOR - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::Boolean set_primary ( - ::CORBA::Object_ptr & ior1, - ::CORBA::Object_ptr ior2 - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::TAO_IOP::Duplicate, - ::TAO_IOP::NotFound - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::Object_ptr get_primary ( - ::CORBA::Object_ptr ior - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::TAO_IOP::NotFound - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::Boolean is_primary_set ( - ::CORBA::Object_ptr ior - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::Boolean remove_primary_tag ( - ::CORBA::Object_ptr & iogr - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::TAO_IOP::NotFound - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - TAO_IOR_Property (void); - - virtual ~TAO_IOR_Property (void); - - private: - // Private and unimplemented for concrete interfaces. - TAO_IOR_Property (const TAO_IOR_Property &); - - void operator= (const TAO_IOR_Property &); - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_IORManip_Export ::CORBA::TypeCode_ptr const _tc_TAO_IOR_Property; - - // TAO_IDL - Generated from - // be\be_interface.cpp:598 - -#if !defined (_TAO_IOP_TAO_IOR_MANIPULATION__VAR_OUT_CH_) -#define _TAO_IOP_TAO_IOR_MANIPULATION__VAR_OUT_CH_ - - class TAO_IOR_Manipulation; - typedef TAO_IOR_Manipulation *TAO_IOR_Manipulation_ptr; - - typedef - TAO_Objref_Var_T< - TAO_IOR_Manipulation - > - TAO_IOR_Manipulation_var; - - typedef - TAO_Objref_Out_T< - TAO_IOR_Manipulation - > - TAO_IOR_Manipulation_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_TAO_IOP_TAO_IOR_MANIPULATION_CH_) -#define _TAO_IOP_TAO_IOR_MANIPULATION_CH_ - - class TAO_IORManip_Export TAO_IOR_Manipulation - : public virtual CORBA::Object - { - public: - typedef TAO_IOR_Manipulation_ptr _ptr_type; - typedef TAO_IOR_Manipulation_var _var_type; - - // The static operations. - static TAO_IOR_Manipulation_ptr _duplicate (TAO_IOR_Manipulation_ptr obj); - - static void _tao_release (TAO_IOR_Manipulation_ptr obj); - - static TAO_IOR_Manipulation_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static TAO_IOR_Manipulation_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static TAO_IOR_Manipulation_ptr _nil (void) - { - return static_cast<TAO_IOR_Manipulation_ptr> (0); - } - - static void _tao_any_destructor (void *); - - // TAO_IDL - Generated from - // be\be_visitor_sequence/sequence_ch.cpp:101 - -#if !defined (_TAO_IOP_TAO_IOR_MANIPULATION_IORLIST_CH_) -#define _TAO_IOP_TAO_IOR_MANIPULATION_IORLIST_CH_ - - class IORList; - - typedef - TAO_VarSeq_Var_T< - IORList - > - IORList_var; - - typedef - TAO_Seq_Out_T< - IORList - > - IORList_out; - - class TAO_IORManip_Export IORList - : public - TAO::unbounded_object_reference_sequence< - CORBA::Object, - CORBA::Object_var - > - { - public: - IORList (void); - IORList (CORBA::ULong max); - IORList ( - CORBA::ULong max, - CORBA::ULong length, - CORBA::Object_ptr* buffer, - CORBA::Boolean release = false - ); - IORList (const IORList &); - ~IORList (void); - - static void _tao_any_destructor (void *); - - typedef IORList_var _var_type; - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - static ::CORBA::TypeCode_ptr const _tc_IORList; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::Object_ptr merge_iors ( - const ::TAO_IOP::TAO_IOR_Manipulation::IORList & iors - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::TAO_IOP::EmptyProfileList, - ::TAO_IOP::Duplicate, - ::TAO_IOP::Invalid_IOR - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::Object_ptr add_profiles ( - ::CORBA::Object_ptr ior1, - ::CORBA::Object_ptr ior2 - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::TAO_IOP::EmptyProfileList, - ::TAO_IOP::Duplicate, - ::TAO_IOP::Invalid_IOR - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::Object_ptr remove_profiles ( - ::CORBA::Object_ptr ior1, - ::CORBA::Object_ptr ior2 - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::TAO_IOP::Invalid_IOR, - ::TAO_IOP::EmptyProfileList, - ::TAO_IOP::NotFound - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::Boolean set_property ( - ::TAO_IOP::TAO_IOR_Property_ptr prop, - ::CORBA::Object_ptr ior - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::TAO_IOP::Invalid_IOR, - ::TAO_IOP::Duplicate - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::Boolean set_primary ( - ::TAO_IOP::TAO_IOR_Property_ptr prop, - ::CORBA::Object_ptr ior1, - ::CORBA::Object_ptr ior2 - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::TAO_IOP::Invalid_IOR, - ::TAO_IOP::Duplicate, - ::TAO_IOP::MultiProfileList, - ::TAO_IOP::NotFound - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::Boolean remove_primary_tag ( - ::TAO_IOP::TAO_IOR_Property_ptr prop, - ::CORBA::Object_ptr ior - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::Object_ptr get_primary ( - ::TAO_IOP::TAO_IOR_Property_ptr prop, - ::CORBA::Object_ptr ior - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::TAO_IOP::NotFound - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::Boolean is_primary_set ( - ::TAO_IOP::TAO_IOR_Property_ptr prop, - ::CORBA::Object_ptr ior - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::ULong is_in_ior ( - ::CORBA::Object_ptr ior1, - ::CORBA::Object_ptr ior2 - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::TAO_IOP::NotFound - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::ULong get_profile_count ( - ::CORBA::Object_ptr ior - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::TAO_IOP::EmptyProfileList - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - TAO_IOR_Manipulation (void); - - virtual ~TAO_IOR_Manipulation (void); - - private: - // Private and unimplemented for concrete interfaces. - TAO_IOR_Manipulation (const TAO_IOR_Manipulation &); - - void operator= (const TAO_IOR_Manipulation &); - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_IORManip_Export ::CORBA::TypeCode_ptr const _tc_TAO_IOR_Manipulation; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 - -} // module TAO_IOP - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -// Traits specializations. -namespace TAO -{ - -#if !defined (_TAO_IOP_TAO_IOR_PROPERTY__TRAITS_CH_) -#define _TAO_IOP_TAO_IOR_PROPERTY__TRAITS_CH_ - - template<> - struct TAO_IORManip_Export Objref_Traits< ::TAO_IOP::TAO_IOR_Property> - { - static ::TAO_IOP::TAO_IOR_Property_ptr duplicate ( - ::TAO_IOP::TAO_IOR_Property_ptr - ); - static void release ( - ::TAO_IOP::TAO_IOR_Property_ptr - ); - static ::TAO_IOP::TAO_IOR_Property_ptr nil (void); - static CORBA::Boolean marshal ( - ::TAO_IOP::TAO_IOR_Property_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ - -#if !defined (_TAO_IOP_TAO_IOR_MANIPULATION__TRAITS_CH_) -#define _TAO_IOP_TAO_IOR_MANIPULATION__TRAITS_CH_ - - template<> - struct TAO_IORManip_Export Objref_Traits< ::TAO_IOP::TAO_IOR_Manipulation> - { - static ::TAO_IOP::TAO_IOR_Manipulation_ptr duplicate ( - ::TAO_IOP::TAO_IOR_Manipulation_ptr - ); - static void release ( - ::TAO_IOP::TAO_IOR_Manipulation_ptr - ); - static ::TAO_IOP::TAO_IOR_Manipulation_ptr nil (void); - static CORBA::Boolean marshal ( - ::TAO_IOP::TAO_IOR_Manipulation_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/any_op_ch.cpp:52 - -TAO_IORManip_Export void operator<<= (CORBA::Any &, const TAO_IOP::EmptyProfileList &); // copying version -TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::EmptyProfileList*); // noncopying version -TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::EmptyProfileList *&); // deprecated -TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, const TAO_IOP::EmptyProfileList *&); - -// TAO_IDL - Generated from -// be\be_visitor_exception/any_op_ch.cpp:52 - -TAO_IORManip_Export void operator<<= (CORBA::Any &, const TAO_IOP::NotFound &); // copying version -TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::NotFound*); // noncopying version -TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::NotFound *&); // deprecated -TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, const TAO_IOP::NotFound *&); - -// TAO_IDL - Generated from -// be\be_visitor_exception/any_op_ch.cpp:52 - -TAO_IORManip_Export void operator<<= (CORBA::Any &, const TAO_IOP::Duplicate &); // copying version -TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::Duplicate*); // noncopying version -TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::Duplicate *&); // deprecated -TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, const TAO_IOP::Duplicate *&); - -// TAO_IDL - Generated from -// be\be_visitor_exception/any_op_ch.cpp:52 - -TAO_IORManip_Export void operator<<= (CORBA::Any &, const TAO_IOP::Invalid_IOR &); // copying version -TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::Invalid_IOR*); // noncopying version -TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::Invalid_IOR *&); // deprecated -TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, const TAO_IOP::Invalid_IOR *&); - -// TAO_IDL - Generated from -// be\be_visitor_exception/any_op_ch.cpp:52 - -TAO_IORManip_Export void operator<<= (CORBA::Any &, const TAO_IOP::MultiProfileList &); // copying version -TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::MultiProfileList*); // noncopying version -TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::MultiProfileList *&); // deprecated -TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, const TAO_IOP::MultiProfileList *&); - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::TAO_IOR_Property_ptr); // copying -TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::TAO_IOR_Property_ptr *); // non-copying -TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::TAO_IOR_Property_ptr &); - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::TAO_IOR_Manipulation_ptr); // copying -TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::TAO_IOR_Manipulation_ptr *); // non-copying -TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::TAO_IOR_Manipulation_ptr &); - -// TAO_IDL - Generated from -// be\be_visitor_sequence/any_op_ch.cpp:52 - -TAO_IORManip_Export void operator<<= (CORBA::Any &, const TAO_IOP::TAO_IOR_Manipulation::IORList &); // copying version -TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::TAO_IOR_Manipulation::IORList*); // noncopying version -TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::TAO_IOR_Manipulation::IORList *&); // deprecated -TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, const TAO_IOP::TAO_IOR_Manipulation::IORList *&); - -// TAO_IDL - Generated from -// be\be_visitor_exception/cdr_op_ch.cpp:52 - -TAO_IORManip_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const TAO_IOP::EmptyProfileList &); -TAO_IORManip_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO_IOP::EmptyProfileList &); - -// TAO_IDL - Generated from -// be\be_visitor_exception/cdr_op_ch.cpp:52 - -TAO_IORManip_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const TAO_IOP::NotFound &); -TAO_IORManip_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO_IOP::NotFound &); - -// TAO_IDL - Generated from -// be\be_visitor_exception/cdr_op_ch.cpp:52 - -TAO_IORManip_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const TAO_IOP::Duplicate &); -TAO_IORManip_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO_IOP::Duplicate &); - -// TAO_IDL - Generated from -// be\be_visitor_exception/cdr_op_ch.cpp:52 - -TAO_IORManip_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const TAO_IOP::Invalid_IOR &); -TAO_IORManip_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO_IOP::Invalid_IOR &); - -// TAO_IDL - Generated from -// be\be_visitor_exception/cdr_op_ch.cpp:52 - -TAO_IORManip_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const TAO_IOP::MultiProfileList &); -TAO_IORManip_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO_IOP::MultiProfileList &); - -// TAO_IDL - Generated from -// be\be_codegen.cpp:955 - -TAO_END_VERSIONED_NAMESPACE_DECL - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - |