From 422fd8d3de46e66c46fff221e45219737019b196 Mon Sep 17 00:00:00 2001 From: bala Date: Tue, 25 Mar 2003 22:10:37 +0000 Subject: ChangeLogTag: Mon Mar 24 18:15:51 2003 Jeff Parsons --- TAO/tao/IOP_Codec.pidl | 1 + TAO/tao/IOP_CodecC.cpp | 372 +++++------ TAO/tao/IOP_CodecC.h | 367 ++++++----- TAO/tao/IOP_CodecC.i | 56 +- TAO/tao/IOP_IOR.pidl | 5 +- TAO/tao/IOP_IORC.cpp | 1610 ++++++++++++++---------------------------------- TAO/tao/IOP_IORC.h | 1153 +++++++++++++++------------------- TAO/tao/IOP_IORC.i | 98 +-- 8 files changed, 1363 insertions(+), 2299 deletions(-) diff --git a/TAO/tao/IOP_Codec.pidl b/TAO/tao/IOP_Codec.pidl index 33a00f86232..311a117d77d 100644 --- a/TAO/tao/IOP_Codec.pidl +++ b/TAO/tao/IOP_Codec.pidl @@ -1,4 +1,5 @@ // -*- IDL -*- + /** * @file IOP.pidl * diff --git a/TAO/tao/IOP_CodecC.cpp b/TAO/tao/IOP_CodecC.cpp index fe94860b2de..970603842e5 100644 --- a/TAO/tao/IOP_CodecC.cpp +++ b/TAO/tao/IOP_CodecC.cpp @@ -20,7 +20,7 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:314 +// be/be_codegen.cpp:314 #include "IOP_CodecC.h" @@ -44,7 +44,7 @@ #endif /* !defined INLINE */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61 +// be/be_visitor_interface/interface_cs.cpp:63 int IOP::Codec::_tao_class_id = 0; @@ -91,8 +91,17 @@ tao_IOP_Codec_upcast ( return *tmp; } +CORBA::Boolean +tao_IOP_Codec_marshal ( + IOP::Codec_ptr p, + TAO_OutputCDR &strm + ) +{ + return p->marshal (strm); +} + // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:721 +// be/be_interface.cpp:722 // ************************************************************* // IOP::Codec_var @@ -218,7 +227,7 @@ IOP::Codec_var::tao_upcast (void *src) } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:1030 +// be/be_interface.cpp:1031 // ************************************************************* // IOP::Codec_out @@ -280,7 +289,7 @@ IOP::Codec_out::operator-> (void) } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:225 +// be/be_visitor_interface/interface_cs.cpp:236 IOP::Codec::Codec (void) {} @@ -374,8 +383,14 @@ const char* IOP::Codec::_interface_repository_id (void) const return "IDL:omg.org/IOP/Codec:1.0"; } +CORBA::Boolean +IOP::Codec::marshal (TAO_OutputCDR &) +{ + return 0; +} + // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63 +// be/be_visitor_exception/exception_cs.cpp:63 IOP::Codec::InvalidTypeForEncoding::InvalidTypeForEncoding (void) : CORBA::UserException ( @@ -470,7 +485,7 @@ CORBA::TypeCode_ptr IOP::Codec::InvalidTypeForEncoding::_type (void) const } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_Codec_InvalidTypeForEncoding[] = { @@ -489,7 +504,7 @@ static const CORBA::Long _oc_IOP_Codec_InvalidTypeForEncoding[] = ACE_NTOHL (0x64696e67), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0 - 23, + 23, ACE_NTOHL (0x496e7661), ACE_NTOHL (0x6c696454), ACE_NTOHL (0x79706546), @@ -497,7 +512,7 @@ static const CORBA::Long _oc_IOP_Codec_InvalidTypeForEncoding[] = ACE_NTOHL (0x636f6469), ACE_NTOHL (0x6e670000), // name = InvalidTypeForEncoding 0, // member count -}; + }; static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_InvalidTypeForEncoding ( CORBA::tk_except, @@ -511,7 +526,7 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_InvalidTypeForEncoding ( &_tc_TAO_tc_IOP_Codec_InvalidTypeForEncoding; // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63 +// be/be_visitor_exception/exception_cs.cpp:63 IOP::Codec::FormatMismatch::FormatMismatch (void) : CORBA::UserException ( @@ -606,7 +621,7 @@ CORBA::TypeCode_ptr IOP::Codec::FormatMismatch::_type (void) const } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_Codec_FormatMismatch[] = { @@ -623,13 +638,13 @@ static const CORBA::Long _oc_IOP_Codec_FormatMismatch[] = ACE_NTOHL (0x61746368), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/Codec/FormatMismatch:1.0 - 15, + 15, ACE_NTOHL (0x466f726d), ACE_NTOHL (0x61744d69), ACE_NTOHL (0x736d6174), ACE_NTOHL (0x63680000), // name = FormatMismatch 0, // member count -}; + }; static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_FormatMismatch ( CORBA::tk_except, @@ -643,7 +658,7 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_FormatMismatch ( &_tc_TAO_tc_IOP_Codec_FormatMismatch; // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63 +// be/be_visitor_exception/exception_cs.cpp:63 IOP::Codec::TypeMismatch::TypeMismatch (void) : CORBA::UserException ( @@ -738,7 +753,7 @@ CORBA::TypeCode_ptr IOP::Codec::TypeMismatch::_type (void) const } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_Codec_TypeMismatch[] = { @@ -754,13 +769,13 @@ static const CORBA::Long _oc_IOP_Codec_TypeMismatch[] = ACE_NTOHL (0x736d6174), ACE_NTOHL (0x63683a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/Codec/TypeMismatch:1.0 - 13, + 13, ACE_NTOHL (0x54797065), ACE_NTOHL (0x4d69736d), ACE_NTOHL (0x61746368), ACE_NTOHL (0x0), // name = TypeMismatch 0, // member count -}; + }; static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_TypeMismatch ( CORBA::tk_except, @@ -774,7 +789,7 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_TypeMismatch ( &_tc_TAO_tc_IOP_Codec_TypeMismatch; // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_Codec[] = { @@ -787,10 +802,10 @@ static const CORBA::Long _oc_IOP_Codec[] = ACE_NTOHL (0x436f6465), ACE_NTOHL (0x633a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/Codec:1.0 - 6, + 6, ACE_NTOHL (0x436f6465), ACE_NTOHL (0x63000000), // name = Codec -}; + }; static CORBA::TypeCode _tc_TAO_tc_IOP_Codec ( CORBA::tk_objref, @@ -810,7 +825,7 @@ TAO_NAMESPACE_DEFINE ( TAO_NAMESPACE_END // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_EncodingFormat[] = { @@ -825,12 +840,12 @@ static const CORBA::Long _oc_IOP_EncodingFormat[] = ACE_NTOHL (0x466f726d), ACE_NTOHL (0x61743a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/EncodingFormat:1.0 - 15, + 15, ACE_NTOHL (0x456e636f), ACE_NTOHL (0x64696e67), ACE_NTOHL (0x466f726d), ACE_NTOHL (0x61740000), // name = EncodingFormat - CORBA::tk_short, + CORBA::tk_short, }; @@ -852,7 +867,7 @@ TAO_NAMESPACE_DEFINE ( TAO_NAMESPACE_END // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_Encoding[] = { @@ -866,15 +881,15 @@ static const CORBA::Long _oc_IOP_Encoding[] = ACE_NTOHL (0x64696e67), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/Encoding:1.0 - 9, + 9, ACE_NTOHL (0x456e636f), ACE_NTOHL (0x64696e67), ACE_NTOHL (0x0), // name = Encoding 3, // member count - 7, + 7, ACE_NTOHL (0x666f726d), ACE_NTOHL (0x61740000), // name = format - CORBA::tk_alias, // typecode kind for typedefs + CORBA::tk_alias, // typecode kind for typedefs 68, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 35, @@ -887,12 +902,12 @@ static const CORBA::Long _oc_IOP_Encoding[] = ACE_NTOHL (0x466f726d), ACE_NTOHL (0x61743a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/EncodingFormat:1.0 - 15, + 15, ACE_NTOHL (0x456e636f), ACE_NTOHL (0x64696e67), ACE_NTOHL (0x466f726d), ACE_NTOHL (0x61740000), // name = EncodingFormat - CORBA::tk_short, + CORBA::tk_short, 14, @@ -900,14 +915,14 @@ static const CORBA::Long _oc_IOP_Encoding[] = ACE_NTOHL (0x725f7665), ACE_NTOHL (0x7273696f), ACE_NTOHL (0x6e000000), // name = major_version - CORBA::tk_octet, + CORBA::tk_octet, 14, ACE_NTOHL (0x6d696e6f), ACE_NTOHL (0x725f7665), ACE_NTOHL (0x7273696f), ACE_NTOHL (0x6e000000), // name = minor_version - CORBA::tk_octet, + CORBA::tk_octet, }; @@ -929,7 +944,7 @@ TAO_NAMESPACE_DEFINE ( TAO_NAMESPACE_END // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67 +// be/be_visitor_structure/structure_cs.cpp:66 void IOP::Encoding::_tao_any_destructor (void *_tao_void_pointer) { @@ -938,7 +953,7 @@ void IOP::Encoding::_tao_any_destructor (void *_tao_void_pointer) } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61 +// be/be_visitor_interface/interface_cs.cpp:63 int IOP::CodecFactory::_tao_class_id = 0; @@ -985,8 +1000,17 @@ tao_IOP_CodecFactory_upcast ( return *tmp; } +CORBA::Boolean +tao_IOP_CodecFactory_marshal ( + IOP::CodecFactory_ptr p, + TAO_OutputCDR &strm + ) +{ + return p->marshal (strm); +} + // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:721 +// be/be_interface.cpp:722 // ************************************************************* // IOP::CodecFactory_var @@ -1112,7 +1136,7 @@ IOP::CodecFactory_var::tao_upcast (void *src) } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:1030 +// be/be_interface.cpp:1031 // ************************************************************* // IOP::CodecFactory_out @@ -1174,7 +1198,7 @@ IOP::CodecFactory_out::operator-> (void) } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:225 +// be/be_visitor_interface/interface_cs.cpp:236 IOP::CodecFactory::CodecFactory (void) {} @@ -1268,8 +1292,14 @@ const char* IOP::CodecFactory::_interface_repository_id (void) const return "IDL:omg.org/IOP/CodecFactory:1.0"; } +CORBA::Boolean +IOP::CodecFactory::marshal (TAO_OutputCDR &) +{ + return 0; +} + // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63 +// be/be_visitor_exception/exception_cs.cpp:63 IOP::CodecFactory::UnknownEncoding::UnknownEncoding (void) : CORBA::UserException ( @@ -1364,7 +1394,7 @@ CORBA::TypeCode_ptr IOP::CodecFactory::UnknownEncoding::_type (void) const } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_CodecFactory_UnknownEncoding[] = { @@ -1383,13 +1413,13 @@ static const CORBA::Long _oc_IOP_CodecFactory_UnknownEncoding[] = ACE_NTOHL (0x64696e67), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0 - 16, + 16, ACE_NTOHL (0x556e6b6e), ACE_NTOHL (0x6f776e45), ACE_NTOHL (0x6e636f64), ACE_NTOHL (0x696e6700), // name = UnknownEncoding 0, // member count -}; + }; static CORBA::TypeCode _tc_TAO_tc_IOP_CodecFactory_UnknownEncoding ( CORBA::tk_except, @@ -1403,7 +1433,7 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_CodecFactory_UnknownEncoding ( &_tc_TAO_tc_IOP_CodecFactory_UnknownEncoding; // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_CodecFactory[] = { @@ -1418,12 +1448,12 @@ static const CORBA::Long _oc_IOP_CodecFactory[] = ACE_NTOHL (0x746f7279), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/CodecFactory:1.0 - 13, + 13, ACE_NTOHL (0x436f6465), ACE_NTOHL (0x63466163), ACE_NTOHL (0x746f7279), ACE_NTOHL (0x0), // name = CodecFactory -}; + }; static CORBA::TypeCode _tc_TAO_tc_IOP_CodecFactory ( CORBA::tk_objref, @@ -1443,40 +1473,33 @@ TAO_NAMESPACE_DEFINE ( TAO_NAMESPACE_END // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:52 +// be/be_visitor_interface/any_op_cs.cpp:52 -// Copying version. +// Copying insertion. void operator<<= ( CORBA::Any &_tao_any, IOP::Codec_ptr _tao_elem ) { - _tao_any._tao_replace ( - IOP::_tc_Codec, - 1, - IOP::Codec::_duplicate (_tao_elem), - IOP::Codec::_tao_any_destructor - ); - - _tao_any.contains_local (1); + IOP::Codec_ptr _tao_objptr = + IOP::Codec::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; } -// Non-copying version. +// Non-copying insertion. void operator<<= ( CORBA::Any &_tao_any, IOP::Codec_ptr *_tao_elem ) { - _tao_any._tao_replace ( + TAO::Any_Impl_T::insert ( + _tao_any, + IOP::Codec::_tao_any_destructor, IOP::_tc_Codec, - 1, - *_tao_elem, - IOP::Codec::_tao_any_destructor + *_tao_elem ); - - _tao_any.contains_local (1); } CORBA::Boolean @@ -1485,49 +1508,26 @@ operator>>= ( IOP::Codec_ptr &_tao_elem ) { - ACE_TRY_NEW_ENV - { - _tao_elem = IOP::Codec::_nil (); - CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean _tao_result = - type->equivalent ( - IOP::_tc_Codec - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - if (!_tao_result) - { - return 0; // not equivalent - } - - _tao_elem = - ACE_reinterpret_cast ( - IOP::Codec_ptr, - ACE_const_cast (void *, _tao_any.value ()) - ); - - return 1; - } - ACE_CATCHANY - { - } - ACE_ENDTRY; - - _tao_elem = IOP::Codec::_nil (); - return 0; + return + TAO::Any_Impl_T::extract ( + _tao_any, + IOP::Codec::_tao_any_destructor, + IOP::_tc_Codec, + _tao_elem + ); } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager; + template class TAO::Any_Impl_T; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate TAO_Object_Manager +# pragma instantiate TAO_Object_Manager +# pragma instantiate TAO::Any_Impl_T #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54 +// be/be_visitor_structure/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -1535,16 +1535,12 @@ void operator<<= ( const IOP::Encoding &_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << _tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_Encoding, - TAO_ENCAP_BYTE_ORDER, - stream.begin () - ); - } + TAO::Any_Dual_Impl_T::insert_copy ( + _tao_any, + IOP::Encoding::_tao_any_destructor, + IOP::_tc_Encoding, + _tao_elem + ); } // Non-copying insertion. @@ -1553,19 +1549,12 @@ void operator<<= ( IOP::Encoding *_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << *_tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_Encoding, - TAO_ENCAP_BYTE_ORDER, - stream.begin (), - 1, - _tao_elem, - IOP::Encoding::_tao_any_destructor - ); - } + TAO::Any_Dual_Impl_T::insert ( + _tao_any, + IOP::Encoding::_tao_any_destructor, + IOP::_tc_Encoding, + _tao_elem + ); } // Extraction to non-const pointer (deprecated). @@ -1586,108 +1575,50 @@ CORBA::Boolean operator>>= ( const IOP::Encoding *&_tao_elem ) { - _tao_elem = 0; - - ACE_TRY_NEW_ENV - { - CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean _tao_result = - type->equivalent ( - IOP::_tc_Encoding - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - if (_tao_result == 0) - { - return 0; // not equivalent - } - - if (_tao_any.any_owns_data ()) - { - _tao_elem = ACE_static_cast ( - const IOP::Encoding*, - _tao_any.value () - ); - - return 1; - } - else - { - IOP::Encoding *tmp; - ACE_NEW_RETURN ( - tmp, - IOP::Encoding, - 0 - ); - - TAO_InputCDR stream ( - _tao_any._tao_get_cdr (), - _tao_any._tao_byte_order () - ); - - if (stream >> *tmp) - { - ((CORBA::Any *)&_tao_any)->_tao_replace ( - IOP::_tc_Encoding, - 1, - ACE_static_cast (void *, tmp), - IOP::Encoding::_tao_any_destructor - ); - - _tao_elem = tmp; - return 1; - } - else - { - delete tmp; - } - } - } - ACE_CATCHANY - { - } - ACE_ENDTRY; - - return 0; + return + TAO::Any_Dual_Impl_T::extract ( + _tao_any, + IOP::Encoding::_tao_any_destructor, + IOP::_tc_Encoding, + _tao_elem + ); } +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ + defined (ACE_HAS_GNU_REPO) + template class TAO::Any_Dual_Impl_T; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +# pragma instantiate TAO::Any_Dual_Impl_T +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:52 +// be/be_visitor_interface/any_op_cs.cpp:52 -// Copying version. +// Copying insertion. void operator<<= ( CORBA::Any &_tao_any, IOP::CodecFactory_ptr _tao_elem ) { - _tao_any._tao_replace ( - IOP::_tc_CodecFactory, - 1, - IOP::CodecFactory::_duplicate (_tao_elem), - IOP::CodecFactory::_tao_any_destructor - ); - - _tao_any.contains_local (1); + IOP::CodecFactory_ptr _tao_objptr = + IOP::CodecFactory::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; } -// Non-copying version. +// Non-copying insertion. void operator<<= ( CORBA::Any &_tao_any, IOP::CodecFactory_ptr *_tao_elem ) { - _tao_any._tao_replace ( + TAO::Any_Impl_T::insert ( + _tao_any, + IOP::CodecFactory::_tao_any_destructor, IOP::_tc_CodecFactory, - 1, - *_tao_elem, - IOP::CodecFactory::_tao_any_destructor + *_tao_elem ); - - _tao_any.contains_local (1); } CORBA::Boolean @@ -1696,44 +1627,21 @@ operator>>= ( IOP::CodecFactory_ptr &_tao_elem ) { - ACE_TRY_NEW_ENV - { - _tao_elem = IOP::CodecFactory::_nil (); - CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean _tao_result = - type->equivalent ( - IOP::_tc_CodecFactory - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - if (!_tao_result) - { - return 0; // not equivalent - } - - _tao_elem = - ACE_reinterpret_cast ( - IOP::CodecFactory_ptr, - ACE_const_cast (void *, _tao_any.value ()) - ); - - return 1; - } - ACE_CATCHANY - { - } - ACE_ENDTRY; - - _tao_elem = IOP::CodecFactory::_nil (); - return 0; + return + TAO::Any_Impl_T::extract ( + _tao_any, + IOP::CodecFactory::_tao_any_destructor, + IOP::_tc_CodecFactory, + _tao_elem + ); } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager; + template class TAO::Any_Impl_T; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate TAO_Object_Manager +# pragma instantiate TAO_Object_Manager +# pragma instantiate TAO::Any_Impl_T #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/tao/IOP_CodecC.h b/TAO/tao/IOP_CodecC.h index 408161e909e..09a8d7d41cf 100644 --- a/TAO/tao/IOP_CodecC.h +++ b/TAO/tao/IOP_CodecC.h @@ -20,7 +20,7 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:151 +// be/be_codegen.cpp:151 #ifndef _TAO_IDL_ORIG_IOP_CODECC_H_ #define _TAO_IDL_ORIG_IOP_CODECC_H_ @@ -32,12 +32,8 @@ #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ - - -#include "tao/TAO_Export.h" -#include "tao/Object.h" -#include "tao/Exception.h" -#include "tao/Any.h" +#include "TAO_Export.h" +#include "tao/Any_T.h" #if defined (TAO_EXPORT_MACRO) #undef TAO_EXPORT_MACRO @@ -63,17 +59,17 @@ #endif /* __BORLANDC__ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:48 +// be/be_visitor_module/module_ch.cpp:48 TAO_NAMESPACE IOP { - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:52 + // be/be_visitor_interface/interface_ch.cpp:52 #if !defined (_IOP_CODEC___PTR_CH_) #define _IOP_CODEC___PTR_CH_ - + class Codec; typedef Codec *Codec_ptr; @@ -81,31 +77,31 @@ TAO_NAMESPACE IOP #if !defined (_IOP_CODEC___VAR_CH_) #define _IOP_CODEC___VAR_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:565 - + // be/be_interface.cpp:566 + class TAO_Export Codec_var : private TAO_Base_var { public: Codec_var (void); // default constructor - Codec_var (Codec_ptr p) : ptr_ (p) {} + Codec_var (Codec_ptr p) : ptr_ (p) {} Codec_var (const Codec_var &); // copy constructor ~Codec_var (void); // destructor - + Codec_var &operator= (Codec_ptr); Codec_var &operator= (const Codec_var &); Codec_ptr operator-> (void) const; - + operator const Codec_ptr &() const; operator Codec_ptr &(); - // in, inout, out, _retn + // in, inout, out, _retn Codec_ptr in (void) const; Codec_ptr &inout (void); Codec_ptr &out (void); Codec_ptr _retn (void); Codec_ptr ptr (void) const; - + // Hooks used by template sequence and object manager classes // for non-defined forward declared interfaces. static Codec_ptr tao_duplicate (Codec_ptr); @@ -116,7 +112,7 @@ TAO_NAMESPACE IOP ACE_ENV_ARG_DECL ); static CORBA::Object * tao_upcast (void *); - + private: Codec_ptr ptr_; // Unimplemented - prevents widening assignment. @@ -128,10 +124,10 @@ TAO_NAMESPACE IOP #if !defined (_IOP_CODEC___OUT_CH_) #define _IOP_CODEC___OUT_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:946 - + // be/be_interface.cpp:947 + class TAO_Export Codec_out { public: @@ -144,19 +140,19 @@ TAO_NAMESPACE IOP operator Codec_ptr &(); Codec_ptr &ptr (void); Codec_ptr operator-> (void); - + private: Codec_ptr &ptr_; }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:110 + // be/be_visitor_interface/interface_ch.cpp:110 #if !defined (_IOP_CODEC_CH_) #define _IOP_CODEC_CH_ - + class TAO_Export Codec : public virtual CORBA::Object { @@ -164,45 +160,45 @@ TAO_NAMESPACE IOP typedef Codec_ptr _ptr_type; typedef Codec_var _var_type; static int _tao_class_id; - + // The static operations. static Codec_ptr _duplicate (Codec_ptr obj); - + static Codec_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static Codec_ptr _unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static Codec_ptr _nil (void) { return (Codec_ptr)0; } - + static void _tao_any_destructor (void *); - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51 + // be/be_visitor_exception/exception_ch.cpp:51 #if !defined (_IOP_CODEC_INVALIDTYPEFORENCODING_CH_) #define _IOP_CODEC_INVALIDTYPEFORENCODING_CH_ - + class TAO_Export InvalidTypeForEncoding : public CORBA::UserException { public: - + InvalidTypeForEncoding (void); InvalidTypeForEncoding (const InvalidTypeForEncoding &); ~InvalidTypeForEncoding (void); InvalidTypeForEncoding &operator= (const InvalidTypeForEncoding &); - + static void _tao_any_destructor (void *); - + static InvalidTypeForEncoding *_downcast (CORBA::Exception *); static CORBA::Exception *_alloc (void); @@ -214,43 +210,43 @@ TAO_NAMESPACE IOP TAO_OutputCDR & ACE_ENV_ARG_DECL_NOT_USED ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL_NOT_USED ); - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125 - + // be/be_visitor_exception/exception_ch.cpp:125 + virtual CORBA::TypeCode_ptr _type (void) const; }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + static ::CORBA::TypeCode_ptr _tc_InvalidTypeForEncoding; #endif /* end #if !defined */ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51 + // be/be_visitor_exception/exception_ch.cpp:51 #if !defined (_IOP_CODEC_FORMATMISMATCH_CH_) #define _IOP_CODEC_FORMATMISMATCH_CH_ - + class TAO_Export FormatMismatch : public CORBA::UserException { public: - + FormatMismatch (void); FormatMismatch (const FormatMismatch &); ~FormatMismatch (void); FormatMismatch &operator= (const FormatMismatch &); - + static void _tao_any_destructor (void *); - + static FormatMismatch *_downcast (CORBA::Exception *); static CORBA::Exception *_alloc (void); @@ -262,43 +258,43 @@ TAO_NAMESPACE IOP TAO_OutputCDR & ACE_ENV_ARG_DECL_NOT_USED ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL_NOT_USED ); - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125 - + // be/be_visitor_exception/exception_ch.cpp:125 + virtual CORBA::TypeCode_ptr _type (void) const; }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + static ::CORBA::TypeCode_ptr _tc_FormatMismatch; #endif /* end #if !defined */ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51 + // be/be_visitor_exception/exception_ch.cpp:51 #if !defined (_IOP_CODEC_TYPEMISMATCH_CH_) #define _IOP_CODEC_TYPEMISMATCH_CH_ - + class TAO_Export TypeMismatch : public CORBA::UserException { public: - + TypeMismatch (void); TypeMismatch (const TypeMismatch &); ~TypeMismatch (void); TypeMismatch &operator= (const TypeMismatch &); - + static void _tao_any_destructor (void *); - + static TypeMismatch *_downcast (CORBA::Exception *); static CORBA::Exception *_alloc (void); @@ -310,28 +306,28 @@ TAO_NAMESPACE IOP TAO_OutputCDR & ACE_ENV_ARG_DECL_NOT_USED ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL_NOT_USED ); - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125 - + // be/be_visitor_exception/exception_ch.cpp:125 + virtual CORBA::TypeCode_ptr _type (void) const; }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + static ::CORBA::TypeCode_ptr _tc_TypeMismatch; #endif /* end #if !defined */ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46 - + // be/be_visitor_operation/operation_ch.cpp:46 + virtual ::CORBA::OctetSeq * encode ( const CORBA::Any & data ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -340,10 +336,10 @@ TAO_NAMESPACE IOP CORBA::SystemException , IOP::Codec::InvalidTypeForEncoding )) = 0; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46 - + // be/be_visitor_operation/operation_ch.cpp:46 + virtual CORBA::Any * decode ( const CORBA::OctetSeq & data ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -352,10 +348,10 @@ TAO_NAMESPACE IOP CORBA::SystemException , IOP::Codec::FormatMismatch )) = 0; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46 - + // be/be_visitor_operation/operation_ch.cpp:46 + virtual ::CORBA::OctetSeq * encode_value ( const CORBA::Any & data ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -364,10 +360,10 @@ TAO_NAMESPACE IOP CORBA::SystemException , IOP::Codec::InvalidTypeForEncoding )) = 0; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46 - + // be/be_visitor_operation/operation_ch.cpp:46 + virtual CORBA::Any * decode_value ( const CORBA::OctetSeq & data, CORBA::TypeCode_ptr tc @@ -378,64 +374,65 @@ TAO_NAMESPACE IOP , IOP::Codec::FormatMismatch , IOP::Codec::TypeMismatch )) = 0; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:267 - + // be/be_visitor_interface/interface_ch.cpp:267 + virtual void *_tao_QueryInterface (ptr_arith_t type); - + virtual const char* _interface_repository_id (void) const; - + virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); + protected: Codec (void); virtual ~Codec (void); - + private: Codec (const Codec &); void operator= (const Codec &); }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Codec; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334 - + // be/be_visitor_typedef/typedef_ch.cpp:333 + typedef CORBA::Short EncodingFormat; typedef CORBA::Short_out EncodingFormat_out; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_EncodingFormat; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::Short ENCODING_CDR_ENCAPS = 0; - + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::EncodingFormat ENCODING_CDR_ENCAPS = 0; + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49 - + // be/be_visitor_structure/structure_ch.cpp:49 + class Encoding_var; - + struct TAO_Export Encoding { typedef Encoding_var _var_type; - + static void _tao_any_destructor (void *); IOP::EncodingFormat format; CORBA::Octet major_version; CORBA::Octet minor_version; }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71 - + // be/be_structure.cpp:71 + class TAO_Export Encoding_var { public: @@ -445,47 +442,47 @@ TAO_NAMESPACE IOP // Fixed-size types only. Encoding_var (const Encoding &); ~Encoding_var (void); - + Encoding_var &operator= (Encoding *); Encoding_var &operator= (const Encoding_var &); - + // Fixed-size types only. Encoding_var &operator= (const Encoding &); - + Encoding *operator-> (void); const Encoding *operator-> (void) const; - + operator const Encoding &() const; operator Encoding &(); operator Encoding &() const; - - // in, inout, out, _retn + + // in, inout, out, _retn const Encoding &in (void) const; Encoding &inout (void); Encoding &out (void); Encoding _retn (void); Encoding *ptr (void) const; - + private: Encoding *ptr_; }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:105 - + // be/be_visitor_structure/structure_ch.cpp:105 + typedef Encoding &Encoding_out; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Encoding; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:52 + // be/be_visitor_interface/interface_ch.cpp:52 #if !defined (_IOP_CODECFACTORY___PTR_CH_) #define _IOP_CODECFACTORY___PTR_CH_ - + class CodecFactory; typedef CodecFactory *CodecFactory_ptr; @@ -493,31 +490,31 @@ TAO_NAMESPACE IOP #if !defined (_IOP_CODECFACTORY___VAR_CH_) #define _IOP_CODECFACTORY___VAR_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:565 - + // be/be_interface.cpp:566 + class TAO_Export CodecFactory_var : private TAO_Base_var { public: CodecFactory_var (void); // default constructor - CodecFactory_var (CodecFactory_ptr p) : ptr_ (p) {} + CodecFactory_var (CodecFactory_ptr p) : ptr_ (p) {} CodecFactory_var (const CodecFactory_var &); // copy constructor ~CodecFactory_var (void); // destructor - + CodecFactory_var &operator= (CodecFactory_ptr); CodecFactory_var &operator= (const CodecFactory_var &); CodecFactory_ptr operator-> (void) const; - + operator const CodecFactory_ptr &() const; operator CodecFactory_ptr &(); - // in, inout, out, _retn + // in, inout, out, _retn CodecFactory_ptr in (void) const; CodecFactory_ptr &inout (void); CodecFactory_ptr &out (void); CodecFactory_ptr _retn (void); CodecFactory_ptr ptr (void) const; - + // Hooks used by template sequence and object manager classes // for non-defined forward declared interfaces. static CodecFactory_ptr tao_duplicate (CodecFactory_ptr); @@ -528,7 +525,7 @@ TAO_NAMESPACE IOP ACE_ENV_ARG_DECL ); static CORBA::Object * tao_upcast (void *); - + private: CodecFactory_ptr ptr_; // Unimplemented - prevents widening assignment. @@ -540,10 +537,10 @@ TAO_NAMESPACE IOP #if !defined (_IOP_CODECFACTORY___OUT_CH_) #define _IOP_CODECFACTORY___OUT_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:946 - + // be/be_interface.cpp:947 + class TAO_Export CodecFactory_out { public: @@ -556,19 +553,19 @@ TAO_NAMESPACE IOP operator CodecFactory_ptr &(); CodecFactory_ptr &ptr (void); CodecFactory_ptr operator-> (void); - + private: CodecFactory_ptr &ptr_; }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:110 + // be/be_visitor_interface/interface_ch.cpp:110 #if !defined (_IOP_CODECFACTORY_CH_) #define _IOP_CODECFACTORY_CH_ - + class TAO_Export CodecFactory : public virtual CORBA::Object { @@ -576,45 +573,45 @@ TAO_NAMESPACE IOP typedef CodecFactory_ptr _ptr_type; typedef CodecFactory_var _var_type; static int _tao_class_id; - + // The static operations. static CodecFactory_ptr _duplicate (CodecFactory_ptr obj); - + static CodecFactory_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static CodecFactory_ptr _unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static CodecFactory_ptr _nil (void) { return (CodecFactory_ptr)0; } - + static void _tao_any_destructor (void *); - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51 + // be/be_visitor_exception/exception_ch.cpp:51 #if !defined (_IOP_CODECFACTORY_UNKNOWNENCODING_CH_) #define _IOP_CODECFACTORY_UNKNOWNENCODING_CH_ - + class TAO_Export UnknownEncoding : public CORBA::UserException { public: - + UnknownEncoding (void); UnknownEncoding (const UnknownEncoding &); ~UnknownEncoding (void); UnknownEncoding &operator= (const UnknownEncoding &); - + static void _tao_any_destructor (void *); - + static UnknownEncoding *_downcast (CORBA::Exception *); static CORBA::Exception *_alloc (void); @@ -626,28 +623,28 @@ TAO_NAMESPACE IOP TAO_OutputCDR & ACE_ENV_ARG_DECL_NOT_USED ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL_NOT_USED ); - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125 - + // be/be_visitor_exception/exception_ch.cpp:125 + virtual CORBA::TypeCode_ptr _type (void) const; }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + static ::CORBA::TypeCode_ptr _tc_UnknownEncoding; #endif /* end #if !defined */ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46 - + // be/be_visitor_operation/operation_ch.cpp:46 + virtual ::IOP::Codec_ptr create_codec ( const IOP::Encoding & enc ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -656,45 +653,46 @@ TAO_NAMESPACE IOP CORBA::SystemException , IOP::CodecFactory::UnknownEncoding )) = 0; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:267 - + // be/be_visitor_interface/interface_ch.cpp:267 + virtual void *_tao_QueryInterface (ptr_arith_t type); - + virtual const char* _interface_repository_id (void) const; - + virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); + protected: CodecFactory (void); virtual ~CodecFactory (void); - + private: CodecFactory (const CodecFactory &); void operator= (const CodecFactory &); }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_CodecFactory; // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:67 +// be/be_visitor_module/module_ch.cpp:67 } TAO_NAMESPACE_CLOSE // module IOP // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_ch.cpp:52 +// be/be_visitor_interface/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, IOP::Codec_ptr); // copying TAO_Export void operator<<= (CORBA::Any &, IOP::Codec_ptr *); // non-copying TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec_ptr &); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52 +// be/be_visitor_exception/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, const IOP::Codec::InvalidTypeForEncoding &); // copying version TAO_Export void operator<<= (CORBA::Any &, IOP::Codec::InvalidTypeForEncoding*); // noncopying version @@ -702,7 +700,7 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec::InvalidTy TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Codec::InvalidTypeForEncoding *&); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52 +// be/be_visitor_exception/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, const IOP::Codec::FormatMismatch &); // copying version TAO_Export void operator<<= (CORBA::Any &, IOP::Codec::FormatMismatch*); // noncopying version @@ -710,7 +708,7 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec::FormatMis TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Codec::FormatMismatch *&); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52 +// be/be_visitor_exception/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, const IOP::Codec::TypeMismatch &); // copying version TAO_Export void operator<<= (CORBA::Any &, IOP::Codec::TypeMismatch*); // noncopying version @@ -718,7 +716,7 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec::TypeMisma TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Codec::TypeMismatch *&); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52 +// be/be_visitor_structure/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, const IOP::Encoding &); // copying version TAO_Export void operator<<= (CORBA::Any &, IOP::Encoding*); // noncopying version @@ -726,14 +724,14 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Encoding *&); // TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Encoding *&); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_ch.cpp:52 +// be/be_visitor_interface/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, IOP::CodecFactory_ptr); // copying TAO_Export void operator<<= (CORBA::Any &, IOP::CodecFactory_ptr *); // non-copying TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::CodecFactory_ptr &); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52 +// be/be_visitor_exception/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, const IOP::CodecFactory::UnknownEncoding &); // copying version TAO_Export void operator<<= (CORBA::Any &, IOP::CodecFactory::UnknownEncoding*); // noncopying version @@ -741,23 +739,23 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::CodecFactory::Un TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::CodecFactory::UnknownEncoding *&); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:48 +// be/be_visitor_root/cdr_op.cpp:48 #ifndef __ACE_INLINE__ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54 +// be/be_visitor_structure/cdr_op_ch.cpp:54 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::Encoding &); TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::Encoding &); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:64 +// be/be_visitor_root/cdr_op.cpp:64 #endif /* __ACE_INLINE__ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:1016 +// be/be_codegen.cpp:1018 #if defined (__ACE_INLINE__) #include "IOP_CodecC.i" @@ -773,3 +771,4 @@ TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::Encoding &); #include "ace/post.h" #endif /* ifndef */ + diff --git a/TAO/tao/IOP_CodecC.i b/TAO/tao/IOP_CodecC.i index 1e1c79a4f0b..498af73fde8 100644 --- a/TAO/tao/IOP_CodecC.i +++ b/TAO/tao/IOP_CodecC.i @@ -21,15 +21,39 @@ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68 +// be/be_visitor_interface/interface_ci.cpp:67 #if !defined (_IOP_CODEC___CI_) #define _IOP_CODEC___CI_ +template<> +CORBA::Boolean +TAO::Any_Impl_T::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +CORBA::Boolean +TAO::Any_Impl_T::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +CORBA::Boolean +TAO::Any_Impl_T::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194 +// be/be_structure.cpp:194 // ************************************************************* // Inline operations for class IOP::Encoding_var @@ -192,15 +216,39 @@ IOP::Encoding_var::ptr (void) const } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68 +// be/be_visitor_interface/interface_ci.cpp:67 #if !defined (_IOP_CODECFACTORY___CI_) #define _IOP_CODECFACTORY___CI_ +template<> +CORBA::Boolean +TAO::Any_Impl_T::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +CORBA::Boolean +TAO::Any_Impl_T::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +CORBA::Boolean +TAO::Any_Impl_T::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:71 +// be/be_visitor_structure/cdr_op_ci.cpp:71 ACE_INLINE CORBA::Boolean operator<< ( diff --git a/TAO/tao/IOP_IOR.pidl b/TAO/tao/IOP_IOR.pidl index 54deeb7f3da..11fe0ec2196 100644 --- a/TAO/tao/IOP_IOR.pidl +++ b/TAO/tao/IOP_IOR.pidl @@ -30,6 +30,7 @@ #define TAO_IOP_IOR_PIDL #include +#include #pragma prefix "omg.org" @@ -41,7 +42,7 @@ module IOP struct TaggedProfile { ProfileId tag; - sequence profile_data; + CORBA::OctetSeq profile_data; }; struct IOR { @@ -52,7 +53,7 @@ module IOP typedef unsigned long ComponentId; struct TaggedComponent { ComponentId tag; - sequence component_data; + CORBA::OctetSeq component_data; }; typedef sequence MultipleComponentProfile; typedef sequence TaggedComponentList; diff --git a/TAO/tao/IOP_IORC.cpp b/TAO/tao/IOP_IORC.cpp index c48cd47ba71..9c0bd6a8db6 100644 --- a/TAO/tao/IOP_IORC.cpp +++ b/TAO/tao/IOP_IORC.cpp @@ -20,7 +20,7 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:314 +// be/be_codegen.cpp:314 #include "IOP_IORC.h" @@ -44,7 +44,7 @@ #endif /* !defined INLINE */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_ProfileId[] = { @@ -58,11 +58,11 @@ static const CORBA::Long _oc_IOP_ProfileId[] = ACE_NTOHL (0x696c6549), ACE_NTOHL (0x643a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ProfileId:1.0 - 10, + 10, ACE_NTOHL (0x50726f66), ACE_NTOHL (0x696c6549), ACE_NTOHL (0x64000000), // name = ProfileId - CORBA::tk_ulong, + CORBA::tk_ulong, }; @@ -84,7 +84,7 @@ TAO_NAMESPACE_DEFINE ( TAO_NAMESPACE_END // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_TaggedProfile[] = { @@ -99,15 +99,15 @@ static const CORBA::Long _oc_IOP_TaggedProfile[] = ACE_NTOHL (0x6f66696c), ACE_NTOHL (0x653a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/TaggedProfile:1.0 - 14, + 14, ACE_NTOHL (0x54616767), ACE_NTOHL (0x65645072), ACE_NTOHL (0x6f66696c), ACE_NTOHL (0x65000000), // name = TaggedProfile 2, // member count - 4, + 4, ACE_NTOHL (0x74616700), // name = tag - CORBA::tk_alias, // typecode kind for typedefs + CORBA::tk_alias, // typecode kind for typedefs 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 30, @@ -119,11 +119,11 @@ static const CORBA::Long _oc_IOP_TaggedProfile[] = ACE_NTOHL (0x696c6549), ACE_NTOHL (0x643a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ProfileId:1.0 - 10, + 10, ACE_NTOHL (0x50726f66), ACE_NTOHL (0x696c6549), ACE_NTOHL (0x64000000), // name = ProfileId - CORBA::tk_ulong, + CORBA::tk_ulong, 13, @@ -131,12 +131,29 @@ static const CORBA::Long _oc_IOP_TaggedProfile[] = ACE_NTOHL (0x696c655f), ACE_NTOHL (0x64617461), ACE_NTOHL (0x0), // name = profile_data - CORBA::tk_sequence, // typecode kind - 12, // encapsulation length + CORBA::tk_alias, // typecode kind for typedefs + 76, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order - CORBA::tk_octet, + 31, + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f4f63), + ACE_NTOHL (0x74657453), + ACE_NTOHL (0x65713a31), + ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/OctetSeq:1.0 + 9, + ACE_NTOHL (0x4f637465), + ACE_NTOHL (0x74536571), + ACE_NTOHL (0x0), // name = OctetSeq + CORBA::tk_sequence, // typecode kind + 12, // encapsulation length + TAO_ENCAP_BYTE_ORDER, // byte order + CORBA::tk_octet, + + 0U, - 0U, }; @@ -158,7 +175,7 @@ TAO_NAMESPACE_DEFINE ( TAO_NAMESPACE_END // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67 +// be/be_visitor_structure/structure_cs.cpp:66 void IOP::TaggedProfile::_tao_any_destructor (void *_tao_void_pointer) { @@ -166,73 +183,8 @@ void IOP::TaggedProfile::_tao_any_destructor (void *_tao_void_pointer) delete tmp; } -#if !defined (_IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CS_) -#define _IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CS_ - -// TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250 - -// ************************************************************* -// IOP::TaggedProfile::_tao_seq_Octet -// ************************************************************* - -IOP::TaggedProfile::_tao_seq_Octet::_tao_seq_Octet (void) -{} - -IOP::TaggedProfile::_tao_seq_Octet::_tao_seq_Octet (CORBA::ULong max) - : - -#if !defined (TAO_USE_SEQUENCE_TEMPLATES) -TAO_Unbounded_Sequence -#else /* TAO_USE_SEQUENCE_TEMPLATES */ -TAO_Unbounded_Sequence - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - (max) -{} - -IOP::TaggedProfile::_tao_seq_Octet::_tao_seq_Octet ( - CORBA::ULong max, - CORBA::ULong length, - CORBA::Octet *buffer, - CORBA::Boolean release - ) - : - -#if !defined (TAO_USE_SEQUENCE_TEMPLATES) -TAO_Unbounded_Sequence -#else /* TAO_USE_SEQUENCE_TEMPLATES */ -TAO_Unbounded_Sequence - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - (max, length, buffer, release) -{} - -IOP::TaggedProfile::_tao_seq_Octet::_tao_seq_Octet (const _tao_seq_Octet &seq) - : - -#if !defined (TAO_USE_SEQUENCE_TEMPLATES) -TAO_Unbounded_Sequence -#else /* TAO_USE_SEQUENCE_TEMPLATES */ -TAO_Unbounded_Sequence - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - (seq) -{} - -IOP::TaggedProfile::_tao_seq_Octet::~_tao_seq_Octet (void) // dtor -{} - -void IOP::TaggedProfile::_tao_seq_Octet::_tao_any_destructor (void *_tao_void_pointer) -{ - _tao_seq_Octet *tmp = ACE_static_cast (_tao_seq_Octet*, _tao_void_pointer); - delete tmp; -} - -#endif /* end #if !defined */ - // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_IOR[] = { @@ -244,23 +196,23 @@ static const CORBA::Long _oc_IOP_IOR[] = ACE_NTOHL (0x494f502f), ACE_NTOHL (0x494f523a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/IOR:1.0 - 4, + 4, ACE_NTOHL (0x494f5200), // name = IOR 2, // member count - 8, + 8, ACE_NTOHL (0x74797065), ACE_NTOHL (0x5f696400), // name = type_id - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 9, ACE_NTOHL (0x70726f66), ACE_NTOHL (0x696c6573), ACE_NTOHL (0x0), // name = profiles - CORBA::tk_sequence, // typecode kind - 200, // encapsulation length + CORBA::tk_sequence, // typecode kind + 264, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order CORBA::tk_struct, // typecode kind - 184, // encapsulation length + 248, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 34, ACE_NTOHL (0x49444c3a), @@ -272,15 +224,15 @@ static const CORBA::Long _oc_IOP_IOR[] = ACE_NTOHL (0x6f66696c), ACE_NTOHL (0x653a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/TaggedProfile:1.0 - 14, + 14, ACE_NTOHL (0x54616767), ACE_NTOHL (0x65645072), ACE_NTOHL (0x6f66696c), ACE_NTOHL (0x65000000), // name = TaggedProfile 2, // member count - 4, + 4, ACE_NTOHL (0x74616700), // name = tag - CORBA::tk_alias, // typecode kind for typedefs + CORBA::tk_alias, // typecode kind for typedefs 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 30, @@ -292,11 +244,11 @@ static const CORBA::Long _oc_IOP_IOR[] = ACE_NTOHL (0x696c6549), ACE_NTOHL (0x643a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ProfileId:1.0 - 10, + 10, ACE_NTOHL (0x50726f66), ACE_NTOHL (0x696c6549), ACE_NTOHL (0x64000000), // name = ProfileId - CORBA::tk_ulong, + CORBA::tk_ulong, 13, @@ -304,12 +256,29 @@ static const CORBA::Long _oc_IOP_IOR[] = ACE_NTOHL (0x696c655f), ACE_NTOHL (0x64617461), ACE_NTOHL (0x0), // name = profile_data - CORBA::tk_sequence, // typecode kind - 12, // encapsulation length + CORBA::tk_alias, // typecode kind for typedefs + 76, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order - CORBA::tk_octet, + 31, + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f4f63), + ACE_NTOHL (0x74657453), + ACE_NTOHL (0x65713a31), + ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/OctetSeq:1.0 + 9, + ACE_NTOHL (0x4f637465), + ACE_NTOHL (0x74536571), + ACE_NTOHL (0x0), // name = OctetSeq + CORBA::tk_sequence, // typecode kind + 12, // encapsulation length + TAO_ENCAP_BYTE_ORDER, // byte order + CORBA::tk_octet, + + 0U, - 0U, 0U, @@ -334,7 +303,7 @@ TAO_NAMESPACE_DEFINE ( TAO_NAMESPACE_END // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67 +// be/be_visitor_structure/structure_cs.cpp:66 void IOP::IOR::_tao_any_destructor (void *_tao_void_pointer) { @@ -343,7 +312,7 @@ void IOP::IOR::_tao_any_destructor (void *_tao_void_pointer) } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101 +// be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp:100 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) @@ -402,7 +371,7 @@ IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::~_TAO_Unbounde #define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CS_ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250 +// be/be_visitor_sequence/sequence_cs.cpp:249 // ************************************************************* // IOP::IOR::_tao_seq_TaggedProfile @@ -464,7 +433,7 @@ void IOP::IOR::_tao_seq_TaggedProfile::_tao_any_destructor (void *_tao_void_poin #endif /* end #if !defined */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_ComponentId[] = { @@ -478,11 +447,11 @@ static const CORBA::Long _oc_IOP_ComponentId[] = ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x7449643a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0 - 12, + 12, ACE_NTOHL (0x436f6d70), ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74496400), // name = ComponentId - CORBA::tk_ulong, + CORBA::tk_ulong, }; @@ -504,7 +473,7 @@ TAO_NAMESPACE_DEFINE ( TAO_NAMESPACE_END // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_TaggedComponent[] = { @@ -519,15 +488,15 @@ static const CORBA::Long _oc_IOP_TaggedComponent[] = ACE_NTOHL (0x6d706f6e), ACE_NTOHL (0x656e743a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0 - 16, + 16, ACE_NTOHL (0x54616767), ACE_NTOHL (0x6564436f), ACE_NTOHL (0x6d706f6e), ACE_NTOHL (0x656e7400), // name = TaggedComponent 2, // member count - 4, + 4, ACE_NTOHL (0x74616700), // name = tag - CORBA::tk_alias, // typecode kind for typedefs + CORBA::tk_alias, // typecode kind for typedefs 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, @@ -539,11 +508,11 @@ static const CORBA::Long _oc_IOP_TaggedComponent[] = ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x7449643a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0 - 12, + 12, ACE_NTOHL (0x436f6d70), ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74496400), // name = ComponentId - CORBA::tk_ulong, + CORBA::tk_ulong, 15, @@ -551,12 +520,29 @@ static const CORBA::Long _oc_IOP_TaggedComponent[] = ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x745f6461), ACE_NTOHL (0x74610000), // name = component_data - CORBA::tk_sequence, // typecode kind - 12, // encapsulation length + CORBA::tk_alias, // typecode kind for typedefs + 76, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order - CORBA::tk_octet, + 31, + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f4f63), + ACE_NTOHL (0x74657453), + ACE_NTOHL (0x65713a31), + ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/OctetSeq:1.0 + 9, + ACE_NTOHL (0x4f637465), + ACE_NTOHL (0x74536571), + ACE_NTOHL (0x0), // name = OctetSeq + CORBA::tk_sequence, // typecode kind + 12, // encapsulation length + TAO_ENCAP_BYTE_ORDER, // byte order + CORBA::tk_octet, + + 0U, - 0U, }; @@ -578,7 +564,7 @@ TAO_NAMESPACE_DEFINE ( TAO_NAMESPACE_END // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67 +// be/be_visitor_structure/structure_cs.cpp:66 void IOP::TaggedComponent::_tao_any_destructor (void *_tao_void_pointer) { @@ -586,73 +572,8 @@ void IOP::TaggedComponent::_tao_any_destructor (void *_tao_void_pointer) delete tmp; } -#if !defined (_IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CS_) -#define _IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CS_ - -// TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250 - -// ************************************************************* -// IOP::TaggedComponent::_tao_seq_Octet -// ************************************************************* - -IOP::TaggedComponent::_tao_seq_Octet::_tao_seq_Octet (void) -{} - -IOP::TaggedComponent::_tao_seq_Octet::_tao_seq_Octet (CORBA::ULong max) - : - -#if !defined (TAO_USE_SEQUENCE_TEMPLATES) -TAO_Unbounded_Sequence -#else /* TAO_USE_SEQUENCE_TEMPLATES */ -TAO_Unbounded_Sequence - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - (max) -{} - -IOP::TaggedComponent::_tao_seq_Octet::_tao_seq_Octet ( - CORBA::ULong max, - CORBA::ULong length, - CORBA::Octet *buffer, - CORBA::Boolean release - ) - : - -#if !defined (TAO_USE_SEQUENCE_TEMPLATES) -TAO_Unbounded_Sequence -#else /* TAO_USE_SEQUENCE_TEMPLATES */ -TAO_Unbounded_Sequence - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - (max, length, buffer, release) -{} - -IOP::TaggedComponent::_tao_seq_Octet::_tao_seq_Octet (const _tao_seq_Octet &seq) - : - -#if !defined (TAO_USE_SEQUENCE_TEMPLATES) -TAO_Unbounded_Sequence -#else /* TAO_USE_SEQUENCE_TEMPLATES */ -TAO_Unbounded_Sequence - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - (seq) -{} - -IOP::TaggedComponent::_tao_seq_Octet::~_tao_seq_Octet (void) // dtor -{} - -void IOP::TaggedComponent::_tao_seq_Octet::_tao_any_destructor (void *_tao_void_pointer) -{ - _tao_seq_Octet *tmp = ACE_static_cast (_tao_seq_Octet*, _tao_void_pointer); - delete tmp; -} - -#endif /* end #if !defined */ - // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101 +// be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp:100 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) @@ -711,7 +632,7 @@ IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::~_TAO_Unbounded_Seque #define _IOP_MULTIPLECOMPONENTPROFILE_CS_ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250 +// be/be_visitor_sequence/sequence_cs.cpp:249 // ************************************************************* // IOP::MultipleComponentProfile @@ -773,7 +694,7 @@ void IOP::MultipleComponentProfile::_tao_any_destructor (void *_tao_void_pointer #endif /* end #if !defined */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_MultipleComponentProfile[] = { @@ -791,7 +712,7 @@ static const CORBA::Long _oc_IOP_MultipleComponentProfile[] = ACE_NTOHL (0x66696c65), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/MultipleComponentProfile:1.0 - 25, + 25, ACE_NTOHL (0x4d756c74), ACE_NTOHL (0x69706c65), ACE_NTOHL (0x436f6d70), @@ -799,11 +720,11 @@ static const CORBA::Long _oc_IOP_MultipleComponentProfile[] = ACE_NTOHL (0x7450726f), ACE_NTOHL (0x66696c65), ACE_NTOHL (0x0), // name = MultipleComponentProfile - CORBA::tk_sequence, // typecode kind - 200, // encapsulation length + CORBA::tk_sequence, // typecode kind + 264, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order CORBA::tk_struct, // typecode kind - 184, // encapsulation length + 248, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 36, ACE_NTOHL (0x49444c3a), @@ -815,15 +736,15 @@ static const CORBA::Long _oc_IOP_MultipleComponentProfile[] = ACE_NTOHL (0x6d706f6e), ACE_NTOHL (0x656e743a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0 - 16, + 16, ACE_NTOHL (0x54616767), ACE_NTOHL (0x6564436f), ACE_NTOHL (0x6d706f6e), ACE_NTOHL (0x656e7400), // name = TaggedComponent 2, // member count - 4, + 4, ACE_NTOHL (0x74616700), // name = tag - CORBA::tk_alias, // typecode kind for typedefs + CORBA::tk_alias, // typecode kind for typedefs 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, @@ -835,11 +756,11 @@ static const CORBA::Long _oc_IOP_MultipleComponentProfile[] = ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x7449643a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0 - 12, + 12, ACE_NTOHL (0x436f6d70), ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74496400), // name = ComponentId - CORBA::tk_ulong, + CORBA::tk_ulong, 15, @@ -847,12 +768,29 @@ static const CORBA::Long _oc_IOP_MultipleComponentProfile[] = ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x745f6461), ACE_NTOHL (0x74610000), // name = component_data - CORBA::tk_sequence, // typecode kind - 12, // encapsulation length + CORBA::tk_alias, // typecode kind for typedefs + 76, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order - CORBA::tk_octet, + 31, + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f4f63), + ACE_NTOHL (0x74657453), + ACE_NTOHL (0x65713a31), + ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/OctetSeq:1.0 + 9, + ACE_NTOHL (0x4f637465), + ACE_NTOHL (0x74536571), + ACE_NTOHL (0x0), // name = OctetSeq + CORBA::tk_sequence, // typecode kind + 12, // encapsulation length + TAO_ENCAP_BYTE_ORDER, // byte order + CORBA::tk_octet, + + 0U, - 0U, 0U, @@ -877,7 +815,7 @@ TAO_NAMESPACE_DEFINE ( TAO_NAMESPACE_END // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101 +// be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp:100 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) @@ -936,7 +874,7 @@ IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::~_TAO_Unbounded_Sequence_I #define _IOP_TAGGEDCOMPONENTLIST_CS_ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250 +// be/be_visitor_sequence/sequence_cs.cpp:249 // ************************************************************* // IOP::TaggedComponentList @@ -998,7 +936,7 @@ void IOP::TaggedComponentList::_tao_any_destructor (void *_tao_void_pointer) #endif /* end #if !defined */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_TaggedComponentList[] = { @@ -1014,17 +952,17 @@ static const CORBA::Long _oc_IOP_TaggedComponentList[] = ACE_NTOHL (0x656e744c), ACE_NTOHL (0x6973743a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponentList:1.0 - 20, + 20, ACE_NTOHL (0x54616767), ACE_NTOHL (0x6564436f), ACE_NTOHL (0x6d706f6e), ACE_NTOHL (0x656e744c), ACE_NTOHL (0x69737400), // name = TaggedComponentList - CORBA::tk_sequence, // typecode kind - 200, // encapsulation length + CORBA::tk_sequence, // typecode kind + 264, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order CORBA::tk_struct, // typecode kind - 184, // encapsulation length + 248, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 36, ACE_NTOHL (0x49444c3a), @@ -1036,15 +974,15 @@ static const CORBA::Long _oc_IOP_TaggedComponentList[] = ACE_NTOHL (0x6d706f6e), ACE_NTOHL (0x656e743a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0 - 16, + 16, ACE_NTOHL (0x54616767), ACE_NTOHL (0x6564436f), ACE_NTOHL (0x6d706f6e), ACE_NTOHL (0x656e7400), // name = TaggedComponent 2, // member count - 4, + 4, ACE_NTOHL (0x74616700), // name = tag - CORBA::tk_alias, // typecode kind for typedefs + CORBA::tk_alias, // typecode kind for typedefs 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, @@ -1056,11 +994,11 @@ static const CORBA::Long _oc_IOP_TaggedComponentList[] = ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x7449643a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0 - 12, + 12, ACE_NTOHL (0x436f6d70), ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74496400), // name = ComponentId - CORBA::tk_ulong, + CORBA::tk_ulong, 15, @@ -1068,12 +1006,29 @@ static const CORBA::Long _oc_IOP_TaggedComponentList[] = ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x745f6461), ACE_NTOHL (0x74610000), // name = component_data - CORBA::tk_sequence, // typecode kind - 12, // encapsulation length + CORBA::tk_alias, // typecode kind for typedefs + 76, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order - CORBA::tk_octet, + 31, + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f4f63), + ACE_NTOHL (0x74657453), + ACE_NTOHL (0x65713a31), + ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/OctetSeq:1.0 + 9, + ACE_NTOHL (0x4f637465), + ACE_NTOHL (0x74536571), + ACE_NTOHL (0x0), // name = OctetSeq + CORBA::tk_sequence, // typecode kind + 12, // encapsulation length + TAO_ENCAP_BYTE_ORDER, // byte order + CORBA::tk_octet, + + 0U, - 0U, 0U, @@ -1098,7 +1053,7 @@ TAO_NAMESPACE_DEFINE ( TAO_NAMESPACE_END // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101 +// be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp:100 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) @@ -1157,7 +1112,7 @@ IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::~_TAO_Unbounded_Sequence_IO #define _IOP_TAGGEDCOMPONENTSEQ_CS_ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250 +// be/be_visitor_sequence/sequence_cs.cpp:249 // ************************************************************* // IOP::TaggedComponentSeq @@ -1219,7 +1174,7 @@ void IOP::TaggedComponentSeq::_tao_any_destructor (void *_tao_void_pointer) #endif /* end #if !defined */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_TaggedComponentSeq[] = { @@ -1235,17 +1190,17 @@ static const CORBA::Long _oc_IOP_TaggedComponentSeq[] = ACE_NTOHL (0x656e7453), ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/TaggedComponentSeq:1.0 - 19, + 19, ACE_NTOHL (0x54616767), ACE_NTOHL (0x6564436f), ACE_NTOHL (0x6d706f6e), ACE_NTOHL (0x656e7453), ACE_NTOHL (0x65710000), // name = TaggedComponentSeq - CORBA::tk_sequence, // typecode kind - 200, // encapsulation length + CORBA::tk_sequence, // typecode kind + 264, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order CORBA::tk_struct, // typecode kind - 184, // encapsulation length + 248, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 36, ACE_NTOHL (0x49444c3a), @@ -1257,15 +1212,15 @@ static const CORBA::Long _oc_IOP_TaggedComponentSeq[] = ACE_NTOHL (0x6d706f6e), ACE_NTOHL (0x656e743a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0 - 16, + 16, ACE_NTOHL (0x54616767), ACE_NTOHL (0x6564436f), ACE_NTOHL (0x6d706f6e), ACE_NTOHL (0x656e7400), // name = TaggedComponent 2, // member count - 4, + 4, ACE_NTOHL (0x74616700), // name = tag - CORBA::tk_alias, // typecode kind for typedefs + CORBA::tk_alias, // typecode kind for typedefs 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, @@ -1277,11 +1232,11 @@ static const CORBA::Long _oc_IOP_TaggedComponentSeq[] = ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x7449643a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0 - 12, + 12, ACE_NTOHL (0x436f6d70), ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74496400), // name = ComponentId - CORBA::tk_ulong, + CORBA::tk_ulong, 15, @@ -1289,12 +1244,29 @@ static const CORBA::Long _oc_IOP_TaggedComponentSeq[] = ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x745f6461), ACE_NTOHL (0x74610000), // name = component_data - CORBA::tk_sequence, // typecode kind - 12, // encapsulation length + CORBA::tk_alias, // typecode kind for typedefs + 76, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order - CORBA::tk_octet, + 31, + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f4f63), + ACE_NTOHL (0x74657453), + ACE_NTOHL (0x65713a31), + ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/OctetSeq:1.0 + 9, + ACE_NTOHL (0x4f637465), + ACE_NTOHL (0x74536571), + ACE_NTOHL (0x0), // name = OctetSeq + CORBA::tk_sequence, // typecode kind + 12, // encapsulation length + TAO_ENCAP_BYTE_ORDER, // byte order + CORBA::tk_octet, + + 0U, - 0U, 0U, @@ -1319,7 +1291,7 @@ TAO_NAMESPACE_DEFINE ( TAO_NAMESPACE_END // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_ServiceId[] = { @@ -1333,11 +1305,11 @@ static const CORBA::Long _oc_IOP_ServiceId[] = ACE_NTOHL (0x69636549), ACE_NTOHL (0x643a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ServiceId:1.0 - 10, + 10, ACE_NTOHL (0x53657276), ACE_NTOHL (0x69636549), ACE_NTOHL (0x64000000), // name = ServiceId - CORBA::tk_ulong, + CORBA::tk_ulong, }; @@ -1359,7 +1331,7 @@ TAO_NAMESPACE_DEFINE ( TAO_NAMESPACE_END // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_ServiceContext[] = { @@ -1374,17 +1346,17 @@ static const CORBA::Long _oc_IOP_ServiceContext[] = ACE_NTOHL (0x6f6e7465), ACE_NTOHL (0x78743a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/ServiceContext:1.0 - 15, + 15, ACE_NTOHL (0x53657276), ACE_NTOHL (0x69636543), ACE_NTOHL (0x6f6e7465), ACE_NTOHL (0x78740000), // name = ServiceContext 2, // member count - 11, + 11, ACE_NTOHL (0x636f6e74), ACE_NTOHL (0x6578745f), ACE_NTOHL (0x69640000), // name = context_id - CORBA::tk_alias, // typecode kind for typedefs + CORBA::tk_alias, // typecode kind for typedefs 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 30, @@ -1396,11 +1368,11 @@ static const CORBA::Long _oc_IOP_ServiceContext[] = ACE_NTOHL (0x69636549), ACE_NTOHL (0x643a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ServiceId:1.0 - 10, + 10, ACE_NTOHL (0x53657276), ACE_NTOHL (0x69636549), ACE_NTOHL (0x64000000), // name = ServiceId - CORBA::tk_ulong, + CORBA::tk_ulong, 13, @@ -1408,7 +1380,7 @@ static const CORBA::Long _oc_IOP_ServiceContext[] = ACE_NTOHL (0x6578745f), ACE_NTOHL (0x64617461), ACE_NTOHL (0x0), // name = context_data - CORBA::tk_sequence, // typecode kind + CORBA::tk_sequence, // typecode kind 12, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order CORBA::tk_octet, @@ -1435,7 +1407,7 @@ TAO_NAMESPACE_DEFINE ( TAO_NAMESPACE_END // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67 +// be/be_visitor_structure/structure_cs.cpp:66 void IOP::ServiceContext::_tao_any_destructor (void *_tao_void_pointer) { @@ -1447,7 +1419,7 @@ void IOP::ServiceContext::_tao_any_destructor (void *_tao_void_pointer) #define _IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CS_ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250 +// be/be_visitor_sequence/sequence_cs.cpp:249 // ************************************************************* // IOP::ServiceContext::_tao_seq_Octet @@ -1509,7 +1481,7 @@ void IOP::ServiceContext::_tao_seq_Octet::_tao_any_destructor (void *_tao_void_p #endif /* end #if !defined */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101 +// be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp:100 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) @@ -1568,7 +1540,7 @@ IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::~_TAO_Unbounded_Sequence_IO #define _IOP_SERVICECONTEXTLIST_CS_ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250 +// be/be_visitor_sequence/sequence_cs.cpp:249 // ************************************************************* // IOP::ServiceContextList @@ -1630,7 +1602,7 @@ void IOP::ServiceContextList::_tao_any_destructor (void *_tao_void_pointer) #endif /* end #if !defined */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_ServiceContextList[] = { @@ -1646,13 +1618,13 @@ static const CORBA::Long _oc_IOP_ServiceContextList[] = ACE_NTOHL (0x78744c69), ACE_NTOHL (0x73743a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/ServiceContextList:1.0 - 19, + 19, ACE_NTOHL (0x53657276), ACE_NTOHL (0x69636543), ACE_NTOHL (0x6f6e7465), ACE_NTOHL (0x78744c69), ACE_NTOHL (0x73740000), // name = ServiceContextList - CORBA::tk_sequence, // typecode kind + CORBA::tk_sequence, // typecode kind 208, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order CORBA::tk_struct, // typecode kind @@ -1668,17 +1640,17 @@ static const CORBA::Long _oc_IOP_ServiceContextList[] = ACE_NTOHL (0x6f6e7465), ACE_NTOHL (0x78743a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/ServiceContext:1.0 - 15, + 15, ACE_NTOHL (0x53657276), ACE_NTOHL (0x69636543), ACE_NTOHL (0x6f6e7465), ACE_NTOHL (0x78740000), // name = ServiceContext 2, // member count - 11, + 11, ACE_NTOHL (0x636f6e74), ACE_NTOHL (0x6578745f), ACE_NTOHL (0x69640000), // name = context_id - CORBA::tk_alias, // typecode kind for typedefs + CORBA::tk_alias, // typecode kind for typedefs 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 30, @@ -1690,11 +1662,11 @@ static const CORBA::Long _oc_IOP_ServiceContextList[] = ACE_NTOHL (0x69636549), ACE_NTOHL (0x643a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ServiceId:1.0 - 10, + 10, ACE_NTOHL (0x53657276), ACE_NTOHL (0x69636549), ACE_NTOHL (0x64000000), // name = ServiceId - CORBA::tk_ulong, + CORBA::tk_ulong, 13, @@ -1702,7 +1674,7 @@ static const CORBA::Long _oc_IOP_ServiceContextList[] = ACE_NTOHL (0x6578745f), ACE_NTOHL (0x64617461), ACE_NTOHL (0x0), // name = context_data - CORBA::tk_sequence, // typecode kind + CORBA::tk_sequence, // typecode kind 12, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order CORBA::tk_octet, @@ -1732,7 +1704,7 @@ TAO_NAMESPACE_DEFINE ( TAO_NAMESPACE_END // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54 +// be/be_visitor_structure/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -1740,16 +1712,12 @@ void operator<<= ( const IOP::TaggedProfile &_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << _tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_TaggedProfile, - TAO_ENCAP_BYTE_ORDER, - stream.begin () - ); - } + TAO::Any_Dual_Impl_T::insert_copy ( + _tao_any, + IOP::TaggedProfile::_tao_any_destructor, + IOP::_tc_TaggedProfile, + _tao_elem + ); } // Non-copying insertion. @@ -1758,19 +1726,12 @@ void operator<<= ( IOP::TaggedProfile *_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << *_tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_TaggedProfile, - TAO_ENCAP_BYTE_ORDER, - stream.begin (), - 1, - _tao_elem, - IOP::TaggedProfile::_tao_any_destructor - ); - } + TAO::Any_Dual_Impl_T::insert ( + _tao_any, + IOP::TaggedProfile::_tao_any_destructor, + IOP::_tc_TaggedProfile, + _tao_elem + ); } // Extraction to non-const pointer (deprecated). @@ -1791,75 +1752,24 @@ CORBA::Boolean operator>>= ( const IOP::TaggedProfile *&_tao_elem ) { - _tao_elem = 0; - - ACE_TRY_NEW_ENV - { - CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean _tao_result = - type->equivalent ( - IOP::_tc_TaggedProfile - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - if (_tao_result == 0) - { - return 0; // not equivalent - } - - if (_tao_any.any_owns_data ()) - { - _tao_elem = ACE_static_cast ( - const IOP::TaggedProfile*, - _tao_any.value () - ); - - return 1; - } - else - { - IOP::TaggedProfile *tmp; - ACE_NEW_RETURN ( - tmp, - IOP::TaggedProfile, - 0 - ); - - TAO_InputCDR stream ( - _tao_any._tao_get_cdr (), - _tao_any._tao_byte_order () - ); - - if (stream >> *tmp) - { - ((CORBA::Any *)&_tao_any)->_tao_replace ( - IOP::_tc_TaggedProfile, - 1, - ACE_static_cast (void *, tmp), - IOP::TaggedProfile::_tao_any_destructor - ); - - _tao_elem = tmp; - return 1; - } - else - { - delete tmp; - } - } - } - ACE_CATCHANY - { - } - ACE_ENDTRY; - - return 0; + return + TAO::Any_Dual_Impl_T::extract ( + _tao_any, + IOP::TaggedProfile::_tao_any_destructor, + IOP::_tc_TaggedProfile, + _tao_elem + ); } +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ + defined (ACE_HAS_GNU_REPO) + template class TAO::Any_Dual_Impl_T; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +# pragma instantiate TAO::Any_Dual_Impl_T +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54 +// be/be_visitor_structure/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -1867,16 +1777,12 @@ void operator<<= ( const IOP::IOR &_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << _tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_IOR, - TAO_ENCAP_BYTE_ORDER, - stream.begin () - ); - } + TAO::Any_Dual_Impl_T::insert_copy ( + _tao_any, + IOP::IOR::_tao_any_destructor, + IOP::_tc_IOR, + _tao_elem + ); } // Non-copying insertion. @@ -1885,19 +1791,12 @@ void operator<<= ( IOP::IOR *_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << *_tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_IOR, - TAO_ENCAP_BYTE_ORDER, - stream.begin (), - 1, - _tao_elem, - IOP::IOR::_tao_any_destructor - ); - } + TAO::Any_Dual_Impl_T::insert ( + _tao_any, + IOP::IOR::_tao_any_destructor, + IOP::_tc_IOR, + _tao_elem + ); } // Extraction to non-const pointer (deprecated). @@ -1918,75 +1817,24 @@ CORBA::Boolean operator>>= ( const IOP::IOR *&_tao_elem ) { - _tao_elem = 0; - - ACE_TRY_NEW_ENV - { - CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean _tao_result = - type->equivalent ( - IOP::_tc_IOR - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - if (_tao_result == 0) - { - return 0; // not equivalent - } - - if (_tao_any.any_owns_data ()) - { - _tao_elem = ACE_static_cast ( - const IOP::IOR*, - _tao_any.value () - ); - - return 1; - } - else - { - IOP::IOR *tmp; - ACE_NEW_RETURN ( - tmp, - IOP::IOR, - 0 - ); - - TAO_InputCDR stream ( - _tao_any._tao_get_cdr (), - _tao_any._tao_byte_order () - ); - - if (stream >> *tmp) - { - ((CORBA::Any *)&_tao_any)->_tao_replace ( - IOP::_tc_IOR, - 1, - ACE_static_cast (void *, tmp), - IOP::IOR::_tao_any_destructor - ); - - _tao_elem = tmp; - return 1; - } - else - { - delete tmp; - } - } - } - ACE_CATCHANY - { - } - ACE_ENDTRY; - - return 0; + return + TAO::Any_Dual_Impl_T::extract ( + _tao_any, + IOP::IOR::_tao_any_destructor, + IOP::_tc_IOR, + _tao_elem + ); } +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ + defined (ACE_HAS_GNU_REPO) + template class TAO::Any_Dual_Impl_T; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +# pragma instantiate TAO::Any_Dual_Impl_T +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54 +// be/be_visitor_structure/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -1994,16 +1842,12 @@ void operator<<= ( const IOP::TaggedComponent &_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << _tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_TaggedComponent, - TAO_ENCAP_BYTE_ORDER, - stream.begin () - ); - } + TAO::Any_Dual_Impl_T::insert_copy ( + _tao_any, + IOP::TaggedComponent::_tao_any_destructor, + IOP::_tc_TaggedComponent, + _tao_elem + ); } // Non-copying insertion. @@ -2012,19 +1856,12 @@ void operator<<= ( IOP::TaggedComponent *_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << *_tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_TaggedComponent, - TAO_ENCAP_BYTE_ORDER, - stream.begin (), - 1, - _tao_elem, - IOP::TaggedComponent::_tao_any_destructor - ); - } + TAO::Any_Dual_Impl_T::insert ( + _tao_any, + IOP::TaggedComponent::_tao_any_destructor, + IOP::_tc_TaggedComponent, + _tao_elem + ); } // Extraction to non-const pointer (deprecated). @@ -2045,75 +1882,24 @@ CORBA::Boolean operator>>= ( const IOP::TaggedComponent *&_tao_elem ) { - _tao_elem = 0; - - ACE_TRY_NEW_ENV - { - CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean _tao_result = - type->equivalent ( - IOP::_tc_TaggedComponent - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - if (_tao_result == 0) - { - return 0; // not equivalent - } - - if (_tao_any.any_owns_data ()) - { - _tao_elem = ACE_static_cast ( - const IOP::TaggedComponent*, - _tao_any.value () - ); - - return 1; - } - else - { - IOP::TaggedComponent *tmp; - ACE_NEW_RETURN ( - tmp, - IOP::TaggedComponent, - 0 - ); - - TAO_InputCDR stream ( - _tao_any._tao_get_cdr (), - _tao_any._tao_byte_order () - ); - - if (stream >> *tmp) - { - ((CORBA::Any *)&_tao_any)->_tao_replace ( - IOP::_tc_TaggedComponent, - 1, - ACE_static_cast (void *, tmp), - IOP::TaggedComponent::_tao_any_destructor - ); - - _tao_elem = tmp; - return 1; - } - else - { - delete tmp; - } - } - } - ACE_CATCHANY - { - } - ACE_ENDTRY; - - return 0; + return + TAO::Any_Dual_Impl_T::extract ( + _tao_any, + IOP::TaggedComponent::_tao_any_destructor, + IOP::_tc_TaggedComponent, + _tao_elem + ); } +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ + defined (ACE_HAS_GNU_REPO) + template class TAO::Any_Dual_Impl_T; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +# pragma instantiate TAO::Any_Dual_Impl_T +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54 +// be/be_visitor_sequence/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -2121,16 +1907,12 @@ void operator<<= ( const IOP::MultipleComponentProfile &_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << _tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_MultipleComponentProfile, - TAO_ENCAP_BYTE_ORDER, - stream.begin () - ); - } + TAO::Any_Dual_Impl_T::insert_copy ( + _tao_any, + IOP::MultipleComponentProfile::_tao_any_destructor, + IOP::_tc_MultipleComponentProfile, + _tao_elem + ); } // Non-copying insertion. @@ -2139,19 +1921,12 @@ void operator<<= ( IOP::MultipleComponentProfile *_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << *_tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_MultipleComponentProfile, - TAO_ENCAP_BYTE_ORDER, - stream.begin (), - 1, - _tao_elem, - IOP::MultipleComponentProfile::_tao_any_destructor - ); - } + TAO::Any_Dual_Impl_T::insert ( + _tao_any, + IOP::MultipleComponentProfile::_tao_any_destructor, + IOP::_tc_MultipleComponentProfile, + _tao_elem + ); } // Extraction to non-const pointer (deprecated). @@ -2160,8 +1935,8 @@ CORBA::Boolean operator>>= ( IOP::MultipleComponentProfile *&_tao_elem ) { - return _tao_any >>= ACE_const_cast( - const IOP::MultipleComponentProfile*&, + return _tao_any >>= ACE_const_cast ( + const IOP::MultipleComponentProfile *&, _tao_elem ); } @@ -2172,75 +1947,24 @@ CORBA::Boolean operator>>= ( const IOP::MultipleComponentProfile *&_tao_elem ) { - _tao_elem = 0; - - ACE_TRY_NEW_ENV - { - CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean _tao_result = - type->equivalent ( - IOP::_tc_MultipleComponentProfile - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - if (!_tao_result) - { - return 0; // not equivalent - } - - if (_tao_any.any_owns_data ()) - { - _tao_elem = ACE_static_cast( - const IOP::MultipleComponentProfile*, - _tao_any.value () - ); - - return 1; - } - else - { - IOP::MultipleComponentProfile *tmp = 0; - ACE_NEW_RETURN ( - tmp, - IOP::MultipleComponentProfile, - 0 - ); - - TAO_InputCDR stream ( - _tao_any._tao_get_cdr (), - _tao_any._tao_byte_order () - ); - - if (stream >> *tmp) - { - ((CORBA::Any *)&_tao_any)->_tao_replace ( - IOP::_tc_MultipleComponentProfile, - 1, - ACE_static_cast (void *, tmp), - IOP::MultipleComponentProfile::_tao_any_destructor - ); - - _tao_elem = tmp; - return 1; - } - else - { - delete tmp; - } - } - } - ACE_CATCHANY - { - } - ACE_ENDTRY; - - return 0; + return + TAO::Any_Dual_Impl_T::extract ( + _tao_any, + IOP::MultipleComponentProfile::_tao_any_destructor, + IOP::_tc_MultipleComponentProfile, + _tao_elem + ); } +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ + defined (ACE_HAS_GNU_REPO) + template class TAO::Any_Dual_Impl_T; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +# pragma instantiate TAO::Any_Dual_Impl_T +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54 +// be/be_visitor_sequence/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -2248,16 +1972,12 @@ void operator<<= ( const IOP::TaggedComponentList &_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << _tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_TaggedComponentList, - TAO_ENCAP_BYTE_ORDER, - stream.begin () - ); - } + TAO::Any_Dual_Impl_T::insert_copy ( + _tao_any, + IOP::TaggedComponentList::_tao_any_destructor, + IOP::_tc_TaggedComponentList, + _tao_elem + ); } // Non-copying insertion. @@ -2266,19 +1986,12 @@ void operator<<= ( IOP::TaggedComponentList *_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << *_tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_TaggedComponentList, - TAO_ENCAP_BYTE_ORDER, - stream.begin (), - 1, - _tao_elem, - IOP::TaggedComponentList::_tao_any_destructor - ); - } + TAO::Any_Dual_Impl_T::insert ( + _tao_any, + IOP::TaggedComponentList::_tao_any_destructor, + IOP::_tc_TaggedComponentList, + _tao_elem + ); } // Extraction to non-const pointer (deprecated). @@ -2287,8 +2000,8 @@ CORBA::Boolean operator>>= ( IOP::TaggedComponentList *&_tao_elem ) { - return _tao_any >>= ACE_const_cast( - const IOP::TaggedComponentList*&, + return _tao_any >>= ACE_const_cast ( + const IOP::TaggedComponentList *&, _tao_elem ); } @@ -2299,75 +2012,24 @@ CORBA::Boolean operator>>= ( const IOP::TaggedComponentList *&_tao_elem ) { - _tao_elem = 0; - - ACE_TRY_NEW_ENV - { - CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean _tao_result = - type->equivalent ( - IOP::_tc_TaggedComponentList - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - if (!_tao_result) - { - return 0; // not equivalent - } - - if (_tao_any.any_owns_data ()) - { - _tao_elem = ACE_static_cast( - const IOP::TaggedComponentList*, - _tao_any.value () - ); - - return 1; - } - else - { - IOP::TaggedComponentList *tmp = 0; - ACE_NEW_RETURN ( - tmp, - IOP::TaggedComponentList, - 0 - ); - - TAO_InputCDR stream ( - _tao_any._tao_get_cdr (), - _tao_any._tao_byte_order () - ); - - if (stream >> *tmp) - { - ((CORBA::Any *)&_tao_any)->_tao_replace ( - IOP::_tc_TaggedComponentList, - 1, - ACE_static_cast (void *, tmp), - IOP::TaggedComponentList::_tao_any_destructor - ); - - _tao_elem = tmp; - return 1; - } - else - { - delete tmp; - } - } - } - ACE_CATCHANY - { - } - ACE_ENDTRY; - - return 0; + return + TAO::Any_Dual_Impl_T::extract ( + _tao_any, + IOP::TaggedComponentList::_tao_any_destructor, + IOP::_tc_TaggedComponentList, + _tao_elem + ); } +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ + defined (ACE_HAS_GNU_REPO) + template class TAO::Any_Dual_Impl_T; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +# pragma instantiate TAO::Any_Dual_Impl_T +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54 +// be/be_visitor_sequence/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -2375,16 +2037,12 @@ void operator<<= ( const IOP::TaggedComponentSeq &_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << _tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_TaggedComponentSeq, - TAO_ENCAP_BYTE_ORDER, - stream.begin () - ); - } + TAO::Any_Dual_Impl_T::insert_copy ( + _tao_any, + IOP::TaggedComponentSeq::_tao_any_destructor, + IOP::_tc_TaggedComponentSeq, + _tao_elem + ); } // Non-copying insertion. @@ -2393,19 +2051,12 @@ void operator<<= ( IOP::TaggedComponentSeq *_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << *_tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_TaggedComponentSeq, - TAO_ENCAP_BYTE_ORDER, - stream.begin (), - 1, - _tao_elem, - IOP::TaggedComponentSeq::_tao_any_destructor - ); - } + TAO::Any_Dual_Impl_T::insert ( + _tao_any, + IOP::TaggedComponentSeq::_tao_any_destructor, + IOP::_tc_TaggedComponentSeq, + _tao_elem + ); } // Extraction to non-const pointer (deprecated). @@ -2414,8 +2065,8 @@ CORBA::Boolean operator>>= ( IOP::TaggedComponentSeq *&_tao_elem ) { - return _tao_any >>= ACE_const_cast( - const IOP::TaggedComponentSeq*&, + return _tao_any >>= ACE_const_cast ( + const IOP::TaggedComponentSeq *&, _tao_elem ); } @@ -2426,75 +2077,24 @@ CORBA::Boolean operator>>= ( const IOP::TaggedComponentSeq *&_tao_elem ) { - _tao_elem = 0; - - ACE_TRY_NEW_ENV - { - CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean _tao_result = - type->equivalent ( - IOP::_tc_TaggedComponentSeq - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - if (!_tao_result) - { - return 0; // not equivalent - } - - if (_tao_any.any_owns_data ()) - { - _tao_elem = ACE_static_cast( - const IOP::TaggedComponentSeq*, - _tao_any.value () - ); - - return 1; - } - else - { - IOP::TaggedComponentSeq *tmp = 0; - ACE_NEW_RETURN ( - tmp, - IOP::TaggedComponentSeq, - 0 - ); - - TAO_InputCDR stream ( - _tao_any._tao_get_cdr (), - _tao_any._tao_byte_order () - ); - - if (stream >> *tmp) - { - ((CORBA::Any *)&_tao_any)->_tao_replace ( - IOP::_tc_TaggedComponentSeq, - 1, - ACE_static_cast (void *, tmp), - IOP::TaggedComponentSeq::_tao_any_destructor - ); - - _tao_elem = tmp; - return 1; - } - else - { - delete tmp; - } - } - } - ACE_CATCHANY - { - } - ACE_ENDTRY; - - return 0; + return + TAO::Any_Dual_Impl_T::extract ( + _tao_any, + IOP::TaggedComponentSeq::_tao_any_destructor, + IOP::_tc_TaggedComponentSeq, + _tao_elem + ); } +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ + defined (ACE_HAS_GNU_REPO) + template class TAO::Any_Dual_Impl_T; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +# pragma instantiate TAO::Any_Dual_Impl_T +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54 +// be/be_visitor_structure/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -2502,16 +2102,12 @@ void operator<<= ( const IOP::ServiceContext &_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << _tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_ServiceContext, - TAO_ENCAP_BYTE_ORDER, - stream.begin () - ); - } + TAO::Any_Dual_Impl_T::insert_copy ( + _tao_any, + IOP::ServiceContext::_tao_any_destructor, + IOP::_tc_ServiceContext, + _tao_elem + ); } // Non-copying insertion. @@ -2520,19 +2116,12 @@ void operator<<= ( IOP::ServiceContext *_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << *_tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_ServiceContext, - TAO_ENCAP_BYTE_ORDER, - stream.begin (), - 1, - _tao_elem, - IOP::ServiceContext::_tao_any_destructor - ); - } + TAO::Any_Dual_Impl_T::insert ( + _tao_any, + IOP::ServiceContext::_tao_any_destructor, + IOP::_tc_ServiceContext, + _tao_elem + ); } // Extraction to non-const pointer (deprecated). @@ -2553,75 +2142,24 @@ CORBA::Boolean operator>>= ( const IOP::ServiceContext *&_tao_elem ) { - _tao_elem = 0; - - ACE_TRY_NEW_ENV - { - CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean _tao_result = - type->equivalent ( - IOP::_tc_ServiceContext - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - if (_tao_result == 0) - { - return 0; // not equivalent - } - - if (_tao_any.any_owns_data ()) - { - _tao_elem = ACE_static_cast ( - const IOP::ServiceContext*, - _tao_any.value () - ); - - return 1; - } - else - { - IOP::ServiceContext *tmp; - ACE_NEW_RETURN ( - tmp, - IOP::ServiceContext, - 0 - ); - - TAO_InputCDR stream ( - _tao_any._tao_get_cdr (), - _tao_any._tao_byte_order () - ); - - if (stream >> *tmp) - { - ((CORBA::Any *)&_tao_any)->_tao_replace ( - IOP::_tc_ServiceContext, - 1, - ACE_static_cast (void *, tmp), - IOP::ServiceContext::_tao_any_destructor - ); - - _tao_elem = tmp; - return 1; - } - else - { - delete tmp; - } - } - } - ACE_CATCHANY - { - } - ACE_ENDTRY; - - return 0; + return + TAO::Any_Dual_Impl_T::extract ( + _tao_any, + IOP::ServiceContext::_tao_any_destructor, + IOP::_tc_ServiceContext, + _tao_elem + ); } +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ + defined (ACE_HAS_GNU_REPO) + template class TAO::Any_Dual_Impl_T; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +# pragma instantiate TAO::Any_Dual_Impl_T +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54 +// be/be_visitor_sequence/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -2629,16 +2167,12 @@ void operator<<= ( const IOP::ServiceContextList &_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << _tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_ServiceContextList, - TAO_ENCAP_BYTE_ORDER, - stream.begin () - ); - } + TAO::Any_Dual_Impl_T::insert_copy ( + _tao_any, + IOP::ServiceContextList::_tao_any_destructor, + IOP::_tc_ServiceContextList, + _tao_elem + ); } // Non-copying insertion. @@ -2647,19 +2181,12 @@ void operator<<= ( IOP::ServiceContextList *_tao_elem ) { - TAO_OutputCDR stream; - - if (stream << *_tao_elem) - { - _tao_any._tao_replace ( - IOP::_tc_ServiceContextList, - TAO_ENCAP_BYTE_ORDER, - stream.begin (), - 1, - _tao_elem, - IOP::ServiceContextList::_tao_any_destructor - ); - } + TAO::Any_Dual_Impl_T::insert ( + _tao_any, + IOP::ServiceContextList::_tao_any_destructor, + IOP::_tc_ServiceContextList, + _tao_elem + ); } // Extraction to non-const pointer (deprecated). @@ -2668,8 +2195,8 @@ CORBA::Boolean operator>>= ( IOP::ServiceContextList *&_tao_elem ) { - return _tao_any >>= ACE_const_cast( - const IOP::ServiceContextList*&, + return _tao_any >>= ACE_const_cast ( + const IOP::ServiceContextList *&, _tao_elem ); } @@ -2680,168 +2207,24 @@ CORBA::Boolean operator>>= ( const IOP::ServiceContextList *&_tao_elem ) { - _tao_elem = 0; - - ACE_TRY_NEW_ENV - { - CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean _tao_result = - type->equivalent ( - IOP::_tc_ServiceContextList - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - if (!_tao_result) - { - return 0; // not equivalent - } - - if (_tao_any.any_owns_data ()) - { - _tao_elem = ACE_static_cast( - const IOP::ServiceContextList*, - _tao_any.value () - ); - - return 1; - } - else - { - IOP::ServiceContextList *tmp = 0; - ACE_NEW_RETURN ( - tmp, - IOP::ServiceContextList, - 0 - ); - - TAO_InputCDR stream ( - _tao_any._tao_get_cdr (), - _tao_any._tao_byte_order () - ); - - if (stream >> *tmp) - { - ((CORBA::Any *)&_tao_any)->_tao_replace ( - IOP::_tc_ServiceContextList, - 1, - ACE_static_cast (void *, tmp), - IOP::ServiceContextList::_tao_any_destructor - ); - - _tao_elem = tmp; - return 1; - } - else - { - delete tmp; - } - } - } - ACE_CATCHANY - { - } - ACE_ENDTRY; - - return 0; -} - -// TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:103 - -#if !defined _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_CPP_ -#define _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_CPP_ - -CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const IOP::TaggedProfile::_tao_seq_Octet &_tao_sequence - ) -{ - CORBA::ULong _tao_seq_len = _tao_sequence.length (); - - if (strm << _tao_seq_len) - { - // Encode all elements. - -#if (TAO_NO_COPY_OCTET_SEQUENCES == 1) - { - TAO_Unbounded_Sequence *oseq = - ACE_static_cast (TAO_Unbounded_Sequence*, (IOP::TaggedProfile::_tao_seq_Octet *)&_tao_sequence); - if (oseq->mb ()) - return strm.write_octet_array_mb (oseq->mb ()); - else - return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ()); - } - -#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ - return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ()); - -#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ - } - - return 0; -} - -CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - IOP::TaggedProfile::_tao_seq_Octet &_tao_sequence - ) -{ - CORBA::ULong _tao_seq_len; - - if (strm >> _tao_seq_len) - { - // Add a check to the length of the sequence - // to make sure it does not exceed the length - // of the stream. (See bug 58.) - if (_tao_seq_len > strm.length ()) - { - return 0; - } - - // Set the length of the sequence. - _tao_sequence.length (_tao_seq_len); - - // If length is 0 we return true. - if (0 >= _tao_seq_len) - { - return 1; - } - - // Retrieve all the elements. - -#if (TAO_NO_COPY_OCTET_SEQUENCES == 1) - if (ACE_BIT_DISABLED (strm.start ()->flags (), - ACE_Message_Block::DONT_DELETE)) - { - TAO_ORB_Core* orb_core = strm.orb_core (); - if (orb_core != 0 && - strm.orb_core ()->resource_factory ()-> - input_cdr_allocator_type_locked () == 1) - { - TAO_Unbounded_Sequence *oseq = - ACE_static_cast(TAO_Unbounded_Sequence*, &_tao_sequence); - oseq->replace (_tao_seq_len, strm.start ()); - oseq->mb ()->wr_ptr (oseq->mb()->rd_ptr () + _tao_seq_len); - strm.skip_bytes (_tao_seq_len); - return 1; - } - } - return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_seq_len); -#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ - return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ()); - -#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ - } - - return 0; + return + TAO::Any_Dual_Impl_T::extract ( + _tao_any, + IOP::ServiceContextList::_tao_any_destructor, + IOP::_tc_ServiceContextList, + _tao_elem + ); } -#endif /* _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_CPP_ */ +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ + defined (ACE_HAS_GNU_REPO) + template class TAO::Any_Dual_Impl_T; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +# pragma instantiate TAO::Any_Dual_Impl_T +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:103 +// be/be_visitor_sequence/cdr_op_cs.cpp:102 #if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_CPP_ #define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_CPP_ @@ -2912,100 +2295,7 @@ CORBA::Boolean operator>> ( #endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_CPP_ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:103 - -#if !defined _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_CPP_ -#define _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_CPP_ - -CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const IOP::TaggedComponent::_tao_seq_Octet &_tao_sequence - ) -{ - CORBA::ULong _tao_seq_len = _tao_sequence.length (); - - if (strm << _tao_seq_len) - { - // Encode all elements. - -#if (TAO_NO_COPY_OCTET_SEQUENCES == 1) - { - TAO_Unbounded_Sequence *oseq = - ACE_static_cast (TAO_Unbounded_Sequence*, (IOP::TaggedComponent::_tao_seq_Octet *)&_tao_sequence); - if (oseq->mb ()) - return strm.write_octet_array_mb (oseq->mb ()); - else - return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ()); - } - -#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ - return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ()); - -#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ - } - - return 0; -} - -CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - IOP::TaggedComponent::_tao_seq_Octet &_tao_sequence - ) -{ - CORBA::ULong _tao_seq_len; - - if (strm >> _tao_seq_len) - { - // Add a check to the length of the sequence - // to make sure it does not exceed the length - // of the stream. (See bug 58.) - if (_tao_seq_len > strm.length ()) - { - return 0; - } - - // Set the length of the sequence. - _tao_sequence.length (_tao_seq_len); - - // If length is 0 we return true. - if (0 >= _tao_seq_len) - { - return 1; - } - - // Retrieve all the elements. - -#if (TAO_NO_COPY_OCTET_SEQUENCES == 1) - if (ACE_BIT_DISABLED (strm.start ()->flags (), - ACE_Message_Block::DONT_DELETE)) - { - TAO_ORB_Core* orb_core = strm.orb_core (); - if (orb_core != 0 && - strm.orb_core ()->resource_factory ()-> - input_cdr_allocator_type_locked () == 1) - { - TAO_Unbounded_Sequence *oseq = - ACE_static_cast(TAO_Unbounded_Sequence*, &_tao_sequence); - oseq->replace (_tao_seq_len, strm.start ()); - oseq->mb ()->wr_ptr (oseq->mb()->rd_ptr () + _tao_seq_len); - strm.skip_bytes (_tao_seq_len); - return 1; - } - } - return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_seq_len); -#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ - return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ()); - -#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ - } - - return 0; -} - -#endif /* _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_CPP_ */ - -// TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:103 +// be/be_visitor_sequence/cdr_op_cs.cpp:102 CORBA::Boolean operator<< ( TAO_OutputCDR &strm, @@ -3071,7 +2361,7 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:103 +// be/be_visitor_sequence/cdr_op_cs.cpp:102 CORBA::Boolean operator<< ( TAO_OutputCDR &strm, @@ -3137,7 +2427,7 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:103 +// be/be_visitor_sequence/cdr_op_cs.cpp:102 CORBA::Boolean operator<< ( TAO_OutputCDR &strm, @@ -3203,7 +2493,7 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:103 +// be/be_visitor_sequence/cdr_op_cs.cpp:102 #if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_CPP_ #define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_CPP_ @@ -3296,7 +2586,7 @@ CORBA::Boolean operator>> ( #endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_CPP_ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:103 +// be/be_visitor_sequence/cdr_op_cs.cpp:102 CORBA::Boolean operator<< ( TAO_OutputCDR &strm, diff --git a/TAO/tao/IOP_IORC.h b/TAO/tao/IOP_IORC.h index 26b53b42b11..54042b923ee 100644 --- a/TAO/tao/IOP_IORC.h +++ b/TAO/tao/IOP_IORC.h @@ -20,21 +20,19 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:151 +// be/be_codegen.cpp:151 #ifndef _TAO_IDL_ORIG_IOP_IORC_H_ #define _TAO_IDL_ORIG_IOP_IORC_H_ - #include "ace/pre.h" + #include "tao/corbafwd.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ - - -#include "tao/TAO_Export.h" -#include "tao/Sequence_T.h" +#include "TAO_Export.h" +#include "tao/OctetSeqC.h" #include "tao/CDR.h" #if defined (TAO_EXPORT_MACRO) @@ -61,105 +59,49 @@ #endif /* __BORLANDC__ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:48 +// be/be_visitor_module/module_ch.cpp:48 TAO_NAMESPACE IOP { - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334 - + // be/be_visitor_typedef/typedef_ch.cpp:333 + typedef CORBA::ULong ProfileId; typedef CORBA::ULong_out ProfileId_out; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ProfileId; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_INTERNET_IOP = 0U; - + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ProfileId TAG_INTERNET_IOP = 0U; + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_MULTIPLE_COMPONENTS = 1U; - + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ProfileId TAG_MULTIPLE_COMPONENTS = 1U; + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49 - + // be/be_visitor_structure/structure_ch.cpp:49 + class TaggedProfile_var; - + struct TAO_Export TaggedProfile { typedef TaggedProfile_var _var_type; - + static void _tao_any_destructor (void *); IOP::ProfileId tag; - - -#if !defined (_IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CH_) -#define _IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CH_ - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371 - - class _tao_seq_Octet; - - // ************************************************************* - // IOP::TaggedProfile::_tao_seq_Octet - // ************************************************************* - - class TAO_Export _tao_seq_Octet : public - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51 - -#if !defined (TAO_USE_SEQUENCE_TEMPLATES) - TAO_Unbounded_Sequence -#else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - { - public: - _tao_seq_Octet (void); - _tao_seq_Octet (CORBA::ULong max); - _tao_seq_Octet ( - CORBA::ULong max, - CORBA::ULong length, - CORBA::Octet *buffer, - CORBA::Boolean release = 0 - ); - _tao_seq_Octet (const _tao_seq_Octet &); - ~_tao_seq_Octet (void); - - static void _tao_any_destructor (void*); - - -#if (TAO_NO_COPY_OCTET_SEQUENCES == 1) - _tao_seq_Octet ( - CORBA::ULong length, - const ACE_Message_Block* mb - ) - : TAO_Unbounded_Sequence (length, mb) {} -#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */ - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_field/field_ch.cpp:447 - - typedef _tao_seq_Octet _profile_data_seq; - _tao_seq_Octet profile_data; + CORBA::OctetSeq profile_data; }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71 - + // be/be_structure.cpp:71 + class TAO_Export TaggedProfile_var { public: @@ -167,33 +109,33 @@ TAO_NAMESPACE IOP TaggedProfile_var (TaggedProfile *); TaggedProfile_var (const TaggedProfile_var &); ~TaggedProfile_var (void); - + TaggedProfile_var &operator= (TaggedProfile *); TaggedProfile_var &operator= (const TaggedProfile_var &); TaggedProfile *operator-> (void); const TaggedProfile *operator-> (void) const; - + operator const TaggedProfile &() const; operator TaggedProfile &(); operator TaggedProfile &() const; - + // Variable-size types only. operator TaggedProfile *&(); - - // in, inout, out, _retn + + // in, inout, out, _retn const TaggedProfile &in (void) const; TaggedProfile &inout (void); TaggedProfile *&out (void); TaggedProfile *_retn (void); TaggedProfile *ptr (void) const; - + private: TaggedProfile *ptr_; }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:445 - + // be/be_structure.cpp:445 + class TAO_Export TaggedProfile_out { public: @@ -205,45 +147,45 @@ TAO_NAMESPACE IOP operator TaggedProfile *&(); TaggedProfile *&ptr (void); TaggedProfile *operator-> (void); - + private: TaggedProfile *&ptr_; // Assignment from T_var not allowed. void operator= (const TaggedProfile_var &); }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedProfile; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49 - + // be/be_visitor_structure/structure_ch.cpp:49 + class IOR_var; - + struct TAO_Export IOR { typedef IOR_var _var_type; - + static void _tao_any_destructor (void *); TAO_String_Manager type_id; - - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65 + + + // TAO_IDL - Generated from + // be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) #if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_) #define __TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_ - + class TAO_Export _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile : public TAO_Unbounded_Base_Sequence { public: _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (void); - _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (CORBA::ULong maximum); + _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (CORBA::ULong maximum); _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile ( CORBA::ULong maximum, CORBA::ULong length, @@ -257,15 +199,15 @@ TAO_NAMESPACE IOP const _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &rhs ); virtual ~_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (void); - + // = Accessors. ACE_NESTED_CLASS (IOP, TaggedProfile) &operator[] (CORBA::ULong i); const ACE_NESTED_CLASS (IOP, TaggedProfile) &operator[] (CORBA::ULong i) const; - + // = Static operations. static ACE_NESTED_CLASS (IOP, TaggedProfile) *allocbuf (CORBA::ULong size); static void freebuf (ACE_NESTED_CLASS (IOP, TaggedProfile) *buffer); - + // Implement the TAO_Base_Sequence methods (see Sequence.h) virtual void _allocate_buffer (CORBA::ULong length); virtual void _deallocate_buffer (void); @@ -281,61 +223,61 @@ TAO_NAMESPACE IOP #endif /* end #if !defined */ -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ #if !defined (_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_) #define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371 - + // be/be_visitor_sequence/sequence_ch.cpp:371 + class _tao_seq_TaggedProfile; - + // ************************************************************* // IOP::IOR::_tao_seq_TaggedProfile // ************************************************************* - - class TAO_Export _tao_seq_TaggedProfile : public - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51 + + class TAO_Export _tao_seq_TaggedProfile : public + + // TAO_IDL - Generated from + // be/be_visitor_sequence/sequence_ch.cpp:51 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Sequence -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: _tao_seq_TaggedProfile (void); _tao_seq_TaggedProfile (CORBA::ULong max); _tao_seq_TaggedProfile ( - CORBA::ULong max, - CORBA::ULong length, - ACE_NESTED_CLASS (IOP, TaggedProfile) *buffer, + CORBA::ULong max, + CORBA::ULong length, + ACE_NESTED_CLASS (IOP, TaggedProfile) *buffer, CORBA::Boolean release = 0 ); _tao_seq_TaggedProfile (const _tao_seq_TaggedProfile &); ~_tao_seq_TaggedProfile (void); - + static void _tao_any_destructor (void*); - - + + }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_field/field_ch.cpp:447 - + // be/be_visitor_field/field_ch.cpp:447 + typedef _tao_seq_TaggedProfile _profiles_seq; _tao_seq_TaggedProfile profiles; }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71 - + // be/be_structure.cpp:71 + class TAO_Export IOR_var { public: @@ -343,33 +285,33 @@ TAO_NAMESPACE IOP IOR_var (IOR *); IOR_var (const IOR_var &); ~IOR_var (void); - + IOR_var &operator= (IOR *); IOR_var &operator= (const IOR_var &); IOR *operator-> (void); const IOR *operator-> (void) const; - + operator const IOR &() const; operator IOR &(); operator IOR &() const; - + // Variable-size types only. operator IOR *&(); - - // in, inout, out, _retn + + // in, inout, out, _retn const IOR &in (void) const; IOR &inout (void); IOR *&out (void); IOR *_retn (void); IOR *ptr (void) const; - + private: IOR *ptr_; }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:445 - + // be/be_structure.cpp:445 + class TAO_Export IOR_out { public: @@ -381,102 +323,46 @@ TAO_NAMESPACE IOP operator IOR *&(); IOR *&ptr (void); IOR *operator-> (void); - + private: IOR *&ptr_; // Assignment from T_var not allowed. void operator= (const IOR_var &); }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_IOR; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334 - + // be/be_visitor_typedef/typedef_ch.cpp:333 + typedef CORBA::ULong ComponentId; typedef CORBA::ULong_out ComponentId_out; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ComponentId; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49 - + // be/be_visitor_structure/structure_ch.cpp:49 + class TaggedComponent_var; - + struct TAO_Export TaggedComponent { typedef TaggedComponent_var _var_type; - + static void _tao_any_destructor (void *); IOP::ComponentId tag; - - -#if !defined (_IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CH_) -#define _IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CH_ - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371 - - class _tao_seq_Octet; - - // ************************************************************* - // IOP::TaggedComponent::_tao_seq_Octet - // ************************************************************* - - class TAO_Export _tao_seq_Octet : public - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51 - -#if !defined (TAO_USE_SEQUENCE_TEMPLATES) - TAO_Unbounded_Sequence -#else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - { - public: - _tao_seq_Octet (void); - _tao_seq_Octet (CORBA::ULong max); - _tao_seq_Octet ( - CORBA::ULong max, - CORBA::ULong length, - CORBA::Octet *buffer, - CORBA::Boolean release = 0 - ); - _tao_seq_Octet (const _tao_seq_Octet &); - ~_tao_seq_Octet (void); - - static void _tao_any_destructor (void*); - - -#if (TAO_NO_COPY_OCTET_SEQUENCES == 1) - _tao_seq_Octet ( - CORBA::ULong length, - const ACE_Message_Block* mb - ) - : TAO_Unbounded_Sequence (length, mb) {} -#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */ - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_field/field_ch.cpp:447 - - typedef _tao_seq_Octet _component_data_seq; - _tao_seq_Octet component_data; + CORBA::OctetSeq component_data; }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71 - + // be/be_structure.cpp:71 + class TAO_Export TaggedComponent_var { public: @@ -484,33 +370,33 @@ TAO_NAMESPACE IOP TaggedComponent_var (TaggedComponent *); TaggedComponent_var (const TaggedComponent_var &); ~TaggedComponent_var (void); - + TaggedComponent_var &operator= (TaggedComponent *); TaggedComponent_var &operator= (const TaggedComponent_var &); TaggedComponent *operator-> (void); const TaggedComponent *operator-> (void) const; - + operator const TaggedComponent &() const; operator TaggedComponent &(); operator TaggedComponent &() const; - + // Variable-size types only. operator TaggedComponent *&(); - - // in, inout, out, _retn + + // in, inout, out, _retn const TaggedComponent &in (void) const; TaggedComponent &inout (void); TaggedComponent *&out (void); TaggedComponent *_retn (void); TaggedComponent *ptr (void) const; - + private: TaggedComponent *ptr_; }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:445 - + // be/be_structure.cpp:445 + class TAO_Export TaggedComponent_out { public: @@ -522,32 +408,32 @@ TAO_NAMESPACE IOP operator TaggedComponent *&(); TaggedComponent *&ptr (void); TaggedComponent *operator-> (void); - + private: TaggedComponent *&ptr_; // Assignment from T_var not allowed. void operator= (const TaggedComponent_var &); }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponent; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65 + + // TAO_IDL - Generated from + // be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) #if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CH_) #define __TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CH_ - + class TAO_Export _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile : public TAO_Unbounded_Base_Sequence { public: _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void); - _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (CORBA::ULong maximum); + _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (CORBA::ULong maximum); _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile ( CORBA::ULong maximum, CORBA::ULong length, @@ -561,15 +447,15 @@ TAO_NAMESPACE IOP const _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &rhs ); virtual ~_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void); - + // = Accessors. TaggedComponent &operator[] (CORBA::ULong i); const TaggedComponent &operator[] (CORBA::ULong i) const; - + // = Static operations. static TaggedComponent *allocbuf (CORBA::ULong size); static void freebuf (TaggedComponent *buffer); - + // Implement the TAO_Base_Sequence methods (see Sequence.h) virtual void _allocate_buffer (CORBA::ULong length); virtual void _deallocate_buffer (void); @@ -585,47 +471,47 @@ TAO_NAMESPACE IOP #endif /* end #if !defined */ -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ #if !defined (_IOP_MULTIPLECOMPONENTPROFILE_CH_) #define _IOP_MULTIPLECOMPONENTPROFILE_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371 - + // be/be_visitor_sequence/sequence_ch.cpp:371 + class MultipleComponentProfile; class MultipleComponentProfile_var; - + // ************************************************************* // IOP::MultipleComponentProfile // ************************************************************* - - class TAO_Export MultipleComponentProfile : public - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51 + + class TAO_Export MultipleComponentProfile : public + + // TAO_IDL - Generated from + // be/be_visitor_sequence/sequence_ch.cpp:51 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Sequence -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: MultipleComponentProfile (void); MultipleComponentProfile (CORBA::ULong max); MultipleComponentProfile ( - CORBA::ULong max, - CORBA::ULong length, - TaggedComponent *buffer, + CORBA::ULong max, + CORBA::ULong length, + TaggedComponent *buffer, CORBA::Boolean release = 0 ); MultipleComponentProfile (const MultipleComponentProfile &); ~MultipleComponentProfile (void); - + static void _tao_any_destructor (void*); - + typedef MultipleComponentProfile_var _var_type; }; @@ -633,14 +519,14 @@ TAO_NAMESPACE IOP #if !defined (_IOP_MULTIPLECOMPONENTPROFILE___VAR_CH_) #define _IOP_MULTIPLECOMPONENTPROFILE___VAR_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:549 - + // be/be_visitor_sequence/sequence_ch.cpp:549 + // ************************************************************* // class IOP::MultipleComponentProfile_var // ************************************************************* - + class TAO_Export MultipleComponentProfile_var { public: @@ -648,29 +534,29 @@ TAO_NAMESPACE IOP MultipleComponentProfile_var (MultipleComponentProfile *); MultipleComponentProfile_var (const MultipleComponentProfile_var &); ~MultipleComponentProfile_var (void); - + MultipleComponentProfile_var &operator= (MultipleComponentProfile *); MultipleComponentProfile_var &operator= (const MultipleComponentProfile_var &); MultipleComponentProfile *operator-> (void); const MultipleComponentProfile *operator-> (void) const; - + operator const MultipleComponentProfile &() const; operator MultipleComponentProfile &(); operator MultipleComponentProfile &() const; - + // Variable-size base types only. operator MultipleComponentProfile *&(); - + TaggedComponent & operator[] (CORBA::ULong index); const TaggedComponent & operator[] (CORBA::ULong index) const; - - // in, inout, out, _retn + + // in, inout, out, _retn const MultipleComponentProfile &in (void) const; MultipleComponentProfile &inout (void); MultipleComponentProfile *&out (void); MultipleComponentProfile *_retn (void); MultipleComponentProfile *ptr (void) const; - + private: MultipleComponentProfile *ptr_; }; @@ -679,10 +565,10 @@ TAO_NAMESPACE IOP #if !defined (_IOP_MULTIPLECOMPONENTPROFILE___OUT_CH_) #define _IOP_MULTIPLECOMPONENTPROFILE___OUT_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:753 - + // be/be_visitor_sequence/sequence_ch.cpp:753 + class TAO_Export MultipleComponentProfile_out { public: @@ -695,7 +581,7 @@ TAO_NAMESPACE IOP MultipleComponentProfile *&ptr (void); MultipleComponentProfile *operator-> (void); TaggedComponent & operator[] (CORBA::ULong index); - + private: MultipleComponentProfile *&ptr_; // Assignment from T_var not allowed. @@ -703,26 +589,26 @@ TAO_NAMESPACE IOP }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_MultipleComponentProfile; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65 + + // TAO_IDL - Generated from + // be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) #if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CH_) #define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CH_ - + class TAO_Export _TAO_Unbounded_Sequence_IOP_TaggedComponentList : public TAO_Unbounded_Base_Sequence { public: _TAO_Unbounded_Sequence_IOP_TaggedComponentList (void); - _TAO_Unbounded_Sequence_IOP_TaggedComponentList (CORBA::ULong maximum); + _TAO_Unbounded_Sequence_IOP_TaggedComponentList (CORBA::ULong maximum); _TAO_Unbounded_Sequence_IOP_TaggedComponentList ( CORBA::ULong maximum, CORBA::ULong length, @@ -736,15 +622,15 @@ TAO_NAMESPACE IOP const _TAO_Unbounded_Sequence_IOP_TaggedComponentList &rhs ); virtual ~_TAO_Unbounded_Sequence_IOP_TaggedComponentList (void); - + // = Accessors. TaggedComponent &operator[] (CORBA::ULong i); const TaggedComponent &operator[] (CORBA::ULong i) const; - + // = Static operations. static TaggedComponent *allocbuf (CORBA::ULong size); static void freebuf (TaggedComponent *buffer); - + // Implement the TAO_Base_Sequence methods (see Sequence.h) virtual void _allocate_buffer (CORBA::ULong length); virtual void _deallocate_buffer (void); @@ -760,47 +646,47 @@ TAO_NAMESPACE IOP #endif /* end #if !defined */ -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ #if !defined (_IOP_TAGGEDCOMPONENTLIST_CH_) #define _IOP_TAGGEDCOMPONENTLIST_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371 - + // be/be_visitor_sequence/sequence_ch.cpp:371 + class TaggedComponentList; class TaggedComponentList_var; - + // ************************************************************* // IOP::TaggedComponentList // ************************************************************* - - class TAO_Export TaggedComponentList : public - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51 + + class TAO_Export TaggedComponentList : public + + // TAO_IDL - Generated from + // be/be_visitor_sequence/sequence_ch.cpp:51 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IOP_TaggedComponentList #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Sequence -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: TaggedComponentList (void); TaggedComponentList (CORBA::ULong max); TaggedComponentList ( - CORBA::ULong max, - CORBA::ULong length, - TaggedComponent *buffer, + CORBA::ULong max, + CORBA::ULong length, + TaggedComponent *buffer, CORBA::Boolean release = 0 ); TaggedComponentList (const TaggedComponentList &); ~TaggedComponentList (void); - + static void _tao_any_destructor (void*); - + typedef TaggedComponentList_var _var_type; }; @@ -808,14 +694,14 @@ TAO_NAMESPACE IOP #if !defined (_IOP_TAGGEDCOMPONENTLIST___VAR_CH_) #define _IOP_TAGGEDCOMPONENTLIST___VAR_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:549 - + // be/be_visitor_sequence/sequence_ch.cpp:549 + // ************************************************************* // class IOP::TaggedComponentList_var // ************************************************************* - + class TAO_Export TaggedComponentList_var { public: @@ -823,29 +709,29 @@ TAO_NAMESPACE IOP TaggedComponentList_var (TaggedComponentList *); TaggedComponentList_var (const TaggedComponentList_var &); ~TaggedComponentList_var (void); - + TaggedComponentList_var &operator= (TaggedComponentList *); TaggedComponentList_var &operator= (const TaggedComponentList_var &); TaggedComponentList *operator-> (void); const TaggedComponentList *operator-> (void) const; - + operator const TaggedComponentList &() const; operator TaggedComponentList &(); operator TaggedComponentList &() const; - + // Variable-size base types only. operator TaggedComponentList *&(); - + TaggedComponent & operator[] (CORBA::ULong index); const TaggedComponent & operator[] (CORBA::ULong index) const; - - // in, inout, out, _retn + + // in, inout, out, _retn const TaggedComponentList &in (void) const; TaggedComponentList &inout (void); TaggedComponentList *&out (void); TaggedComponentList *_retn (void); TaggedComponentList *ptr (void) const; - + private: TaggedComponentList *ptr_; }; @@ -854,10 +740,10 @@ TAO_NAMESPACE IOP #if !defined (_IOP_TAGGEDCOMPONENTLIST___OUT_CH_) #define _IOP_TAGGEDCOMPONENTLIST___OUT_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:753 - + // be/be_visitor_sequence/sequence_ch.cpp:753 + class TAO_Export TaggedComponentList_out { public: @@ -870,7 +756,7 @@ TAO_NAMESPACE IOP TaggedComponentList *&ptr (void); TaggedComponentList *operator-> (void); TaggedComponent & operator[] (CORBA::ULong index); - + private: TaggedComponentList *&ptr_; // Assignment from T_var not allowed. @@ -878,26 +764,26 @@ TAO_NAMESPACE IOP }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponentList; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65 + + // TAO_IDL - Generated from + // be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) #if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CH_) #define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CH_ - + class TAO_Export _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq : public TAO_Unbounded_Base_Sequence { public: _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (void); - _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (CORBA::ULong maximum); + _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (CORBA::ULong maximum); _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq ( CORBA::ULong maximum, CORBA::ULong length, @@ -911,15 +797,15 @@ TAO_NAMESPACE IOP const _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq &rhs ); virtual ~_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (void); - + // = Accessors. TaggedComponent &operator[] (CORBA::ULong i); const TaggedComponent &operator[] (CORBA::ULong i) const; - + // = Static operations. static TaggedComponent *allocbuf (CORBA::ULong size); static void freebuf (TaggedComponent *buffer); - + // Implement the TAO_Base_Sequence methods (see Sequence.h) virtual void _allocate_buffer (CORBA::ULong length); virtual void _deallocate_buffer (void); @@ -935,47 +821,47 @@ TAO_NAMESPACE IOP #endif /* end #if !defined */ -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ #if !defined (_IOP_TAGGEDCOMPONENTSEQ_CH_) #define _IOP_TAGGEDCOMPONENTSEQ_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371 - + // be/be_visitor_sequence/sequence_ch.cpp:371 + class TaggedComponentSeq; class TaggedComponentSeq_var; - + // ************************************************************* // IOP::TaggedComponentSeq // ************************************************************* - - class TAO_Export TaggedComponentSeq : public - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51 + + class TAO_Export TaggedComponentSeq : public + + // TAO_IDL - Generated from + // be/be_visitor_sequence/sequence_ch.cpp:51 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Sequence -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: TaggedComponentSeq (void); TaggedComponentSeq (CORBA::ULong max); TaggedComponentSeq ( - CORBA::ULong max, - CORBA::ULong length, - TaggedComponent *buffer, + CORBA::ULong max, + CORBA::ULong length, + TaggedComponent *buffer, CORBA::Boolean release = 0 ); TaggedComponentSeq (const TaggedComponentSeq &); ~TaggedComponentSeq (void); - + static void _tao_any_destructor (void*); - + typedef TaggedComponentSeq_var _var_type; }; @@ -983,14 +869,14 @@ TAO_NAMESPACE IOP #if !defined (_IOP_TAGGEDCOMPONENTSEQ___VAR_CH_) #define _IOP_TAGGEDCOMPONENTSEQ___VAR_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:549 - + // be/be_visitor_sequence/sequence_ch.cpp:549 + // ************************************************************* // class IOP::TaggedComponentSeq_var // ************************************************************* - + class TAO_Export TaggedComponentSeq_var { public: @@ -998,29 +884,29 @@ TAO_NAMESPACE IOP TaggedComponentSeq_var (TaggedComponentSeq *); TaggedComponentSeq_var (const TaggedComponentSeq_var &); ~TaggedComponentSeq_var (void); - + TaggedComponentSeq_var &operator= (TaggedComponentSeq *); TaggedComponentSeq_var &operator= (const TaggedComponentSeq_var &); TaggedComponentSeq *operator-> (void); const TaggedComponentSeq *operator-> (void) const; - + operator const TaggedComponentSeq &() const; operator TaggedComponentSeq &(); operator TaggedComponentSeq &() const; - + // Variable-size base types only. operator TaggedComponentSeq *&(); - + TaggedComponent & operator[] (CORBA::ULong index); const TaggedComponent & operator[] (CORBA::ULong index) const; - - // in, inout, out, _retn + + // in, inout, out, _retn const TaggedComponentSeq &in (void) const; TaggedComponentSeq &inout (void); TaggedComponentSeq *&out (void); TaggedComponentSeq *_retn (void); TaggedComponentSeq *ptr (void) const; - + private: TaggedComponentSeq *ptr_; }; @@ -1029,10 +915,10 @@ TAO_NAMESPACE IOP #if !defined (_IOP_TAGGEDCOMPONENTSEQ___OUT_CH_) #define _IOP_TAGGEDCOMPONENTSEQ___OUT_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:753 - + // be/be_visitor_sequence/sequence_ch.cpp:753 + class TAO_Export TaggedComponentSeq_out { public: @@ -1045,7 +931,7 @@ TAO_NAMESPACE IOP TaggedComponentSeq *&ptr (void); TaggedComponentSeq *operator-> (void); TaggedComponent & operator[] (CORBA::ULong index); - + private: TaggedComponentSeq *&ptr_; // Assignment from T_var not allowed. @@ -1053,125 +939,125 @@ TAO_NAMESPACE IOP }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponentSeq; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_ORB_TYPE = 0U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_CODE_SETS = 1U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_POLICIES = 2U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_ALTERNATE_IIOP_ADDRESS = 3U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_COMPLETE_OBJECT_KEY = 5U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_ENDPOINT_ID_POSITION = 6U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_LOCATION_POLICY = 12U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_DCE_STRING_BINDING = 100U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_DCE_BINDING_NAME = 101U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_DCE_NO_PIPES = 102U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334 - + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ComponentId TAG_ORB_TYPE = 0U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ComponentId TAG_CODE_SETS = 1U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ComponentId TAG_POLICIES = 2U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ComponentId TAG_ALTERNATE_IIOP_ADDRESS = 3U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ComponentId TAG_COMPLETE_OBJECT_KEY = 5U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ComponentId TAG_ENDPOINT_ID_POSITION = 6U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ComponentId TAG_LOCATION_POLICY = 12U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ComponentId TAG_DCE_STRING_BINDING = 100U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ComponentId TAG_DCE_BINDING_NAME = 101U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ComponentId TAG_DCE_NO_PIPES = 102U; + + // TAO_IDL - Generated from + // be/be_visitor_typedef/typedef_ch.cpp:333 + typedef CORBA::ULong ServiceId; typedef CORBA::ULong_out ServiceId_out; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceId; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49 - + // be/be_visitor_structure/structure_ch.cpp:49 + class ServiceContext_var; - + struct TAO_Export ServiceContext { typedef ServiceContext_var _var_type; - + static void _tao_any_destructor (void *); IOP::ServiceId context_id; - + #if !defined (_IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CH_) #define _IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371 - + // be/be_visitor_sequence/sequence_ch.cpp:371 + class _tao_seq_Octet; - + // ************************************************************* // IOP::ServiceContext::_tao_seq_Octet // ************************************************************* - - class TAO_Export _tao_seq_Octet : public - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51 + + class TAO_Export _tao_seq_Octet : public + + // TAO_IDL - Generated from + // be/be_visitor_sequence/sequence_ch.cpp:51 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) TAO_Unbounded_Sequence #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Sequence -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: _tao_seq_Octet (void); _tao_seq_Octet (CORBA::ULong max); _tao_seq_Octet ( - CORBA::ULong max, - CORBA::ULong length, - CORBA::Octet *buffer, + CORBA::ULong max, + CORBA::ULong length, + CORBA::Octet *buffer, CORBA::Boolean release = 0 ); _tao_seq_Octet (const _tao_seq_Octet &); ~_tao_seq_Octet (void); - + static void _tao_any_destructor (void*); - - + + #if (TAO_NO_COPY_OCTET_SEQUENCES == 1) _tao_seq_Octet ( CORBA::ULong length, @@ -1182,17 +1068,17 @@ TAO_NAMESPACE IOP }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_field/field_ch.cpp:447 - + // be/be_visitor_field/field_ch.cpp:447 + typedef _tao_seq_Octet _context_data_seq; _tao_seq_Octet context_data; }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71 - + // be/be_structure.cpp:71 + class TAO_Export ServiceContext_var { public: @@ -1200,33 +1086,33 @@ TAO_NAMESPACE IOP ServiceContext_var (ServiceContext *); ServiceContext_var (const ServiceContext_var &); ~ServiceContext_var (void); - + ServiceContext_var &operator= (ServiceContext *); ServiceContext_var &operator= (const ServiceContext_var &); ServiceContext *operator-> (void); const ServiceContext *operator-> (void) const; - + operator const ServiceContext &() const; operator ServiceContext &(); operator ServiceContext &() const; - + // Variable-size types only. operator ServiceContext *&(); - - // in, inout, out, _retn + + // in, inout, out, _retn const ServiceContext &in (void) const; ServiceContext &inout (void); ServiceContext *&out (void); ServiceContext *_retn (void); ServiceContext *ptr (void) const; - + private: ServiceContext *ptr_; }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:445 - + // be/be_structure.cpp:445 + class TAO_Export ServiceContext_out { public: @@ -1238,32 +1124,32 @@ TAO_NAMESPACE IOP operator ServiceContext *&(); ServiceContext *&ptr (void); ServiceContext *operator-> (void); - + private: ServiceContext *&ptr_; // Assignment from T_var not allowed. void operator= (const ServiceContext_var &); }; - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceContext; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65 + + // TAO_IDL - Generated from + // be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) #if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CH_) #define __TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CH_ - + class TAO_Export _TAO_Unbounded_Sequence_IOP_ServiceContextList : public TAO_Unbounded_Base_Sequence { public: _TAO_Unbounded_Sequence_IOP_ServiceContextList (void); - _TAO_Unbounded_Sequence_IOP_ServiceContextList (CORBA::ULong maximum); + _TAO_Unbounded_Sequence_IOP_ServiceContextList (CORBA::ULong maximum); _TAO_Unbounded_Sequence_IOP_ServiceContextList ( CORBA::ULong maximum, CORBA::ULong length, @@ -1277,15 +1163,15 @@ TAO_NAMESPACE IOP const _TAO_Unbounded_Sequence_IOP_ServiceContextList &rhs ); virtual ~_TAO_Unbounded_Sequence_IOP_ServiceContextList (void); - + // = Accessors. ServiceContext &operator[] (CORBA::ULong i); const ServiceContext &operator[] (CORBA::ULong i) const; - + // = Static operations. static ServiceContext *allocbuf (CORBA::ULong size); static void freebuf (ServiceContext *buffer); - + // Implement the TAO_Base_Sequence methods (see Sequence.h) virtual void _allocate_buffer (CORBA::ULong length); virtual void _deallocate_buffer (void); @@ -1301,47 +1187,47 @@ TAO_NAMESPACE IOP #endif /* end #if !defined */ -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ #if !defined (_IOP_SERVICECONTEXTLIST_CH_) #define _IOP_SERVICECONTEXTLIST_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371 - + // be/be_visitor_sequence/sequence_ch.cpp:371 + class ServiceContextList; class ServiceContextList_var; - + // ************************************************************* // IOP::ServiceContextList // ************************************************************* - - class TAO_Export ServiceContextList : public - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51 + + class TAO_Export ServiceContextList : public + + // TAO_IDL - Generated from + // be/be_visitor_sequence/sequence_ch.cpp:51 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IOP_ServiceContextList #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Sequence -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: ServiceContextList (void); ServiceContextList (CORBA::ULong max); ServiceContextList ( - CORBA::ULong max, - CORBA::ULong length, - ServiceContext *buffer, + CORBA::ULong max, + CORBA::ULong length, + ServiceContext *buffer, CORBA::Boolean release = 0 ); ServiceContextList (const ServiceContextList &); ~ServiceContextList (void); - + static void _tao_any_destructor (void*); - + typedef ServiceContextList_var _var_type; }; @@ -1349,14 +1235,14 @@ TAO_NAMESPACE IOP #if !defined (_IOP_SERVICECONTEXTLIST___VAR_CH_) #define _IOP_SERVICECONTEXTLIST___VAR_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:549 - + // be/be_visitor_sequence/sequence_ch.cpp:549 + // ************************************************************* // class IOP::ServiceContextList_var // ************************************************************* - + class TAO_Export ServiceContextList_var { public: @@ -1364,29 +1250,29 @@ TAO_NAMESPACE IOP ServiceContextList_var (ServiceContextList *); ServiceContextList_var (const ServiceContextList_var &); ~ServiceContextList_var (void); - + ServiceContextList_var &operator= (ServiceContextList *); ServiceContextList_var &operator= (const ServiceContextList_var &); ServiceContextList *operator-> (void); const ServiceContextList *operator-> (void) const; - + operator const ServiceContextList &() const; operator ServiceContextList &(); operator ServiceContextList &() const; - + // Variable-size base types only. operator ServiceContextList *&(); - + ServiceContext & operator[] (CORBA::ULong index); const ServiceContext & operator[] (CORBA::ULong index) const; - - // in, inout, out, _retn + + // in, inout, out, _retn const ServiceContextList &in (void) const; ServiceContextList &inout (void); ServiceContextList *&out (void); ServiceContextList *_retn (void); ServiceContextList *ptr (void) const; - + private: ServiceContextList *ptr_; }; @@ -1395,10 +1281,10 @@ TAO_NAMESPACE IOP #if !defined (_IOP_SERVICECONTEXTLIST___OUT_CH_) #define _IOP_SERVICECONTEXTLIST___OUT_CH_ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:753 - + // be/be_visitor_sequence/sequence_ch.cpp:753 + class TAO_Export ServiceContextList_out { public: @@ -1411,7 +1297,7 @@ TAO_NAMESPACE IOP ServiceContextList *&ptr (void); ServiceContextList *operator-> (void); ServiceContext & operator[] (CORBA::ULong index); - + private: ServiceContextList *&ptr_; // Assignment from T_var not allowed. @@ -1419,115 +1305,115 @@ TAO_NAMESPACE IOP }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceContextList; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TransactionService = 0U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong CodeSets = 1U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong ChainBypassCheck = 2U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong ChainBypassInfo = 3U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong LogicalThreadId = 4U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong BI_DIR_IIOP = 5U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong SendingContextRunTime = 6U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong INVOCATION_POLICIES = 7U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong UnknownExceptionInfo = 9U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong RTCorbaPriority = 10U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong RTCorbaPriorityRange = 11U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_FT_GROUP = 27U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_FT_PRIMARY = 28U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_FT_HEARTBEAT_ENABLED = 29U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong FT_GROUP_VERSION = 12U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong FT_REQUEST = 13U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_UIPMC = 1413566220U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_GROUP = 1413566211U; - - // TAO_IDL - Generated from - // C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::ULong TAG_GROUP_IIOP = 1413566212U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ServiceId TransactionService = 0U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ServiceId CodeSets = 1U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ServiceId ChainBypassCheck = 2U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ServiceId ChainBypassInfo = 3U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ServiceId LogicalThreadId = 4U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ServiceId BI_DIR_IIOP = 5U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ServiceId SendingContextRunTime = 6U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ServiceId INVOCATION_POLICIES = 7U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ServiceId UnknownExceptionInfo = 9U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ServiceId RTCorbaPriority = 10U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ServiceId RTCorbaPriorityRange = 11U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ComponentId TAG_FT_GROUP = 27U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ComponentId TAG_FT_PRIMARY = 28U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ComponentId TAG_FT_HEARTBEAT_ENABLED = 29U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ServiceId FT_GROUP_VERSION = 12U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ServiceId FT_REQUEST = 13U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ProfileId TAG_UIPMC = 1413566220U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ComponentId TAG_GROUP = 1413566211U; + + // TAO_IDL - Generated from + // be/be_visitor_constant/constant_ch.cpp:52 + + const IOP::ComponentId TAG_GROUP_IIOP = 1413566212U; // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:67 +// be/be_visitor_module/module_ch.cpp:67 } TAO_NAMESPACE_CLOSE // module IOP // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52 +// be/be_visitor_structure/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedProfile &); // copying version TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedProfile*); // noncopying version @@ -1535,7 +1421,7 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedProfile *& TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedProfile *&); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52 +// be/be_visitor_structure/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, const IOP::IOR &); // copying version TAO_Export void operator<<= (CORBA::Any &, IOP::IOR*); // noncopying version @@ -1543,7 +1429,7 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::IOR *&); // depr TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::IOR *&); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52 +// be/be_visitor_structure/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedComponent &); // copying version TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedComponent*); // noncopying version @@ -1551,7 +1437,7 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedComponent TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedComponent *&); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52 +// be/be_visitor_sequence/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, const IOP::MultipleComponentProfile &); // copying version TAO_Export void operator<<= (CORBA::Any &, IOP::MultipleComponentProfile*); // noncopying version @@ -1559,7 +1445,7 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::MultipleComponen TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::MultipleComponentProfile *&); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52 +// be/be_visitor_sequence/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedComponentList &); // copying version TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedComponentList*); // noncopying version @@ -1567,7 +1453,7 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedComponentL TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedComponentList *&); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52 +// be/be_visitor_sequence/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedComponentSeq &); // copying version TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedComponentSeq*); // noncopying version @@ -1575,7 +1461,7 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedComponentS TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedComponentSeq *&); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52 +// be/be_visitor_structure/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, const IOP::ServiceContext &); // copying version TAO_Export void operator<<= (CORBA::Any &, IOP::ServiceContext*); // noncopying version @@ -1583,7 +1469,7 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::ServiceContext * TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::ServiceContext *&); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52 +// be/be_visitor_sequence/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, const IOP::ServiceContextList &); // copying version TAO_Export void operator<<= (CORBA::Any &, IOP::ServiceContextList*); // noncopying version @@ -1591,41 +1477,24 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::ServiceContextLi TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::ServiceContextList *&); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:48 +// be/be_visitor_root/cdr_op.cpp:48 #ifndef __ACE_INLINE__ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54 +// be/be_visitor_structure/cdr_op_ch.cpp:54 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::TaggedProfile &); TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::TaggedProfile &); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57 - -#if !defined _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_H_ -#define _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_H_ - -TAO_Export CORBA::Boolean operator<< ( - TAO_OutputCDR &, - const IOP::TaggedProfile::_tao_seq_Octet & - ); -TAO_Export CORBA::Boolean operator>> ( - TAO_InputCDR &, - IOP::TaggedProfile::_tao_seq_Octet & - ); - -#endif /* _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_H_ */ - -// TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54 +// be/be_visitor_structure/cdr_op_ch.cpp:54 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::IOR &); TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::IOR &); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57 +// be/be_visitor_sequence/cdr_op_ch.cpp:57 #if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_H_ #define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_H_ @@ -1642,30 +1511,13 @@ TAO_Export CORBA::Boolean operator>> ( #endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_H_ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54 +// be/be_visitor_structure/cdr_op_ch.cpp:54 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::TaggedComponent &); TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::TaggedComponent &); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57 - -#if !defined _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_H_ -#define _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_H_ - -TAO_Export CORBA::Boolean operator<< ( - TAO_OutputCDR &, - const IOP::TaggedComponent::_tao_seq_Octet & - ); -TAO_Export CORBA::Boolean operator>> ( - TAO_InputCDR &, - IOP::TaggedComponent::_tao_seq_Octet & - ); - -#endif /* _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_H_ */ - -// TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57 +// be/be_visitor_sequence/cdr_op_ch.cpp:57 #if !defined _TAO_CDR_OP_IOP_MultipleComponentProfile_H_ #define _TAO_CDR_OP_IOP_MultipleComponentProfile_H_ @@ -1682,7 +1534,7 @@ TAO_Export CORBA::Boolean operator>> ( #endif /* _TAO_CDR_OP_IOP_MultipleComponentProfile_H_ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57 +// be/be_visitor_sequence/cdr_op_ch.cpp:57 #if !defined _TAO_CDR_OP_IOP_TaggedComponentList_H_ #define _TAO_CDR_OP_IOP_TaggedComponentList_H_ @@ -1699,7 +1551,7 @@ TAO_Export CORBA::Boolean operator>> ( #endif /* _TAO_CDR_OP_IOP_TaggedComponentList_H_ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57 +// be/be_visitor_sequence/cdr_op_ch.cpp:57 #if !defined _TAO_CDR_OP_IOP_TaggedComponentSeq_H_ #define _TAO_CDR_OP_IOP_TaggedComponentSeq_H_ @@ -1716,13 +1568,13 @@ TAO_Export CORBA::Boolean operator>> ( #endif /* _TAO_CDR_OP_IOP_TaggedComponentSeq_H_ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54 +// be/be_visitor_structure/cdr_op_ch.cpp:54 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::ServiceContext &); TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::ServiceContext &); // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57 +// be/be_visitor_sequence/cdr_op_ch.cpp:57 #if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_H_ #define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_H_ @@ -1739,7 +1591,7 @@ TAO_Export CORBA::Boolean operator>> ( #endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_H_ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57 +// be/be_visitor_sequence/cdr_op_ch.cpp:57 #if !defined _TAO_CDR_OP_IOP_ServiceContextList_H_ #define _TAO_CDR_OP_IOP_ServiceContextList_H_ @@ -1756,12 +1608,12 @@ TAO_Export CORBA::Boolean operator>> ( #endif /* _TAO_CDR_OP_IOP_ServiceContextList_H_ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:64 +// be/be_visitor_root/cdr_op.cpp:64 #endif /* __ACE_INLINE__ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:1016 +// be/be_codegen.cpp:1018 #if defined (__ACE_INLINE__) #include "IOP_IORC.i" @@ -1777,3 +1629,4 @@ TAO_Export CORBA::Boolean operator>> ( #include "ace/post.h" #endif /* ifndef */ + diff --git a/TAO/tao/IOP_IORC.i b/TAO/tao/IOP_IORC.i index a4ab051afa7..d46146e3973 100644 --- a/TAO/tao/IOP_IORC.i +++ b/TAO/tao/IOP_IORC.i @@ -21,7 +21,7 @@ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194 +// be/be_structure.cpp:194 // ************************************************************* // Inline operations for class IOP::TaggedProfile_var @@ -171,7 +171,7 @@ IOP::TaggedProfile_var::ptr (void) const } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:523 +// be/be_structure.cpp:523 // ************************************************************* // Inline operations for class IOP::TaggedProfile_out @@ -232,7 +232,7 @@ IOP::TaggedProfile_out::operator-> (void) } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194 +// be/be_structure.cpp:194 // ************************************************************* // Inline operations for class IOP::IOR_var @@ -382,7 +382,7 @@ IOP::IOR_var::ptr (void) const } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:523 +// be/be_structure.cpp:523 // ************************************************************* // Inline operations for class IOP::IOR_out @@ -443,7 +443,7 @@ IOP::IOR_out::operator-> (void) } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99 +// be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp:98 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) @@ -656,7 +656,7 @@ IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::replace ( #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194 +// be/be_structure.cpp:194 // ************************************************************* // Inline operations for class IOP::TaggedComponent_var @@ -806,7 +806,7 @@ IOP::TaggedComponent_var::ptr (void) const } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:523 +// be/be_structure.cpp:523 // ************************************************************* // Inline operations for class IOP::TaggedComponent_out @@ -867,7 +867,7 @@ IOP::TaggedComponent_out::operator-> (void) } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99 +// be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp:98 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) @@ -1083,7 +1083,7 @@ IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::replace ( #define _IOP_MULTIPLECOMPONENTPROFILE_CI_ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226 +// be/be_visitor_sequence/sequence_ci.cpp:226 // ************************************************************* // Inline operations for class IOP::MultipleComponentProfile_var @@ -1253,7 +1253,7 @@ IOP::MultipleComponentProfile_var::ptr (void) const } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:567 +// be/be_visitor_sequence/sequence_ci.cpp:566 // ************************************************************* // Inline operations for class IOP::MultipleComponentProfile_out @@ -1325,7 +1325,7 @@ IOP::MultipleComponentProfile_out::operator[] (CORBA::ULong index) #endif /* end #if !defined */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99 +// be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp:98 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) @@ -1541,7 +1541,7 @@ IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::replace ( #define _IOP_TAGGEDCOMPONENTLIST_CI_ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226 +// be/be_visitor_sequence/sequence_ci.cpp:226 // ************************************************************* // Inline operations for class IOP::TaggedComponentList_var @@ -1711,7 +1711,7 @@ IOP::TaggedComponentList_var::ptr (void) const } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:567 +// be/be_visitor_sequence/sequence_ci.cpp:566 // ************************************************************* // Inline operations for class IOP::TaggedComponentList_out @@ -1783,7 +1783,7 @@ IOP::TaggedComponentList_out::operator[] (CORBA::ULong index) #endif /* end #if !defined */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99 +// be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp:98 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) @@ -1999,7 +1999,7 @@ IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::replace ( #define _IOP_TAGGEDCOMPONENTSEQ_CI_ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226 +// be/be_visitor_sequence/sequence_ci.cpp:226 // ************************************************************* // Inline operations for class IOP::TaggedComponentSeq_var @@ -2169,7 +2169,7 @@ IOP::TaggedComponentSeq_var::ptr (void) const } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:567 +// be/be_visitor_sequence/sequence_ci.cpp:566 // ************************************************************* // Inline operations for class IOP::TaggedComponentSeq_out @@ -2241,7 +2241,7 @@ IOP::TaggedComponentSeq_out::operator[] (CORBA::ULong index) #endif /* end #if !defined */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194 +// be/be_structure.cpp:194 // ************************************************************* // Inline operations for class IOP::ServiceContext_var @@ -2391,7 +2391,7 @@ IOP::ServiceContext_var::ptr (void) const } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:523 +// be/be_structure.cpp:523 // ************************************************************* // Inline operations for class IOP::ServiceContext_out @@ -2452,7 +2452,7 @@ IOP::ServiceContext_out::operator-> (void) } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99 +// be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp:98 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) @@ -2668,7 +2668,7 @@ IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::replace ( #define _IOP_SERVICECONTEXTLIST_CI_ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226 +// be/be_visitor_sequence/sequence_ci.cpp:226 // ************************************************************* // Inline operations for class IOP::ServiceContextList_var @@ -2838,7 +2838,7 @@ IOP::ServiceContextList_var::ptr (void) const } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:567 +// be/be_visitor_sequence/sequence_ci.cpp:566 // ************************************************************* // Inline operations for class IOP::ServiceContextList_out @@ -2910,25 +2910,7 @@ IOP::ServiceContextList_out::operator[] (CORBA::ULong index) #endif /* end #if !defined */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84 - -#if !defined _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_I_ -#define _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_I_ - -CORBA::Boolean TAO_Export operator<< ( - TAO_OutputCDR &, - const IOP::TaggedProfile::_tao_seq_Octet & - ); - -CORBA::Boolean TAO_Export operator>> ( - TAO_InputCDR &, - IOP::TaggedProfile::_tao_seq_Octet & - ); - -#endif /* _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_I_ */ - -// TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:71 +// be/be_visitor_structure/cdr_op_ci.cpp:71 ACE_INLINE CORBA::Boolean operator<< ( @@ -2969,7 +2951,7 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84 +// be/be_visitor_sequence/cdr_op_ci.cpp:84 #if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_I_ #define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_I_ @@ -2987,7 +2969,7 @@ CORBA::Boolean TAO_Export operator>> ( #endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_I_ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:71 +// be/be_visitor_structure/cdr_op_ci.cpp:71 ACE_INLINE CORBA::Boolean operator<< ( @@ -3028,25 +3010,7 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84 - -#if !defined _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_I_ -#define _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_I_ - -CORBA::Boolean TAO_Export operator<< ( - TAO_OutputCDR &, - const IOP::TaggedComponent::_tao_seq_Octet & - ); - -CORBA::Boolean TAO_Export operator>> ( - TAO_InputCDR &, - IOP::TaggedComponent::_tao_seq_Octet & - ); - -#endif /* _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_I_ */ - -// TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:71 +// be/be_visitor_structure/cdr_op_ci.cpp:71 ACE_INLINE CORBA::Boolean operator<< ( @@ -3087,7 +3051,7 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84 +// be/be_visitor_sequence/cdr_op_ci.cpp:84 #if !defined _TAO_CDR_OP_IOP_MultipleComponentProfile_I_ #define _TAO_CDR_OP_IOP_MultipleComponentProfile_I_ @@ -3105,7 +3069,7 @@ CORBA::Boolean TAO_Export operator>> ( #endif /* _TAO_CDR_OP_IOP_MultipleComponentProfile_I_ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84 +// be/be_visitor_sequence/cdr_op_ci.cpp:84 #if !defined _TAO_CDR_OP_IOP_TaggedComponentList_I_ #define _TAO_CDR_OP_IOP_TaggedComponentList_I_ @@ -3123,7 +3087,7 @@ CORBA::Boolean TAO_Export operator>> ( #endif /* _TAO_CDR_OP_IOP_TaggedComponentList_I_ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84 +// be/be_visitor_sequence/cdr_op_ci.cpp:84 #if !defined _TAO_CDR_OP_IOP_TaggedComponentSeq_I_ #define _TAO_CDR_OP_IOP_TaggedComponentSeq_I_ @@ -3141,7 +3105,7 @@ CORBA::Boolean TAO_Export operator>> ( #endif /* _TAO_CDR_OP_IOP_TaggedComponentSeq_I_ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84 +// be/be_visitor_sequence/cdr_op_ci.cpp:84 #if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_I_ #define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_I_ @@ -3159,7 +3123,7 @@ CORBA::Boolean TAO_Export operator>> ( #endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_I_ */ // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:71 +// be/be_visitor_structure/cdr_op_ci.cpp:71 ACE_INLINE CORBA::Boolean operator<< ( @@ -3200,7 +3164,7 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// C:\work\ACE+TAO\Branch\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84 +// be/be_visitor_sequence/cdr_op_ci.cpp:84 #if !defined _TAO_CDR_OP_IOP_ServiceContextList_I_ #define _TAO_CDR_OP_IOP_ServiceContextList_I_ -- cgit v1.2.1